Speller.replaceRunOnWords() won't suggest a lot for alot, as the first pair it tries is al + ot. The next one it tries is alo + t, so at the end it does allow a single character. The easiest solution seems to be to simply allow a single characters at the beginning of the word, too.
Speller.replaceRunOnWords()
won't suggesta lot
foralot
, as the first pair it tries isal + ot
. The next one it tries isalo + t
, so at the end it does allow a single character. The easiest solution seems to be to simply allow a single characters at the beginning of the word, too.