Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.cc29 std::unique_ptr<DatetimeParser> DatetimeParser::Instance( in Instance()
32 std::unique_ptr<DatetimeParser> result( in Instance()
33 new DatetimeParser(model, unilib, calendarlib, decompressor)); in Instance()
40 DatetimeParser::DatetimeParser(const DatetimeModel* model, const UniLib& unilib, in DatetimeParser() function in libtextclassifier3::DatetimeParser
113 bool DatetimeParser::Parse( in Parse()
123 bool DatetimeParser::FindSpansUsingLocales( in FindSpansUsingLocales()
163 bool DatetimeParser::Parse( in Parse()
219 bool DatetimeParser::HandleParseMatch( in HandleParseMatch()
261 bool DatetimeParser::ParseWithRule( in ParseWithRule()
289 std::vector<int> DatetimeParser::ParseAndExpandLocales( in ParseAndExpandLocales()
[all …]
Dparser.h38 class DatetimeParser {
40 static std::unique_ptr<DatetimeParser> Instance(
68 DatetimeParser(const DatetimeModel* model, const UniLib& unilib,
Dparser_test.cc183 const DatetimeParser* parser_;
456 std::unique_ptr<DatetimeParser> parser_;
495 parser_ = DatetimeParser::Instance(model_fb, unilib_, calendarlib_, in SetUp()
/external/libtextclassifier/annotator/
Dannotator.h266 const DatetimeParser* DatetimeParserForTests() const;
471 std::unique_ptr<const DatetimeParser> datetime_parser_;
Dannotator.cc372 datetime_parser_ = DatetimeParser::Instance( in ValidateAndInitialize()
1745 const DatetimeParser* Annotator::DatetimeParserForTests() const { in DatetimeParserForTests()