/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 585 EXPECT_EQ(classifier->SuggestSelection( in TEST_F() 588 EXPECT_EQ(classifier->SuggestSelection( in TEST_F() 591 EXPECT_EQ(classifier->SuggestSelection("cc: 4012 8888 8888 1881", {9, 14}), in TEST_F() 631 EXPECT_EQ(classifier->SuggestSelection("it's from 04/30/1789 to 03/04/1797", in TEST_F() 634 EXPECT_EQ(classifier->SuggestSelection("it takes for ever", {9, 12}), in TEST_F() 661 classifier->SuggestSelection( in TEST_F() 690 classifier->SuggestSelection( in TEST_F() 906 TEST_F(AnnotatorTest, SuggestSelection) { in TEST_F() argument 911 EXPECT_EQ(classifier->SuggestSelection( in TEST_F() 918 classifier->SuggestSelection("350 Third Street, Cambridge", {0, 27}), in TEST_F() [all …]
|
D | annotator.h | 189 CodepointSpan SuggestSelection(
|
D | annotator.cc | 806 CodepointSpan Annotator::SuggestSelection( in SuggestSelection() function in libtextclassifier3::Annotator 948 grammar_annotator_->SuggestSelection(detected_text_language_tags, in SuggestSelection() 956 pod_ner_annotator_->SuggestSelection(context_unicode, click_indices, in SuggestSelection() 963 experimental_annotator_->SuggestSelection(context_unicode, in SuggestSelection()
|
D | model.fbs | 563 // Global switch that controls if SuggestSelection(), ClassifyText() and 572 // Global configuration for the output of SuggestSelection(), ClassifyText()
|
D | annotator_jni.cc | 639 model->SuggestSelection(context_utf8, input_indices, selection_options); in TC3_JNI_METHOD()
|
/external/libtextclassifier/native/annotator/experimental/ |
D | experimental-dummy.h | 45 AnnotatedSpan SuggestSelection(const UnicodeText& context, in SuggestSelection() function
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator_test.cc | 342 EXPECT_TRUE(annotator.SuggestSelection( in TEST_F() 515 EXPECT_TRUE(annotator.SuggestSelection(locales, text, in TEST_F() 521 EXPECT_TRUE(annotator.SuggestSelection(locales, text, in TEST_F() 527 EXPECT_FALSE(annotator.SuggestSelection(locales, text, in TEST_F()
|
D | grammar-annotator.h | 55 bool SuggestSelection(const std::vector<Locale>& locales,
|
D | grammar-annotator.cc | 227 bool GrammarAnnotator::SuggestSelection(const std::vector<Locale>& locales, in SuggestSelection() function in libtextclassifier3::GrammarAnnotator
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl_test.cc | 505 EXPECT_TRUE(annotator->SuggestSelection(UTF8ToUnicodeText(long_text), in TEST_F() 518 EXPECT_TRUE(annotator->SuggestSelection( in TEST_F() 522 EXPECT_FALSE(annotator->SuggestSelection( in TEST_F() 550 EXPECT_TRUE(annotator->SuggestSelection( in TEST_F()
|
D | pod-ner-impl.h | 46 bool SuggestSelection(const UnicodeText &context, CodepointSpan click,
|
D | pod-ner-impl.cc | 461 bool PodNerAnnotator::SuggestSelection(const UnicodeText &context, in SuggestSelection() function in libtextclassifier3::PodNerAnnotator
|