Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dfeature-processor.cc727 int left_context_needed = relative_click_span.first + context_size; in StripOrPadTokens() local
728 if (*click_pos < left_context_needed) { in StripOrPadTokens()
731 std::min(context_size, left_context_needed - *click_pos); in StripOrPadTokens()
735 } else if (*click_pos > left_context_needed) { in StripOrPadTokens()
738 std::advance(it, *click_pos - left_context_needed); in StripOrPadTokens()