am 6d25be9a: Merge "Don\'t kill suggestions with native score < 1"
* commit '6d25be9ac5e30c956fb7ee3ad43fc67ccbfcb92b': Don't kill suggestions with native score < 1main
commit
72e8d94288
|
@ -141,7 +141,6 @@ public final class BinaryDictionary extends Dictionary {
|
||||||
mOutputTypes);
|
mOutputTypes);
|
||||||
final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList();
|
final ArrayList<SuggestedWordInfo> suggestions = CollectionUtils.newArrayList();
|
||||||
for (int j = 0; j < count; ++j) {
|
for (int j = 0; j < count; ++j) {
|
||||||
if (composerSize > 0 && mOutputScores[j] < 1) break;
|
|
||||||
final int start = j * MAX_WORD_LENGTH;
|
final int start = j * MAX_WORD_LENGTH;
|
||||||
int len = 0;
|
int len = 0;
|
||||||
while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) {
|
while (len < MAX_WORD_LENGTH && mOutputCodePoints[start + len] != 0) {
|
||||||
|
|
Loading…
Reference in New Issue