diff options
author | 2013-08-15 19:11:09 +0900 | |
---|---|---|
committer | 2013-08-15 20:23:07 +0900 | |
commit | 94460eba11019ec4658c42b4bcc0379d70f41770 (patch) | |
tree | eb10b1bc9e3d2b48d7eb8536395f15eceaf0702e /native/jni/src | |
parent | 0663bc047b6023bc83c0218b3d36a65cce8d4dfc (diff) | |
download | latinime-94460eba11019ec4658c42b4bcc0379d70f41770.tar.gz latinime-94460eba11019ec4658c42b4bcc0379d70f41770.tar.xz latinime-94460eba11019ec4658c42b4bcc0379d70f41770.zip |
[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
Diffstat (limited to 'native/jni/src')
-rw-r--r-- | native/jni/src/suggest/core/dictionary/probability_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/suggest/core/dictionary/probability_utils.h b/native/jni/src/suggest/core/dictionary/probability_utils.h index f450087d8..219213574 100644 --- a/native/jni/src/suggest/core/dictionary/probability_utils.h +++ b/native/jni/src/suggest/core/dictionary/probability_utils.h @@ -41,7 +41,7 @@ class ProbabilityUtils { // the unigram probability to be the median value of the 17th step from the top. A value of // 0 for the bigram probability represents the middle of the 16th step from the top, // while a value of 15 represents the middle of the top step. - // See makedict.BinaryDictInputOutput for details. + // See makedict.BinaryDictDecoder for details. const float stepSize = static_cast<float>(MAX_PROBABILITY - unigramProbability) / (1.5f + MAX_BIGRAM_ENCODED_PROBABILITY); return unigramProbability |