Searched refs:TokenSpanToLabel (Results 1 – 2 of 2) sorted by relevance
221 int TokenSpanToLabel(const std::pair<TokenIndex, TokenIndex>& span) const;
317 *label = TokenSpanToLabel({span_left, span_right}); in SpanToLabel()325 int FeatureProcessor::TokenSpanToLabel(const TokenSpan& span) const { in TokenSpanToLabel() function in libtextclassifier3::FeatureProcessor