Home
last modified time | relevance | path

Searched refs:datetime_parse_result (Results 1 – 8 of 8) sorted by relevance

/external/libtextclassifier/native/annotator/
Dtest-utils.h45 Value(arg.datetime_parse_result.time_ms_utc, time_ms_utc) &&
46 Value(arg.datetime_parse_result.granularity, granularity);
51 Value(arg.datetime_parse_result.time_ms_utc, time_ms_utc) &&
52 Value(arg.datetime_parse_result.granularity, granularity);
70 arg.classification[0].datetime_parse_result.time_ms_utc ==
72 arg.classification[0].datetime_parse_result.granularity == granularity;
Dtypes.cc172 a.datetime_parse_result == b.datetime_parse_result && in ClassificationResultsEqualIgnoringScoresAndSerializedEntityData()
Dannotator_jni.cc138 if (classification_result.datetime_parse_result.IsSet()) { in ClassificationResultWithIntentsToJObject()
143 classification_result.datetime_parse_result.time_ms_utc, in ClassificationResultWithIntentsToJObject()
144 classification_result.datetime_parse_result.granularity)); in ClassificationResultWithIntentsToJObject()
Dannotator.cc1660 const DatetimeParseResult& datetime_parse_result) { in PickCollectionForDatetime() argument
1661 switch (datetime_parse_result.granularity) { in PickCollectionForDatetime()
1708 classification_results->back().datetime_parse_result = parse_result; in DatetimeClassifyText()
3164 annotated_span.classification.back().datetime_parse_result = parse_result; in DatetimeChunk()
Dtypes.h435 DatetimeParseResult datetime_parse_result; member
/external/libtextclassifier/native/annotator/datetime/
Ddatetime-grounder.cc233 std::vector<DatetimeParseResult> datetime_parse_result; in Ground() local
258 datetime_parse_result.push_back(result); in Ground()
260 return datetime_parse_result; in Ground()
/external/libtextclassifier/native/actions/
Dutils.cc141 classification->datetime_parse_result.IsSet()) { in ConvertDatetimeToTime()
144 classification->datetime_parse_result.datetime_components) { in ConvertDatetimeToTime()
/external/libtextclassifier/native/utils/
Dlua-utils.cc376 Push(classification.datetime_parse_result.time_ms_utc); in PushAnnotation()
378 Push(classification.datetime_parse_result.granularity); in PushAnnotation()
519 classification.datetime_parse_result.time_ms_utc = in ReadClassificationResult()
522 classification.datetime_parse_result.granularity = in ReadClassificationResult()