diff options
author | 2011-10-06 19:12:20 +0900 | |
---|---|---|
committer | 2011-10-11 15:28:32 +0900 | |
commit | a4c1f1c1fde5e9492523842dd95a4c9f17f40c3a (patch) | |
tree | b8442a6f2bf365d840bcb94d8843b2404203b151 /native/src/correction_state.h | |
parent | ce9e4f926b69745834df677501e59c6db3744de4 (diff) | |
download | latinime-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.h | 2 |
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; |