Home
last modified time | relevance | path

Searched refs:CompiledRule (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/actions/
Dregex-actions.h62 struct CompiledRule { struct
66 CompiledRule(const RulesModel_::RegexRule* rule, in CompiledRule() argument
77 std::vector<CompiledRule>* compiled_rules) const;
81 std::vector<CompiledRule> rules_, low_confidence_rules_;
Dregex-actions.cc95 std::vector<CompiledRule>* compiled_rules) const { in InitializeRulesModel()
140 const CompiledRule& rule = low_confidence_rules_[low_confidence_rule]; in IsLowConfidenceInput()
202 for (const CompiledRule& rule : rules_) { in SuggestActions()
/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.h85 const CompiledRule& rule, const UnicodeText& input,
91 bool ExtractDatetime(const CompiledRule& rule,
101 const CompiledRule& rule, const UniLib::RegexMatcher& matcher,
109 std::vector<CompiledRule> rules_;
Dextractor.h32 struct CompiledRule { struct
48 const CompiledRule& rule, const UniLib::RegexMatcher& matcher, in DatetimeExtractor() argument
112 const CompiledRule& rule_;
Dregex-parser.cc228 RegexDatetimeParser::HandleParseMatch(const CompiledRule& rule, in HandleParseMatch()
275 RegexDatetimeParser::ParseWithRule(const CompiledRule& rule, in ParseWithRule()
357 const CompiledRule& rule, const UniLib::RegexMatcher& matcher, in ExtractDatetime()