Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dtypes.h112 const std::set<int, std::function<bool(int, int)>>& chosen_indices_set) { in DoesCandidateConflict() argument
113 if (chosen_indices_set.empty()) { in DoesCandidateConflict()
117 auto conflicting_it = chosen_indices_set.lower_bound(considered_candidate); in DoesCandidateConflict()
119 if (conflicting_it != chosen_indices_set.end() && in DoesCandidateConflict()
127 if (conflicting_it == chosen_indices_set.begin()) { in DoesCandidateConflict()
/external/libtextclassifier/native/annotator/datetime/
Dregex-parser.cc213 std::set<int, std::function<bool(int, int)>> chosen_indices_set( in Parse() local
219 if (!DoesCandidateConflict(i, resolved_found_spans, chosen_indices_set)) { in Parse()
220 chosen_indices_set.insert(i); in Parse()