Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dfeature-processor.cc712 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens() local
713 if (*click_pos + right_context_needed + 1 >= tokens->size()) { in StripOrPadTokens()
716 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens()
720 } else if (*click_pos + right_context_needed + 1 < tokens->size() - 1) { in StripOrPadTokens()
723 std::advance(it, *click_pos + right_context_needed + 1); in StripOrPadTokens()