Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dfeature-processor.h124 int NumCollections() const { return collection_to_label_.size(); } in NumCollections()
283 std::map<std::string, int> collection_to_label_; variable
Dfeature-processor.cc634 const auto it = collection_to_label_.find(collection); in CollectionToLabel()
635 if (it == collection_to_label_.end()) { in CollectionToLabel()
643 if (label >= 0 && label < collection_to_label_.size()) { in LabelToCollection()
653 collection_to_label_[(*options_->collections())[i]->str()] = i; in MakeLabelMaps()