Merge "Don't kill suggestions with native score < 1"
commit
6d25be9ac5
|
@ -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