Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dtypes.h62 const int considered_candidate, const std::vector<T>& candidates, in DoesCandidateConflict() argument
68 auto conflicting_it = chosen_indices_set.lower_bound(considered_candidate); in DoesCandidateConflict()
71 SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
84 if (!SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
Dannotator.cc955 const int considered_candidate = conflicting_indices[i]; in ResolveConflict() local
962 if (source_set_pair.first == candidates[considered_candidate].source) { in ResolveConflict()
967 candidates[considered_candidate].source) && in ResolveConflict()
968 DoesCandidateConflict(considered_candidate, candidates, in ResolveConflict()
986 chosen_indices_for_source_map[candidates[considered_candidate].source] = in ResolveConflict()
989 &chosen_indices_for_source_map[candidates[considered_candidate] in ResolveConflict()
994 chosen_indices->push_back(considered_candidate); in ResolveConflict()
995 chosen_indices_for_source_ptr->insert(considered_candidate); in ResolveConflict()