Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor.h235 int GetNumContextTokens() const { return options_->context_size() * 2 + 1; } in GetNumContextTokens() function
Dfeature-processor.cc201 if (tokens.size() != GetNumContextTokens()) { in LabelToSpan()
261 if (tokens.size() != GetNumContextTokens()) { in SpanToLabel()