Support batch input

Change-Id: Ibe63212fe71cdebb5b897bc5018ae75b2a87555a
main
Tadashi G. Takaoka 2012-07-11 14:20:41 +09:00
parent 21e5759e8e
commit eb1443883f
1 changed files with 1 additions and 1 deletions

View File

@ -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 {