Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dfeature-processor.h139 int NumCollections() const { return collection_to_label_.size(); } in NumCollections()
312 std::map<std::string, int> collection_to_label_; variable
Dfeature-processor.cc659 const auto it = collection_to_label_.find(collection); in CollectionToLabel()
660 if (it == collection_to_label_.end()) { in CollectionToLabel()
668 if (label >= 0 && label < collection_to_label_.size()) { in LabelToCollection()
678 collection_to_label_[(*options_->collections())[i]->str()] = i; in MakeLabelMaps()