Home
last modified time | relevance | path

Searched refs:GrammarAnnotator (Results 1 – 7 of 7) sorted by relevance

/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc79 GrammarAnnotator::GrammarAnnotator( in GrammarAnnotator() function in libtextclassifier3::GrammarAnnotator
89 std::vector<grammar::Derivation> GrammarAnnotator::OverlappingDerivations( in OverlappingDerivations()
115 bool GrammarAnnotator::InstantiateAnnotatedSpanFromDerivation( in InstantiateAnnotatedSpanFromDerivation()
131 bool GrammarAnnotator::InstantiateClassificationFromDerivation( in InstantiateClassificationFromDerivation()
201 bool GrammarAnnotator::Annotate(const std::vector<Locale>& locales, in Annotate()
227 bool GrammarAnnotator::SuggestSelection(const std::vector<Locale>& locales, in SuggestSelection()
267 bool GrammarAnnotator::ClassifyText( in ClassifyText()
Dgrammar-annotator_test.cc66 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
109 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
152 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
184 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
240 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
300 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
339 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
377 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
435 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
496 GrammarAnnotator annotator(CreateGrammarAnnotator(serialized_model)); in TEST_F()
Dtest-utils.cc23 GrammarAnnotator GrammarAnnotatorTest::CreateGrammarAnnotator( in CreateGrammarAnnotator()
25 return GrammarAnnotator( in CreateGrammarAnnotator()
Dgrammar-annotator.h36 class GrammarAnnotator {
38 explicit GrammarAnnotator(
Dtest-utils.h62 GrammarAnnotator CreateGrammarAnnotator(
/external/libtextclassifier/native/annotator/
Dannotator.h455 std::unique_ptr<const GrammarAnnotator> grammar_annotator_;
Dannotator.cc480 grammar_annotator_.reset(new GrammarAnnotator( in ValidateAndInitialize()