Home | History | Annotate | Download | only in latin

Lines Matching refs:suggestion

84             final SuggestedWordInfo suggestion, final String consideredWord,
86 if (null != suggestion) {
88 if (suggestion.mKind == SuggestedWordInfo.KIND_WHITELIST) return true;
89 final int autoCorrectionSuggestionScore = suggestion.mScore;
90 // TODO: when the normalized score of the first suggestion is nearly equals to
91 // the normalized score of the second suggestion, behave less aggressive.
93 consideredWord, suggestion.mWord, autoCorrectionSuggestionScore);
95 Log.d(TAG, "Normalized " + consideredWord + "," + suggestion + ","
103 return !shouldBlockAutoCorrectionBySafetyNet(consideredWord, suggestion.mWord);
112 final String suggestion) {
125 final int distance = BinaryDictionary.editDistance(typedWord, suggestion);
132 Log.e(TAG, "Safety net: before = " + typedWord + ", after = " + suggestion);