Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor.cc757 int left_context_needed = relative_click_span.first + context_size; in StripOrPadTokens() local
758 if (*click_pos < left_context_needed) { in StripOrPadTokens()
761 std::min(context_size, left_context_needed - *click_pos); in StripOrPadTokens()
765 } else if (*click_pos > left_context_needed) { in StripOrPadTokens()
768 std::advance(it, *click_pos - left_context_needed); in StripOrPadTokens()