Home
last modified time | relevance | path

Searched refs:duration_annotator_ (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/annotator/duration/
Dduration_test.cc109 duration_annotator_(TestingDurationAnnotatorOptions(), in DurationAnnotatorTest()
118 DurationAnnotator duration_annotator_; member in libtextclassifier3::__anoncdfecbf10111::DurationAnnotatorTest
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()
154 EXPECT_TRUE(duration_annotator_.FindAll( in TEST_F()
173 EXPECT_TRUE(duration_annotator_.FindAll( in TEST_F()
192 EXPECT_TRUE(duration_annotator_.FindAll( in TEST_F()
211 EXPECT_TRUE(duration_annotator_.FindAll( in TEST_F()
230 EXPECT_TRUE(duration_annotator_.FindAll( in TEST_F()
[all …]
/external/libtextclassifier/native/annotator/
Dannotator.cc474 duration_annotator_.reset( in ValidateAndInitialize()
932 if (duration_annotator_ != nullptr && in SuggestSelection()
933 !duration_annotator_->FindAll(context_unicode, tokens, in SuggestSelection()
1850 if (duration_annotator_ && in ClassifyText()
1851 duration_annotator_->ClassifyText(context_unicode, selection_indices, in ClassifyText()
2264 if (duration_annotations_enabled && duration_annotator_ != nullptr && in AnnotateSingleInput()
2265 !duration_annotator_->FindAll(context_unicode, tokens, in AnnotateSingleInput()
Dannotator.h532 std::unique_ptr<const DurationAnnotator> duration_annotator_; variable