Searched refs:langid_model_ (Results 1 – 3 of 3) sorted by relevance
35 : options_(options), langid_model_(langid_model), unilib_(unilib) {} in TranslateAnnotator()75 const libtextclassifier3::mobile::lang_id::LangId* langid_model_; variable
79 langid_model_(libtextclassifier3::mobile::lang_id::GetLangIdFromFlatbufferFile( in TranslateAnnotatorTest()82 langid_model_.get(), &unilib_) {} in TranslateAnnotatorTest()85 std::unique_ptr<libtextclassifier3::mobile::lang_id::LangId> langid_model_; member in libtextclassifier3::__anon68c778bf0111::TranslateAnnotatorTest
121 langid::GetPredictions(langid_model_, entity.data(), entity.size_bytes()); in BackoffDetectLanguages()130 langid::GetPredictions(langid_model_, entity_with_context.data(), in BackoffDetectLanguages()