aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-08-11 01:25:08 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-11 01:25:08 -0700
commitc122cfc8fd9e14d8b6e193770b33cf669ff6239c (patch)
tree694ef272a9c23a8910ed478db46c83c445aa4c48 /native/src/correction.h
parent28966734619251f78812f6a53f5efacbf5f77c49 (diff)
parentf3948c1eacee57a9ba4b689ada992cd460596d9f (diff)
downloadlatinime-c122cfc8fd9e14d8b6e193770b33cf669ff6239c.tar.gz
latinime-c122cfc8fd9e14d8b6e193770b33cf669ff6239c.tar.xz
latinime-c122cfc8fd9e14d8b6e193770b33cf669ff6239c.zip
Merge "Calculate the skip correction by one loop"
Diffstat (limited to 'native/src/correction.h')
-rw-r--r--native/src/correction.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/native/src/correction.h b/native/src/correction.h
index 62fe38696..0aa5660a6 100644
--- a/native/src/correction.h
+++ b/native/src/correction.h
@@ -120,7 +120,6 @@ private:
int mMaxEditDistance;
int mMaxDepth;
int mInputLength;
- int mSkipPos;
int mExcessivePos;
int mTransposedPos;
int mSpaceProximityPos;
@@ -137,6 +136,7 @@ private:
int mDiffs;
int mMatchedCharCount;
int mSkippedCount;
+ int mSkipPos;
bool mNeedsToTraverseAllNodes;
bool mMatching;
bool mSkipping;