Lines Matching refs:LangId
100 return LangId::kUnknownLanguageCode; in FindLanguage()
121 << LangId::kUnknownLanguageCode; in FindLanguage()
122 return LangId::kUnknownLanguageCode; in FindLanguage()
132 result->predictions.emplace_back(LangId::kUnknownLanguageCode, 1); in FindLanguages()
226 return LangId::kUnknownLanguageCode; in GetLanguageForSoftmaxLabel()
258 const char LangId::kUnknownLanguageCode[] = "und";
260 LangId::LangId(std::unique_ptr<ModelProvider> model_provider) in LangId() function in libtextclassifier3::mobile::lang_id::LangId
263 LangId::~LangId() = default;
265 string LangId::FindLanguage(const char *data, size_t num_bytes) const { in FindLanguage()
270 void LangId::FindLanguages(const char *data, size_t num_bytes, in FindLanguages()
277 bool LangId::is_valid() const { return pimpl_->is_valid(); } in is_valid()
279 int LangId::GetModelVersion() const { return pimpl_->GetModelVersion(); } in GetModelVersion()
281 float LangId::GetFloatProperty(const string &property, in GetFloatProperty()