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.cc139 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F()
151 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F()
158 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F()
172 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F()
175 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F()
183 EXPECT_TRUE(number_annotator_.ClassifyText( in TEST_F()
196 EXPECT_TRUE(number_annotator_.FindAll( in TEST_F()
222 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F()
225 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F()
228 EXPECT_FALSE(number_annotator_.ClassifyText( in TEST_F()
[all …]
Dnumber_test-include.h33 number_annotator_(TestingNumberAnnotatorOptions(enabled_modes), in unilib_()
40 NumberAnnotator number_annotator_; variable
/external/libtextclassifier/native/annotator/
Dannotator.cc470 number_annotator_.reset( in ValidateAndInitialize()
947 if (number_annotator_ != nullptr && in SuggestSelection()
948 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in SuggestSelection()
1867 if (number_annotator_ && in ClassifyText()
1868 number_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
2260 if (number_annotations_enabled && number_annotator_ != nullptr && in AnnotateSingleInput()
2261 !number_annotator_->FindAll(context_unicode, options.annotation_usecase, in AnnotateSingleInput()
Dannotator.h534 std::unique_ptr<const NumberAnnotator> number_annotator_; variable