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.cc67 CodepointSpan stripped_span; in Annotate() local
70 trigger_on_beginner_words, &classification_result, &stripped_span); in Annotate()
72 results->push_back(AnnotatedSpan{stripped_span, {classification_result}}); in Annotate()
82 CodepointSpan stripped_span; in ClassifyText() local
85 &stripped_span); in ClassifyText()
102 const CodepointSpan stripped_span = in ClassifyTextInternal() local
106 context, stripped_span.first, stripped_span.second, /*do_copy=*/false); in ClassifyTextInternal()
126 *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()