Home
last modified time | relevance | path

Searched refs:GetAllTerms (Results 1 – 8 of 8) sorted by relevance

/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter_test.cc133 EXPECT_THAT(language_segmenter->GetAllTerms(""), IsOkAndHolds(IsEmpty())); in TEST_P()
141 EXPECT_THAT(language_segmenter->GetAllTerms("Hello World"), in TEST_P()
152 language_segmenter->GetAllTerms("Hello, World!!!"), in TEST_P()
154 EXPECT_THAT(language_segmenter->GetAllTerms("Open-source project"), in TEST_P()
156 EXPECT_THAT(language_segmenter->GetAllTerms("100%"), in TEST_P()
158 EXPECT_THAT(language_segmenter->GetAllTerms("A&B"), in TEST_P()
168 EXPECT_THAT(language_segmenter->GetAllTerms("Pay $1000"), in TEST_P()
170 EXPECT_THAT(language_segmenter->GetAllTerms("A+B"), in TEST_P()
175 EXPECT_THAT(language_segmenter->GetAllTerms(text_with_tab), in TEST_P()
187 EXPECT_THAT(language_segmenter->GetAllTerms("。?·Hello!×"), in TEST_P()
[all …]
Dreverse-jni-language-segmenter.h39 libtextclassifier3::StatusOr<std::vector<std::string_view>> GetAllTerms(
Dreverse-jni-language-segmenter.cc326 ReverseJniLanguageSegmenter::GetAllTerms(const std::string_view text) const { in GetAllTerms() function in icing::lib::ReverseJniLanguageSegmenter
/external/icing/icing/tokenization/icu/
Dicu-language-segmenter_test.cc139 EXPECT_THAT(language_segmenter->GetAllTerms(""), IsOkAndHolds(IsEmpty())); in TEST_P()
147 EXPECT_THAT(language_segmenter->GetAllTerms("Hello World"), in TEST_P()
158 language_segmenter->GetAllTerms("Hello, World!!!"), in TEST_P()
160 EXPECT_THAT(language_segmenter->GetAllTerms("Open-source project"), in TEST_P()
162 EXPECT_THAT(language_segmenter->GetAllTerms("100%"), in TEST_P()
164 EXPECT_THAT(language_segmenter->GetAllTerms("A&B"), in TEST_P()
174 EXPECT_THAT(language_segmenter->GetAllTerms("Pay $1000"), in TEST_P()
176 EXPECT_THAT(language_segmenter->GetAllTerms("A+B"), in TEST_P()
181 EXPECT_THAT(language_segmenter->GetAllTerms(text_with_tab), in TEST_P()
193 EXPECT_THAT(language_segmenter->GetAllTerms("。?·Hello!×"), in TEST_P()
[all …]
Dicu-language-segmenter.h68 libtextclassifier3::StatusOr<std::vector<std::string_view>> GetAllTerms(
Dicu-language-segmenter.cc351 IcuLanguageSegmenter::GetAllTerms(const std::string_view text) const { in GetAllTerms() function in icing::lib::IcuLanguageSegmenter
/external/icing/icing/tokenization/
Dlanguage-segmenter.h180 GetAllTerms(std::string_view text) const = 0;
Draw-query-tokenizer.cc542 language_segmenter->GetAllTerms(*current_term)); in ProcessTerm()
605 language_segmenter->GetAllTerms(prescanned_term.second)); in ProcessTerms()