Searched refs:IcuNormalizer (Results 1 – 3 of 3) sorted by relevance
106 libtextclassifier3::StatusOr<std::unique_ptr<IcuNormalizer>>107 IcuNormalizer::Create(int max_term_byte_size) { in Create()109 std::unique_ptr<IcuNormalizer::TermTransformer> term_transformer, in Create()110 IcuNormalizer::TermTransformer::Create()); in Create()112 return std::unique_ptr<IcuNormalizer>( in Create()113 new IcuNormalizer(std::move(term_transformer), max_term_byte_size)); in Create()116 IcuNormalizer::IcuNormalizer( in IcuNormalizer() function in icing::lib::IcuNormalizer117 std::unique_ptr<IcuNormalizer::TermTransformer> term_transformer, in IcuNormalizer()122 std::string IcuNormalizer::NormalizeTerm(const std::string_view term) const { in NormalizeTerm()156 std::string IcuNormalizer::NormalizeLatin(const UNormalizer2* normalizer2, in NormalizeLatin()[all …]
40 class IcuNormalizer : public Normalizer {50 static libtextclassifier3::StatusOr<std::unique_ptr<IcuNormalizer>> Create(86 explicit IcuNormalizer(std::unique_ptr<TermTransformer> term_transformer,
44 return IcuNormalizer::Create(max_term_byte_size); in Create()