Home
last modified time | relevance | path

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

/external/libtextclassifier/jni/com/google/android/textclassifier/
DLangIdModel.java76 public LanguageResult[] detectLanguages(String text) { in detectLanguages()
99 public static final class LanguageResult { class in LangIdModel
103 LanguageResult(String language, float score) { in LanguageResult() method in LangIdModel.LanguageResult
167 private native LanguageResult[] nativeDetectLanguages(long nativePtr, String text); in nativeDetectLanguages()
/external/libtextclassifier/java/src/com/android/textclassifier/
DTextClassifierImpl.java365 final LangIdModel.LanguageResult[] langResults = in detectLanguage()
367 for (LangIdModel.LanguageResult langResult : langResults) { in detectLanguage()
651 final LangIdModel.LanguageResult[] langResults = langId.detectLanguages(text.toString());
653 for (LangIdModel.LanguageResult langResult : langResults) {