Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/vocab/
Dvocab-annotator-impl.cc70 CodepointSpan stripped_span; in Annotate() local
73 trigger_on_beginner_words, &classification_result, &stripped_span); in Annotate()
75 results->push_back(AnnotatedSpan{stripped_span, {classification_result}}); in Annotate()
85 CodepointSpan stripped_span; in ClassifyText() local
88 &stripped_span); in ClassifyText()
108 const CodepointSpan stripped_span = in ClassifyTextInternal() local
112 context, stripped_span.first, stripped_span.second, /*do_copy=*/false); in ClassifyTextInternal()
132 *classified_span = stripped_span; in ClassifyTextInternal()
/external/libtextclassifier/native/annotator/
Dfeature-processor.cc645 const CodepointSpan stripped_span = in StripBoundaryCodepoints() local
648 if (initial_span != stripped_span) { in StripBoundaryCodepoints()
650 UnicodeText::Substring(value_unicode, stripped_span.first, in StripBoundaryCodepoints()
651 stripped_span.second, /*do_copy=*/false); in StripBoundaryCodepoints()