Skip to content
Snippets Groups Projects
Commit 1490b534 authored by Ken Wakasa's avatar Ken Wakasa
Browse files

Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1

Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
parent c43417fb
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment