am 1490b534: Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
* commit '1490b534162cc5f99e2a1ed93c63a1fa4045e5ca': Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1main
commit
56550ee5c3
|
@ -260,12 +260,7 @@ public final class AndroidSpellCheckerService extends SpellCheckerService
|
||||||
return true;
|
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 String wordString = new String(word, wordOffset, wordLength);
|
||||||
final float normalizedScore =
|
|
||||||
BinaryDictionary.calcNormalizedScore(mOriginalText, wordString, score);
|
|
||||||
|
|
||||||
if (mLength < mMaxLength) {
|
if (mLength < mMaxLength) {
|
||||||
final int copyLen = mLength - insertIndex;
|
final int copyLen = mLength - insertIndex;
|
||||||
++mLength;
|
++mLength;
|
||||||
|
|
Loading…
Reference in New Issue