Home
last modified time | relevance | path

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

/external/libtextclassifier/native/actions/
Dzlib-utils.cc44 if (model->low_confidence_rules != nullptr) { in CompressActionsModel()
45 for (int i = 0; i < model->low_confidence_rules->regex_rule.size(); i++) { in CompressActionsModel()
47 model->low_confidence_rules->regex_rule[i].get(); in CompressActionsModel()
108 if (model->low_confidence_rules != nullptr) { in DecompressActionsModel()
109 for (int i = 0; i < model->low_confidence_rules->regex_rule.size(); i++) { in DecompressActionsModel()
111 model->low_confidence_rules->regex_rule[i].get(); in DecompressActionsModel()
Dregex-actions.cc52 const RulesModel* rules, const RulesModel* low_confidence_rules, in InitializeRules() argument
62 if (low_confidence_rules != nullptr) { in InitializeRules()
63 if (!InitializeRulesModel(low_confidence_rules, decompressor, in InitializeRules()
73 triggering_preconditions_overlay->low_confidence_rules() != nullptr) { in InitializeRules()
82 triggering_preconditions_overlay->low_confidence_rules(), in InitializeRules()
Dactions-suggestions_test.cc603 actions_model->low_confidence_rules.reset(new RulesModelT); in TEST_F()
604 actions_model->low_confidence_rules->regex_rule.emplace_back( in TEST_F()
606 actions_model->low_confidence_rules->regex_rule.back()->pattern = in TEST_F()
645 actions_model->low_confidence_rules.reset(new RulesModelT); in TEST_F()
646 actions_model->low_confidence_rules->regex_rule.emplace_back( in TEST_F()
648 actions_model->low_confidence_rules->regex_rule.back()->pattern = "hello"; in TEST_F()
649 actions_model->low_confidence_rules->regex_rule.back()->output_pattern = in TEST_F()
676 actions_model->low_confidence_rules.reset(); in TEST_F()
705 actions_model->preconditions->low_confidence_rules.reset(); in TEST_F()
708 preconditions.low_confidence_rules.reset(new RulesModelT); in TEST_F()
[all …]
Dregex-actions.h41 const RulesModel* rules, const RulesModel* low_confidence_rules,
Dactions_model.fbs289 // Same as low_confidence_rules in ActionsModel.
292 low_confidence_rules:RulesModel;
562 low_confidence_rules:RulesModel;
Dactions-suggestions.cc316 model_->rules(), model_->low_confidence_rules(), in ValidateAndInitialize()