Home
last modified time | relevance | path

Searched refs:RegexDatetimeParser (Results 1 – 4 of 4) sorted by relevance

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.cc32 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 …]
Dregex-parser.h42 class RegexDatetimeParser : public DatetimeParser {
66 explicit RegexDatetimeParser(const DatetimeModel* model, const UniLib* unilib,
Dregex-parser_test.cc1335 RegexDatetimeParser::Instance(model_fb, unilib_.get(), calendarlib_.get(), in SetUp()
/external/libtextclassifier/native/annotator/
Dannotator.cc432 datetime_parser_ = RegexDatetimeParser::Instance( in ValidateAndInitialize()