Home
last modified time | relevance | path

Searched refs:getScore (Results 1 – 10 of 10) sorted by relevance

/external/libtextclassifier/java/src/com/android/textclassifier/
DEntity.java43 public Float getScore() { in getScore() method in Entity
75 int result = Float.compare(entity.getScore(), score); in compareTo()
DTextClassifierImpl.java188 tsBuilder.setEntityType(results[i].getCollection(), results[i].getScore()); in suggestSelection()
289 entityScores.put(result.getCollection(), result.getScore()); in generateLinks()
368 builder.putLocale(ULocale.forLanguageTag(langResult.getLanguage()), langResult.getScore()); in detectLanguage()
432 .setConfidenceScore(nativeSuggestion.getScore()) in createConversationActionResult()
554 builder.setEntityType(classifications[i].getCollection(), classifications[i].getScore()); in createClassificationResult()
555 if (classifications[i].getScore() > highestScoringResult.getScore()) { in createClassificationResult()
654 if (langResult.getScore() >= threshold) {
655 languagesMap.put(langResult.getLanguage(), langResult.getScore());
DExtrasUtils.java251 public static float getScore(Bundle extra) { in getScore() method in ExtrasUtils
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/label/
DCategory.java71 public float getScore() { in getScore() method in Category
81 && other.getScore() == this.score); in equals()
/external/libtextclassifier/jni/com/google/android/textclassifier/
DLangIdModel.java112 public final float getScore() { in getScore() method in LangIdModel.LanguageResult
DActionsSuggestionsModel.java232 public float getScore() { in getScore() method in ActionsSuggestionsModel.ActionSuggestion
DAnnotatorModel.java408 public float getScore() { in getScore() method in AnnotatorModel.ClassificationResult
/external/cldr/tools/java/com/ibm/icu/util/
DLocaleMatcher.java510 double getScore(ULocale dMax, String desiredRaw, String desiredMax, in getScore() method in LocaleMatcher.ScoreData
636 …diff += languageScores.getScore(aMax, a.getLanguage(), aMax.getLanguage(), bMax, b.getLanguage(), … in match()
640 …diff += scriptScores.getScore(aMax, a.getScript(), aMax.getScript(), bMax, b.getScript(), bMax.get… in match()
641 …diff += regionScores.getScore(aMax, a.getCountry(), aMax.getCountry(), bMax, b.getCountry(), bMax.… in match()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/mediacodec/
DMediaCodecUtil.java922 Collections.sort(list, (a, b) -> scoreProvider.getScore(b) - scoreProvider.getScore(a)); in sortByScore()
928 int getScore(T t); in getScore() method
/external/libtextclassifier/java/tests/instrumentation/src/com/android/textclassifier/
DTextClassifierImplTest.java252 assertTrue(ExtrasUtils.getScore(foreignLanguageInfo) >= 0); in testClassifyText_foreignText()
253 assertTrue(ExtrasUtils.getScore(foreignLanguageInfo) <= 1); in testClassifyText_foreignText()