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.h100 inline bool SpansOverlap(const CodepointSpan& a, const CodepointSpan& b) { in SpansOverlap() function
120 SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
133 if (!SpansOverlap(candidates[considered_candidate].span, in DoesCandidateConflict()
Dannotator.cc993 if (SpansOverlap(candidates.annotated_spans[0][i].span, click_indices) && in SuggestSelection()
994 SpansOverlap(candidates.annotated_spans[0][i].span, in SuggestSelection()
1041 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.cc81 SpansOverlap(span.span, other.span); in TextSpansIntersect()