am 46341838
: Merge "Fix a bug that a word with only one missing word is not promoted" into honeycomb-mr1
* commit '463418385c2bca0ec13a3f720e0dbdbe769004bd': Fix a bug that a word with only one missing word is not promoted
This commit is contained in:
commit
36e2abdd3b
1 changed files with 1 additions and 1 deletions
|
@ -521,7 +521,7 @@ inline int UnigramDictionary::calculateFinalFreq(const int inputIndex, const int
|
||||||
finalFreq = capped255MultForFullMatchAccentsOrCapitalizationDifference(finalFreq);
|
finalFreq = capped255MultForFullMatchAccentsOrCapitalizationDifference(finalFreq);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (sameLength && skipPos < 0) finalFreq *= FULL_WORD_MULTIPLIER;
|
if (sameLength) finalFreq *= FULL_WORD_MULTIPLIER;
|
||||||
return finalFreq;
|
return finalFreq;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue