/external/libtextclassifier/native/annotator/number/ |
D | number_test-include.cc | 118 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F() 129 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F() 143 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F() 146 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F() 154 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F() 193 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F() 196 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F() 199 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F() 207 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F() 214 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F() [all …]
|
D | number.h | 55 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
D | number.cc | 31 bool NumberAnnotator::ClassifyText( in ClassifyText() function in libtextclassifier3::NumberAnnotator
|
/external/libtextclassifier/native/annotator/ |
D | annotator_test-include.cc | 90 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 92 EXPECT_EQ("phone", FirstResult(classifier->ClassifyText( in VerifyClassifyText() 97 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 102 FirstResult(classifier->ClassifyText( in VerifyClassifyText() 108 EXPECT_EQ("other", FirstResult(classifier->ClassifyText("obama", {0, 5}))); in VerifyClassifyText() 109 EXPECT_EQ("other", FirstResult(classifier->ClassifyText("asdf", {0, 4}))); in VerifyClassifyText() 112 classifier->ClassifyText("", {0, 0}); in VerifyClassifyText() 113 classifier->ClassifyText("asdf", {0, 0}); in VerifyClassifyText() 114 classifier->ClassifyText("asdf", {0, 27}); in VerifyClassifyText() 115 classifier->ClassifyText("asdf", {-30, 300}); in VerifyClassifyText() [all …]
|
D | annotator.cc | 1720 std::vector<ClassificationResult> Annotator::ClassifyText( in ClassifyText() function in libtextclassifier3::Annotator 1777 ->ClassifyText(context, selection_indices, options.annotation_usecase, in ClassifyText() 1790 if (contact_engine_ && contact_engine_->ClassifyText( in ClassifyText() 1798 person_name_engine_->ClassifyText(context, selection_indices, in ClassifyText() 1808 installed_app_engine_->ClassifyText(context, selection_indices, in ClassifyText() 1842 number_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText() 1851 duration_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText() 1861 translate_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText() 1869 if (grammar_annotator_ && grammar_annotator_->ClassifyText( in ClassifyText() 1877 pod_ner_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText() [all …]
|
D | annotator.h | 195 std::vector<ClassificationResult> ClassifyText(
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate_test.cc | 77 EXPECT_TRUE(translate_annotator_.ClassifyText( in TEST_F() 95 EXPECT_TRUE(translate_annotator_.ClassifyText(UTF8ToUnicodeText("学校"), in TEST_F() 116 EXPECT_FALSE(translate_annotator_.ClassifyText( in TEST_F() 124 EXPECT_TRUE(translate_annotator_.ClassifyText( in TEST_F() 135 EXPECT_FALSE(translate_annotator_.ClassifyText( in TEST_F()
|
D | translate.h | 39 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
D | translate.cc | 32 bool TranslateAnnotator::ClassifyText( in ClassifyText() function in libtextclassifier3::TranslateAnnotator
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator_test.cc | 187 EXPECT_TRUE(annotator.ClassifyText( in TEST_F() 242 EXPECT_FALSE(annotator.ClassifyText( in TEST_F() 246 EXPECT_FALSE(annotator.ClassifyText( in TEST_F() 251 EXPECT_TRUE(annotator.ClassifyText( in TEST_F() 303 EXPECT_TRUE(annotator.ClassifyText( in TEST_F() 310 EXPECT_FALSE(annotator.ClassifyText( in TEST_F() 538 annotator.ClassifyText(locales, text, CodepointSpan{11, 16}, &result)); in TEST_F() 543 annotator.ClassifyText(locales, text, CodepointSpan{51, 57}, &result)); in TEST_F() 548 annotator.ClassifyText(locales, text, CodepointSpan{76, 82}, &result)); in TEST_F()
|
D | grammar-annotator.h | 49 bool ClassifyText(const std::vector<Locale>& locales, const UnicodeText& text,
|
D | grammar-annotator.cc | 267 bool GrammarAnnotator::ClassifyText( in ClassifyText() function in libtextclassifier3::GrammarAnnotator
|
/external/libtextclassifier/native/annotator/person_name/ |
D | person-name-engine-dummy.h | 43 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() function
|
/external/libtextclassifier/native/annotator/installed_app/ |
D | installed-app-engine-dummy.h | 42 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() function
|
/external/libtextclassifier/native/annotator/experimental/ |
D | experimental-dummy.h | 50 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices, in ClassifyText() function
|
/external/libtextclassifier/native/annotator/contact/ |
D | contact-engine-dummy.h | 44 bool ClassifyText(const std::string& context, CodepointSpan selection_indices, in ClassifyText() function
|
/external/libtextclassifier/native/annotator/vocab/ |
D | vocab-annotator-impl.h | 43 bool ClassifyText(const UnicodeText &context, CodepointSpan click,
|
D | vocab-annotator-impl.cc | 78 bool VocabAnnotator::ClassifyText( in ClassifyText() function in libtextclassifier3::VocabAnnotator
|
/external/libtextclassifier/native/annotator/knowledge/ |
D | knowledge-engine-dummy.h | 40 Status ClassifyText(const std::string& text, CodepointSpan selection_indices, in ClassifyText() function
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.h | 49 bool ClassifyText(const UnicodeText &context, CodepointSpan click,
|
D | pod-ner-impl_test.cc | 534 ASSERT_TRUE(annotator->ClassifyText(UTF8ToUnicodeText("We met in New York"), in TEST_F()
|
D | pod-ner-impl.cc | 490 bool PodNerAnnotator::ClassifyText(const UnicodeText &context, in ClassifyText() function in libtextclassifier3::PodNerAnnotator
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration_test.cc | 123 EXPECT_TRUE(duration_annotator_.ClassifyText( in TEST_F() 134 EXPECT_TRUE(duration_annotator_.ClassifyText( in TEST_F() 145 EXPECT_FALSE(duration_annotator_.ClassifyText( in TEST_F() 371 EXPECT_TRUE(duration_annotator_.ClassifyText( in TEST_F()
|
D | duration.h | 84 bool ClassifyText(const UnicodeText& context, CodepointSpan selection_indices,
|
D | duration.cc | 124 bool DurationAnnotator::ClassifyText( in ClassifyText() function in libtextclassifier3::DurationAnnotator
|