Allow a single letter dic entry
Redo of Id46b4490 which has been abandoned bug: 3193883 Change-Id: I95b16b1a4f190482098f40d8e29717ea28fdec1e
This commit is contained in:
parent
7c178d9dba
commit
a1e9e3922f
1 changed files with 1 additions and 1 deletions
2
tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java
Executable file → Normal file
2
tools/makedict/src/com/android/tools/dict/MakeBinaryDictionary.java
Executable file → Normal 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++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue