commit | a1e9e3922f1cc7093019d93579b5801d7779b663 | [log] [tgz] |
---|---|---|
author | Ken Wakasa <kwakasa@google.com> | Tue Dec 14 13:05:08 2010 +0900 |
committer | Ken Wakasa <kwakasa@google.com> | Tue Dec 14 13:05:08 2010 +0900 |
tree | 8330e5bba45ae221a94a6cca526dea0d97db506f | |
parent | 7c178d9dba065d93347b076f580e8801c808c8bf [diff] |
Allow a single letter dic entry Redo of Id46b4490 which has been abandoned bug: 3193883 Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e
diff --git a/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java b/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java old mode 100755 new mode 100644 index ca6de56..51e2038 --- a/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java +++ b/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java
@@ -163,7 +163,7 @@ 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++; }