diff options
author | 2010-12-14 13:05:08 +0900 | |
---|---|---|
committer | 2010-12-14 13:05:08 +0900 | |
commit | a1e9e3922f1cc7093019d93579b5801d7779b663 (patch) | |
tree | 8330e5bba45ae221a94a6cca526dea0d97db506f | |
parent | 7c178d9dba065d93347b076f580e8801c808c8bf (diff) | |
download | latinime-a1e9e3922f1cc7093019d93579b5801d7779b663.tar.gz latinime-a1e9e3922f1cc7093019d93579b5801d7779b663.tar.xz latinime-a1e9e3922f1cc7093019d93579b5801d7779b663.zip |
Allow a single letter dic entry
Redo of Id46b4490 which has been abandoned
bug: 3193883
Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e
-rw-r--r--[-rwxr-xr-x] | tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java b/tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java index ca6de56e1..51e203849 100755..100644 --- 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 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++; } |