diff options
author | 2011-01-27 03:23:39 +0900 | |
---|---|---|
committer | 2011-01-27 12:53:13 +0900 | |
commit | 58c49b91322847dc453742cb34c2899da9b44479 (patch) | |
tree | 645f163d8a75a9e422946eb908c50c6efcecd8fa /java/src/com/android/inputmethod/latin/Suggest.java | |
parent | 5c35e4109fc5a035605605b62bf5e5a5888b0f6b (diff) | |
download | latinime-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.java | 2 |
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) { |