Home
last modified time | relevance | path

Searched refs:NormalizeTerm (Results 1 – 14 of 14) sorted by relevance

/external/icing/icing/transform/icu/
Dicu-normalizer_test.cc60 EXPECT_THAT(normalizer_->NormalizeTerm(""), Eq("")); in TEST_F()
61 EXPECT_THAT(normalizer_->NormalizeTerm("hello world"), Eq("hello world")); in TEST_F()
62 EXPECT_THAT(normalizer_->NormalizeTerm("你好"), Eq("你好")); in TEST_F()
63 EXPECT_THAT(normalizer_->NormalizeTerm("キャンパス"), Eq("キャンパス")); in TEST_F()
64 EXPECT_THAT(normalizer_->NormalizeTerm("안녕하세요"), Eq("안녕하세요")); in TEST_F()
68 EXPECT_THAT(normalizer_->NormalizeTerm("MDI"), Eq("mdi")); in TEST_F()
69 EXPECT_THAT(normalizer_->NormalizeTerm("Icing"), Eq("icing")); in TEST_F()
73 EXPECT_THAT(normalizer_->NormalizeTerm("Zürich"), Eq("zurich")); in TEST_F()
74 EXPECT_THAT(normalizer_->NormalizeTerm("après-midi"), Eq("apres-midi")); in TEST_F()
75 EXPECT_THAT(normalizer_->NormalizeTerm("Buenos días"), Eq("buenos dias")); in TEST_F()
[all …]
Dicu-normalizer_benchmark.cc69 normalizer->NormalizeTerm(input_string); in BM_NormalizeUppercase()
107 normalizer->NormalizeTerm(input_string); in BM_NormalizeAccent()
145 normalizer->NormalizeTerm(input_string); in BM_NormalizeHiragana()
Dicu-normalizer.h57 std::string NormalizeTerm(std::string_view term) const override;
Dicu-normalizer.cc122 std::string IcuNormalizer::NormalizeTerm(const std::string_view term) const { in NormalizeTerm() function in icing::lib::IcuNormalizer
/external/icing/icing/transform/map/
Dmap-normalizer_test.cc50 EXPECT_THAT(normalizer->NormalizeTerm(""), Eq("")); in TEST()
51 EXPECT_THAT(normalizer->NormalizeTerm("hello world"), Eq("hello world")); in TEST()
52 EXPECT_THAT(normalizer->NormalizeTerm("你好"), Eq("你好")); in TEST()
53 EXPECT_THAT(normalizer->NormalizeTerm("キャンパス"), Eq("キャンパス")); in TEST()
54 EXPECT_THAT(normalizer->NormalizeTerm("안녕하세요"), Eq("안녕하세요")); in TEST()
61 EXPECT_THAT(normalizer->NormalizeTerm("MDI"), Eq("mdi")); in TEST()
62 EXPECT_THAT(normalizer->NormalizeTerm("Icing"), Eq("icing")); in TEST()
69 EXPECT_THAT(normalizer->NormalizeTerm("Zürich"), Eq("zurich")); in TEST()
70 EXPECT_THAT(normalizer->NormalizeTerm("après-midi"), Eq("apres-midi")); in TEST()
71 EXPECT_THAT(normalizer->NormalizeTerm("Buenos días"), Eq("buenos dias")); in TEST()
[all …]
Dmap-normalizer_benchmark.cc54 normalizer->NormalizeTerm(input_string); in BM_NormalizeUppercase()
57 normalizer->NormalizeTerm(input_string); in BM_NormalizeUppercase()
89 normalizer->NormalizeTerm(input_string); in BM_NormalizeAccent()
92 normalizer->NormalizeTerm(input_string); in BM_NormalizeAccent()
124 normalizer->NormalizeTerm(input_string); in BM_NormalizeHiragana()
127 normalizer->NormalizeTerm(input_string); in BM_NormalizeHiragana()
Dmap-normalizer.h40 std::string NormalizeTerm(std::string_view term) const override;
Dmap-normalizer.cc33 std::string MapNormalizer::NormalizeTerm(std::string_view term) const { in NormalizeTerm() function in icing::lib::MapNormalizer
/external/icing/icing/transform/simple/
Dnone-normalizer_test.cc44 EXPECT_THAT(normalizer->NormalizeTerm(""), Eq("")); in TEST()
45 EXPECT_THAT(normalizer->NormalizeTerm("hello world"), Eq("hello world")); in TEST()
48 EXPECT_THAT(normalizer->NormalizeTerm("MDI"), Eq("MDI")); in TEST()
51 EXPECT_THAT(normalizer->NormalizeTerm("Zürich"), Eq("Zürich")); in TEST()
54 EXPECT_THAT(normalizer->NormalizeTerm("。,!?:”"), Eq("。,!?:”")); in TEST()
57 EXPECT_THAT(normalizer->NormalizeTerm("カ"), Eq("カ")); in TEST()
65 EXPECT_THAT(normalizer->NormalizeTerm("hi"), Eq("hi")); in TEST()
66 EXPECT_THAT(normalizer->NormalizeTerm("hello"), Eq("hello")); in TEST()
69 EXPECT_THAT(normalizer->NormalizeTerm("hello!"), Eq("hello")); in TEST()
Dnone-normalizer.h36 std::string NormalizeTerm(std::string_view term) const override { in NormalizeTerm() function
/external/icing/icing/transform/
Dnormalizer.h41 virtual std::string NormalizeTerm(std::string_view term) const = 0;
/external/icing/icing/index/
Dindex-processor.cc93 std::string term = normalizer_.NormalizeTerm(token); in IndexDocument()
/external/icing/icing/result/
Dsnippet-retriever.cc95 std::string s = normalizer_.NormalizeTerm(token.text); in Matches()
117 std::string s = normalizer_.NormalizeTerm(token.text); in Matches()
/external/icing/icing/query/
Dquery-processor.cc232 std::string normalized_text = normalizer_.NormalizeTerm(token.text); in ParseRawQuery()