Searched refs:CompiledRule (Results 1 – 5 of 5) sorted by relevance
/external/libtextclassifier/native/actions/ |
D | regex-actions.h | 62 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_;
|
D | regex-actions.cc | 95 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/ |
D | regex-parser.h | 85 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_;
|
D | extractor.h | 32 struct CompiledRule { struct 48 const CompiledRule& rule, const UniLib::RegexMatcher& matcher, in DatetimeExtractor() argument 112 const CompiledRule& rule_;
|
D | regex-parser.cc | 228 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()
|