Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor.h133 int GetSelectionLabelCount() const { return label_to_selection_.size(); } in GetSelectionLabelCount()
309 std::vector<TokenSpan> label_to_selection_; variable
Dfeature-processor.cc250 if (label >= 0 && label < label_to_selection_.size()) { in LabelToTokenSpan()
251 *token_span = label_to_selection_[label]; in LabelToTokenSpan()
476 for (int i = 0; i < label_to_selection_.size(); ++i) { in SelectionLabelSpans()
489 selection_label_relative_token_spans->assign(label_to_selection_.begin(), in SelectionLabelRelativeTokenSpans()
490 label_to_selection_.end()); in SelectionLabelRelativeTokenSpans()
689 label_to_selection_.push_back(token_span); in MakeLabelMaps()