/external/icing/icing/transform/icu/ |
D | icu-normalizer_test.cc | 60 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 …]
|
D | icu-normalizer_benchmark.cc | 69 normalizer->NormalizeTerm(input_string); in BM_NormalizeUppercase() 107 normalizer->NormalizeTerm(input_string); in BM_NormalizeAccent() 145 normalizer->NormalizeTerm(input_string); in BM_NormalizeHiragana()
|
D | icu-normalizer.h | 57 std::string NormalizeTerm(std::string_view term) const override;
|
D | icu-normalizer.cc | 122 std::string IcuNormalizer::NormalizeTerm(const std::string_view term) const { in NormalizeTerm() function in icing::lib::IcuNormalizer
|
/external/icing/icing/transform/map/ |
D | map-normalizer_test.cc | 50 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 …]
|
D | map-normalizer_benchmark.cc | 54 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()
|
D | map-normalizer.h | 40 std::string NormalizeTerm(std::string_view term) const override;
|
D | map-normalizer.cc | 33 std::string MapNormalizer::NormalizeTerm(std::string_view term) const { in NormalizeTerm() function in icing::lib::MapNormalizer
|
/external/icing/icing/transform/simple/ |
D | none-normalizer_test.cc | 44 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()
|
D | none-normalizer.h | 36 std::string NormalizeTerm(std::string_view term) const override { in NormalizeTerm() function
|
/external/icing/icing/transform/ |
D | normalizer.h | 41 virtual std::string NormalizeTerm(std::string_view term) const = 0;
|
/external/icing/icing/index/ |
D | index-processor.cc | 93 std::string term = normalizer_.NormalizeTerm(token); in IndexDocument()
|
/external/icing/icing/result/ |
D | snippet-retriever.cc | 95 std::string s = normalizer_.NormalizeTerm(token.text); in Matches() 117 std::string s = normalizer_.NormalizeTerm(token.text); in Matches()
|
/external/icing/icing/query/ |
D | query-processor.cc | 232 std::string normalized_text = normalizer_.NormalizeTerm(token.text); in ParseRawQuery()
|