Home
last modified time | relevance | path

Searched refs:rule_match (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/actions/
Dgrammar-actions.cc43 const RulesModel_::GrammarRules_::RuleMatch* rule_match = in InstantiateActionsFromMatch() local
44 grammar_rules_->rule_match()->Get(derivation.rule_id); in InstantiateActionsFromMatch()
45 if (rule_match == nullptr || rule_match->action_id() == nullptr) { in InstantiateActionsFromMatch()
59 for (const uint16 action_id : *rule_match->action_id()) { in InstantiateActionsFromMatch()
Dgrammar-actions_test.cc130 const int rule_match_id = action_grammar_rules->rule_match.size(); in AddRuleMatch()
131 action_grammar_rules->rule_match.emplace_back( in AddRuleMatch()
133 action_grammar_rules->rule_match.back()->action_id.insert( in AddRuleMatch()
134 action_grammar_rules->rule_match.back()->action_id.end(), in AddRuleMatch()
Dactions-suggestions_test.cc1093 action_grammar_rules->rule_match.emplace_back( in TEST_F()
1095 action_grammar_rules->rule_match.back()->action_id.push_back(0); in TEST_F()
1156 action_grammar_rules->rule_match.emplace_back( in TEST_F()
1158 action_grammar_rules->rule_match.back()->action_id.push_back(0); in TEST_F()
Dactions_model.fbs494 rule_match:[GrammarRules_.RuleMatch];