aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction_state.h
diff options
context:
space:
mode:
authorYusuke Nojima <nojima@google.com>2011-10-06 19:12:20 +0900
committerYusuke Nojima <nojima@google.com>2011-10-11 15:28:32 +0900
commita4c1f1c1fde5e9492523842dd95a4c9f17f40c3a (patch)
treeb8442a6f2bf365d840bcb94d8843b2404203b151 /native/src/correction_state.h
parentce9e4f926b69745834df677501e59c6db3744de4 (diff)
downloadlatinime-a4c1f1c1fde5e9492523842dd95a4c9f17f40c3a.tar.gz
latinime-a4c1f1c1fde5e9492523842dd95a4c9f17f40c3a.tar.xz
latinime-a4c1f1c1fde5e9492523842dd95a4c9f17f40c3a.zip
Calibrate the scores of the proximity chars according to the distances.
+1 75 -1 27 +2 0 -2 0 +3 0 -3 0 +4 30 -4 48 +5 37 -5 27 +6 4 -6 35 +7 9 -7 18 Change-Id: I3c6ab06a0084c18ab595147c36c2ff4b1e961a7b
Diffstat (limited to 'native/src/correction_state.h')
-rw-r--r--native/src/correction_state.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/native/src/correction_state.h b/native/src/correction_state.h
index fff5cd578..c04146e54 100644
--- a/native/src/correction_state.h
+++ b/native/src/correction_state.h
@@ -29,7 +29,6 @@ struct CorrectionState {
uint16_t mChildCount;
uint8_t mInputIndex;
- int32_t mSumOfDistance;
uint8_t mEquivalentCharCount;
uint8_t mProximityCount;
uint8_t mTransposedCount;
@@ -65,7 +64,6 @@ inline static void initCorrectionState(CorrectionState *state, const int rootPos
state->mExcessivePos = -1;
state->mSkipPos = -1;
- state->mSumOfDistance = 0;
state->mEquivalentCharCount = 0;
state->mProximityCount = 0;
state->mTransposedCount = 0;