Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.h87 bool ParseWithRule(const CompiledRule& rule, const UnicodeText& input,
98 bool ExtractDatetime(const CompiledRule& rule,
107 bool HandleParseMatch(const CompiledRule& rule,
118 std::vector<CompiledRule> rules_;
Dextractor.h32 struct CompiledRule { struct
48 const CompiledRule& rule, const UniLib::RegexMatcher& matcher, in DatetimeExtractor() argument
103 const CompiledRule& rule_;
Dparser.cc220 const CompiledRule& rule, const UniLib::RegexMatcher& matcher, in HandleParseMatch()
262 const CompiledRule& rule, const UnicodeText& input, in ParseWithRule()
389 bool DatetimeParser::ExtractDatetime(const CompiledRule& rule, in ExtractDatetime()
/external/libtextclassifier/actions/
Dactions-suggestions.h156 struct CompiledRule { struct
160 CompiledRule(const RulesModel_::Rule* rule, in CompiledRule() function
177 std::vector<CompiledRule>* compiled_rules) const;
269 std::vector<CompiledRule> rules_, low_confidence_rules_;
Dactions-suggestions.cc462 std::vector<CompiledRule>* compiled_rules) const { in InitializeRules()
513 const CompiledRule& rule = low_confidence_rules_[low_confidence_rule]; in IsLowConfidenceInput()
1219 for (const CompiledRule& rule : rules_) { in SuggestActionsFromRules()