aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-08-15 11:26:06 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-15 11:26:06 +0000
commit33fce975c976424e923455e8f948f1ebe494a2cd (patch)
treee3d8335ffa3c34492272e64cd55bb14c732f3171 /native/jni/src
parent623e3f9d587a96caf3b4b88b8af8b7a81bc9347b (diff)
parent94460eba11019ec4658c42b4bcc0379d70f41770 (diff)
downloadlatinime-33fce975c976424e923455e8f948f1ebe494a2cd.tar.gz
latinime-33fce975c976424e923455e8f948f1ebe494a2cd.tar.xz
latinime-33fce975c976424e923455e8f948f1ebe494a2cd.zip
Merge "[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder."
Diffstat (limited to 'native/jni/src')
-rw-r--r--native/jni/src/suggest/core/dictionary/probability_utils.h2
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