Home
last modified time | relevance | path

Searched refs:languages_ (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/native/lang_id/
Dlang-id.cc81 languages_ = model_provider_->GetLanguages(); in LangIdImpl()
82 if (languages_.empty()) { in LangIdImpl()
131 max_results = languages_.size(); in FindLanguages()
245 if ((label >= 0) && (label < languages_.size())) { in GetLanguageForSoftmaxLabel()
246 return languages_[label]; in GetLanguageForSoftmaxLabel()
249 << languages_.size() << ")"; in GetLanguageForSoftmaxLabel()
290 std::vector<std::string> languages_; member in libtextclassifier3::mobile::lang_id::LangIdImpl
/external/libtextclassifier/native/lang_id/fb_model/
Dmodel-provider-from-fb.h79 std::vector<std::string> GetLanguages() const override { return languages_; } in GetLanguages()
110 std::vector<std::string> languages_; variable
Dmodel-provider-from-fb.cc81 languages_.emplace_back(sp); in Initialize()
83 if (languages_.empty()) { in Initialize()