Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java98 static void putTopLanguageScores(Bundle container, EntityConfidence languageScores) { in putTopLanguageScores() argument
99 final int maxSize = Math.min(3, languageScores.getEntities().size()); in putTopLanguageScores()
100 final String[] languages = languageScores.getEntities().subList(0, maxSize) in putTopLanguageScores()
104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
DTextClassifierImpl.java728 final EntityConfidence languageScores = detectLanguages(context, start, end); in generateLanguageBundles() local
729 if (languageScores.getEntities().isEmpty()) { in generateLanguageBundles()
734 ExtrasUtils.putTopLanguageScores(textLanguagesBundle, languageScores); in generateLanguageBundles()
736 final String language = languageScores.getEntities().get(0); in generateLanguageBundles()
737 final float score = languageScores.getConfidenceScore(language); in generateLanguageBundles()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt31851 Landroid/icu/util/LocaleMatcher$LanguageMatcherData;->languageScores:Landroid/icu/util/LocaleMatche…