diff options
author | 2013-05-01 20:19:05 +0900 | |
---|---|---|
committer | 2013-05-01 20:19:05 +0900 | |
commit | 1490b534162cc5f99e2a1ed93c63a1fa4045e5ca (patch) | |
tree | 64d9a421b91b4b954ab0bd148ad0f01e607ce6fe /java | |
parent | c43417fb5d037d49c49176ed92f995b74b861d3e (diff) | |
download | latinime-1490b534162cc5f99e2a1ed93c63a1fa4045e5ca.tar.gz latinime-1490b534162cc5f99e2a1ed93c63a1fa4045e5ca.tar.xz latinime-1490b534162cc5f99e2a1ed93c63a1fa4045e5ca.zip |
Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
Diffstat (limited to 'java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java index 9e36e4bd6..aa60496ae 100644 --- a/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java +++ b/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java @@ -260,12 +260,7 @@ public final class AndroidSpellCheckerService extends SpellCheckerService return true; } - // Compute the normalized score and skip this word if it's normalized score does not - // make the threshold. final String wordString = new String(word, wordOffset, wordLength); - final float normalizedScore = - BinaryDictionary.calcNormalizedScore(mOriginalText, wordString, score); - if (mLength < mMaxLength) { final int copyLen = mLength - insertIndex; ++mLength; |