Home
last modified time | relevance | path

Searched refs:datetime_parser_ (Results 1 – 2 of 2) sorted by relevance

/external/libtextclassifier/native/annotator/
Dannotator.cc426 datetime_parser_ = std::make_unique<GrammarDatetimeParser>( in ValidateAndInitialize()
432 datetime_parser_ = RegexDatetimeParser::Instance( in ValidateAndInitialize()
434 if (!datetime_parser_) { in ValidateAndInitialize()
1677 if (!datetime_parser_) { in DatetimeClassifyText()
1687 datetime_parser_->Parse(selection_text, options.reference_time_ms_utc, in DatetimeClassifyText()
2119 return datetime_parser_.get(); in DatetimeParserForTests()
3142 if (!datetime_parser_) { in DatetimeChunk()
3147 datetime_parser_->Parse(context_unicode, reference_time_ms_utc, in DatetimeChunk()
Dannotator.h454 std::unique_ptr<const DatetimeParser> datetime_parser_; variable