Home
last modified time | relevance | path

Searched refs:SuggestSelection (Results 1 – 12 of 12) sorted by relevance

/external/libtextclassifier/native/annotator/
Dannotator_test-include.cc585 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 …]
Dannotator.h189 CodepointSpan SuggestSelection(
Dannotator.cc806 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()
Dmodel.fbs563 // Global switch that controls if SuggestSelection(), ClassifyText() and
572 // Global configuration for the output of SuggestSelection(), ClassifyText()
Dannotator_jni.cc639 model->SuggestSelection(context_utf8, input_indices, selection_options); in TC3_JNI_METHOD()
/external/libtextclassifier/native/annotator/experimental/
Dexperimental-dummy.h45 AnnotatedSpan SuggestSelection(const UnicodeText& context, in SuggestSelection() function
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator_test.cc342 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()
Dgrammar-annotator.h55 bool SuggestSelection(const std::vector<Locale>& locales,
Dgrammar-annotator.cc227 bool GrammarAnnotator::SuggestSelection(const std::vector<Locale>& locales, in SuggestSelection() function in libtextclassifier3::GrammarAnnotator
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl_test.cc505 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()
Dpod-ner-impl.h46 bool SuggestSelection(const UnicodeText &context, CodepointSpan click,
Dpod-ner-impl.cc461 bool PodNerAnnotator::SuggestSelection(const UnicodeText &context, in SuggestSelection() function in libtextclassifier3::PodNerAnnotator