Searched refs:RegexDatetimeParser (Results 1 – 4 of 4) sorted by relevance
/external/libtextclassifier/native/annotator/datetime/ |
D | regex-parser.cc | 32 std::unique_ptr<DatetimeParser> RegexDatetimeParser::Instance( in Instance() 35 std::unique_ptr<RegexDatetimeParser> result( in Instance() 36 new RegexDatetimeParser(model, unilib, calendarlib, decompressor)); in Instance() 43 RegexDatetimeParser::RegexDatetimeParser(const DatetimeModel* model, in RegexDatetimeParser() function in libtextclassifier3::RegexDatetimeParser 119 StatusOr<std::vector<DatetimeParseResultSpan>> RegexDatetimeParser::Parse( in Parse() 130 RegexDatetimeParser::FindSpansUsingLocales( in FindSpansUsingLocales() 172 StatusOr<std::vector<DatetimeParseResultSpan>> RegexDatetimeParser::Parse( in Parse() 228 RegexDatetimeParser::HandleParseMatch(const CompiledRule& rule, in HandleParseMatch() 275 RegexDatetimeParser::ParseWithRule(const CompiledRule& rule, in ParseWithRule() 304 std::vector<int> RegexDatetimeParser::ParseAndExpandLocales( in ParseAndExpandLocales() [all …]
|
D | regex-parser.h | 42 class RegexDatetimeParser : public DatetimeParser { 66 explicit RegexDatetimeParser(const DatetimeModel* model, const UniLib* unilib,
|
D | regex-parser_test.cc | 1335 RegexDatetimeParser::Instance(model_fb, unilib_.get(), calendarlib_.get(), in SetUp()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 432 datetime_parser_ = RegexDatetimeParser::Instance( in ValidateAndInitialize()
|