Home
last modified time | relevance | path

Searched refs:number_annotator_ (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/annotator/number/
Dnumber_test-include.cc118 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()
167 EXPECT_TRUE(number_annotator_.FindAll( 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()
[all …]
Dnumber_test-include.h31 number_annotator_(TestingNumberAnnotatorOptions(), unilib_.get()) {} in NumberAnnotatorTest()
36 NumberAnnotator number_annotator_; variable
/external/libtextclassifier/native/annotator/
Dannotator.cc463 number_annotator_.reset( in ValidateAndInitialize()
926 if (number_annotator_ != nullptr && in SuggestSelection()
927 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in SuggestSelection()
1841 if (number_annotator_ && in ClassifyText()
1842 number_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
2254 if (number_annotations_enabled && number_annotator_ != nullptr && in AnnotateSingleInput()
2255 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in AnnotateSingleInput()
Dannotator.h531 std::unique_ptr<const NumberAnnotator> number_annotator_; variable