Allow a single letter dic entry

Redo of Id46b4490 which has been abandoned

bug: 3193883
Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e
main
Ken Wakasa 2010-12-14 13:05:08 +09:00
parent 7c178d9dba
commit a1e9e3922f
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ public class MakeBinaryDictionary {
public void endElement(String uri, String localName,
String qName) {
if (qName.equals("w")) {
if (wordBuilder.length() > 1) {
if (wordBuilder.length() >= 1) {
addWordTop(wordBuilder.toString(), freq);
mWordCount++;
}