Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc97 if (!SpansOverlap(selection, derivation.parse_tree->codepoint_span)) { in OverlappingDerivations()
106 if (!SpansOverlap(selection, span) || in OverlappingDerivations()
/external/libtextclassifier/native/annotator/
Dtypes.h101 inline bool SpansOverlap(const CodepointSpan& a, const CodepointSpan& b) { in SpansOverlap() function
121 SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
134 if (!SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
Dannotator.cc1018 if (SpansOverlap(candidates.annotated_spans[0][i].span, click_indices) && in SuggestSelection()
1019 SpansOverlap(candidates.annotated_spans[0][i].span, in SuggestSelection()
1066 SpansOverlap(conflicting_span, candidates[first_non_overlapping].span)) { in FirstNonOverlappingSpanIndex()
/external/libtextclassifier/native/annotator/datetime/testing/
Dbase-parser-test.cc92 if (SpansOverlap(result.span, {expected_start_index, expected_end_index})) { in ParsesCorrectly()
/external/libtextclassifier/native/actions/
Dranker.cc94 SpansOverlap(span.span, other.span); in TextSpansIntersect()