Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.cc207 std::vector<DatetimeParseResultSpan> resolved_found_spans; in Parse() local
208 resolved_found_spans.reserve(indexed_found_spans.size()); in Parse()
210 resolved_found_spans.push_back(span_index_pair.first); in Parse()
214 [&resolved_found_spans](int a, int b) { in Parse()
215 return resolved_found_spans[a].span.first < in Parse()
216 resolved_found_spans[b].span.first; in Parse()
218 for (int i = 0; i < resolved_found_spans.size(); ++i) { in Parse()
219 if (!DoesCandidateConflict(i, resolved_found_spans, chosen_indices_set)) { in Parse()
221 results.push_back(resolved_found_spans[i]); in Parse()