Merge "Fix a bug that a word with only one missing word is not promoted" into honeycomb-mr1

main
satok 2011-03-07 18:15:39 -08:00 committed by Android (Google) Code Review
commit 463418385c
1 changed files with 1 additions and 1 deletions

View File

@ -521,7 +521,7 @@ inline int UnigramDictionary::calculateFinalFreq(const int inputIndex, const int
finalFreq = capped255MultForFullMatchAccentsOrCapitalizationDifference(finalFreq);
}
}
if (sameLength && skipPos < 0) finalFreq *= FULL_WORD_MULTIPLIER;
if (sameLength) finalFreq *= FULL_WORD_MULTIPLIER;
return finalFreq;
}