Home
last modified time | relevance | path

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

/external/libtextclassifier/smartselect/
Dfeature-processor.cc567 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens() local
568 if (*click_pos + right_context_needed + 1 >= tokens->size()) { in StripOrPadTokens()
571 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens()
575 } else if (*click_pos + right_context_needed + 1 < tokens->size() - 1) { in StripOrPadTokens()
578 std::advance(it, *click_pos + right_context_needed + 1); in StripOrPadTokens()