Support batch input

Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
This commit is contained in:
Tadashi G. Takaoka 2012-07-11 14:20:41 +09:00
parent 21e5759e8e
commit eb1443883f

View file

@ -124,7 +124,7 @@ public class BinaryDictionary extends Dictionary {
}
final int count;
if (composer.size() <= 1) {
if (!composer.isBatchMode() && composer.size() <= 1) {
if (TextUtils.isEmpty(prevWord)) return null;
count = getBigramsInternal(composer, prevWordCodePointArray);
} else {