Searched refs:GrammarAnnotator (Results 1 – 7 of 7) sorted by relevance
79 GrammarAnnotator::GrammarAnnotator( in GrammarAnnotator() function in libtextclassifier3::GrammarAnnotator89 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()
66 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()
23 GrammarAnnotator GrammarAnnotatorTest::CreateGrammarAnnotator( in CreateGrammarAnnotator()25 return GrammarAnnotator( in CreateGrammarAnnotator()
36 class GrammarAnnotator {38 explicit GrammarAnnotator(
62 GrammarAnnotator CreateGrammarAnnotator(
455 std::unique_ptr<const GrammarAnnotator> grammar_annotator_;
480 grammar_annotator_.reset(new GrammarAnnotator( in ValidateAndInitialize()