Spell check the first word of the sentence

Change-Id: I7803d92de8f4ea399cef5c2d1ddf5396d59ef2cf
This commit is contained in:
satok
2012-05-07 20:19:18 +09:00
parent 50956b2dc4
commit c33208fe72

View File

@ -397,14 +397,6 @@ public abstract class SpellCheckerService extends Service {
}
wordStart = wordIterator.getBeginning(wordEnd);
}
if (originalText.length() >= SpellChecker.WORD_ITERATOR_INTERVAL
&& wordItems.size() >= 2) {
if (DBG) {
Log.w(TAG, "Remove possibly divided word: "
+ wordItems.get(0).mTextInfo.getText());
}
wordItems.remove(0);
}
return new SentenceTextInfoParams(originalTextInfo, wordItems);
}