Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/translate/
Dtranslate.h35 : options_(options), langid_model_(langid_model), unilib_(unilib) {} in TranslateAnnotator()
75 const libtextclassifier3::mobile::lang_id::LangId* langid_model_; variable
Dtranslate_test.cc79 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
Dtranslate.cc121 langid::GetPredictions(langid_model_, entity.data(), entity.size_bytes()); in BackoffDetectLanguages()
130 langid::GetPredictions(langid_model_, entity_with_context.data(), in BackoffDetectLanguages()