Home
last modified time | relevance | path

Searched refs:span_begin (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/annotator/
Dfeature-processor.cc302 UnicodeText::const_iterator span_begin = token_left_unicode.begin(); in SpanToLabel() local
306 span_begin, token_left_unicode.end(), /*count_from_beginning=*/true); in SpanToLabel()
608 UnicodeText::const_iterator span_begin = context_unicode.begin(); in StripBoundaryCodepoints() local
609 std::advance(span_begin, span.first); in StripBoundaryCodepoints()
613 return StripBoundaryCodepoints(span_begin, span_end, span, in StripBoundaryCodepoints()
619 const UnicodeText::const_iterator& span_begin, in StripBoundaryCodepoints() argument
621 return StripBoundaryCodepoints(span_begin, span_end, span, in StripBoundaryCodepoints()
627 const UnicodeText::const_iterator& span_begin, in StripBoundaryCodepoints() argument
632 if (!ValidNonEmptySpan(span) || span_begin == span_end) { in StripBoundaryCodepoints()
637 span_begin, span_end, /*count_from_beginning=*/true, in StripBoundaryCodepoints()
[all …]
Dfeature-processor.h202 const UnicodeText::const_iterator& span_begin,
207 const UnicodeText::const_iterator& span_begin,
/external/libtextclassifier/native/utils/utf8/
Dunicodetext.cc218 auto span_begin = begin(); in UTF8Substring() local
219 std::advance(span_begin, begin_codepoint); in UTF8Substring()
220 auto span_end = span_begin; in UTF8Substring()
222 return UTF8Substring(span_begin, span_end); in UTF8Substring()