aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-01-27 03:23:39 +0900
committersatok <satok@google.com>2011-01-27 12:53:13 +0900
commit58c49b91322847dc453742cb34c2899da9b44479 (patch)
tree645f163d8a75a9e422946eb908c50c6efcecd8fa /java/src/com/android/inputmethod/latin/Suggest.java
parent5c35e4109fc5a035605605b62bf5e5a5888b0f6b (diff)
downloadlatinime-58c49b91322847dc453742cb34c2899da9b44479.tar.gz
latinime-58c49b91322847dc453742cb34c2899da9b44479.tar.xz
latinime-58c49b91322847dc453742cb34c2899da9b44479.zip
Fix auto-correction threshold and promote full matched words
Bug: 3374359 Bug: 3278422 "zbe" will be auto corrected to "be" by fixing s-line "teh" will be auto corrected to "the" by promotion of full matched words Change-Id: I314c632820e4e0b1501edeca60ada205d291451f
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Suggest.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Suggest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/Suggest.java b/java/src/com/android/inputmethod/latin/Suggest.java
index 1772b2669..d5ed1f83b 100644
--- a/java/src/com/android/inputmethod/latin/Suggest.java
+++ b/java/src/com/android/inputmethod/latin/Suggest.java
@@ -290,7 +290,7 @@ public class Suggest implements Dictionary.WordCallback {
typedWord, mSuggestions.get(0), mPriorities[0]);
if (LatinImeLogger.sDBG) {
Log.d(TAG, "Normalized " + typedWord + "," + mSuggestions.get(0) + ","
- + mPriorities[0] + normalizedScore
+ + mPriorities[0] + ", " + normalizedScore
+ "(" + mAutoCorrectionThreshold + ")");
}
if (normalizedScore >= mAutoCorrectionThreshold) {