Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/datetime/
Dparser.cc353 DateParseData modified_parse(parse); in FillInterpretations() local
357 if (!(modified_parse.field_set_mask & in FillInterpretations()
359 (modified_parse.field_set_mask & in FillInterpretations()
361 modified_parse.relation = DateParseData::Relation::NEXT_OR_SAME; in FillInterpretations()
362 modified_parse.field_set_mask |= DateParseData::Fields::RELATION_FIELD; in FillInterpretations()
368 (modified_parse.field_set_mask & DateParseData::Fields::HOUR_FIELD) && in FillInterpretations()
369 modified_parse.hour <= 12 && in FillInterpretations()
370 !(modified_parse.field_set_mask & DateParseData::Fields::AMPM_FIELD)) { in FillInterpretations()
372 interpretations->push_back(modified_parse); in FillInterpretations()
376 interpretations->push_back(modified_parse); in FillInterpretations()
[all …]