Support batch input
Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
This commit is contained in:
parent
21e5759e8e
commit
eb1443883f
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ public class BinaryDictionary extends Dictionary {
|
||||||
}
|
}
|
||||||
|
|
||||||
final int count;
|
final int count;
|
||||||
if (composer.size() <= 1) {
|
if (!composer.isBatchMode() && composer.size() <= 1) {
|
||||||
if (TextUtils.isEmpty(prevWord)) return null;
|
if (TextUtils.isEmpty(prevWord)) return null;
|
||||||
count = getBigramsInternal(composer, prevWordCodePointArray);
|
count = getBigramsInternal(composer, prevWordCodePointArray);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue