Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor.cc742 int right_context_needed = relative_click_span.second + context_size; in StripOrPadTokens() local
743 if (*click_pos + right_context_needed + 1 >= tokens->size()) { in StripOrPadTokens()
746 context_size, static_cast<int>(*click_pos + right_context_needed + 1 - in StripOrPadTokens()
750 } else if (*click_pos + right_context_needed + 1 < tokens->size() - 1) { in StripOrPadTokens()
753 std::advance(it, *click_pos + right_context_needed + 1); in StripOrPadTokens()