Home
last modified time | relevance | path

Searched refs:grammar_rules (Results 1 – 6 of 6) sorted by relevance

/external/libtextclassifier/native/actions/
Dgrammar-actions.cc29 const UniLib* unilib, const RulesModel_::GrammarRules* grammar_rules, in GrammarActions() argument
33 grammar_rules_(grammar_rules), in GrammarActions()
34 tokenizer_(CreateTokenizer(grammar_rules->tokenizer_options(), unilib)), in GrammarActions()
36 analyzer_(unilib, grammar_rules->rules(), tokenizer_.get()), in GrammarActions()
Dgrammar-actions.h39 const RulesModel_::GrammarRules* grammar_rules,
Dactions-suggestions.cc324 model_->rules()->grammar_rules() != nullptr) { in ValidateAndInitialize()
326 unilib_, model_->rules()->grammar_rules(), entity_data_builder_.get(), in ValidateAndInitialize()
331 ->grammar_rules() in ValidateAndInitialize()
1081 ((model_->rules() && model_->rules()->grammar_rules() && in AnnotateConversation()
1083 ->grammar_rules() in AnnotateConversation()
Dgrammar-actions_test.cc45 const UniLib* unilib, const RulesModel_::GrammarRules* grammar_rules, in TestGrammarActions() argument
47 : GrammarActions(unilib, grammar_rules, entity_data_builder, in TestGrammarActions()
Dactions-suggestions_test.cc1063 actions_model->rules->grammar_rules.reset(new RulesModel_::GrammarRulesT); in TEST_F()
1067 actions_model->rules->grammar_rules.get(); in TEST_F()
1125 actions_model->rules->grammar_rules.reset(new RulesModel_::GrammarRulesT); in TEST_F()
1129 actions_model->rules->grammar_rules.get(); in TEST_F()
Dactions_model.fbs508 grammar_rules:RulesModel_.GrammarRules;