aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-08-11 16:27:28 +0900
committersatok <satok@google.com>2011-08-11 17:18:23 +0900
commitf3948c1eacee57a9ba4b689ada992cd460596d9f (patch)
tree3938e7e093efadfa52c16a84a3b53cbd23f91a68 /native/src/correction.h
parent635f68e8222901d607a5ca6fab95985bc496d72a (diff)
downloadlatinime-f3948c1eacee57a9ba4b689ada992cd460596d9f.tar.gz
latinime-f3948c1eacee57a9ba4b689ada992cd460596d9f.tar.xz
latinime-f3948c1eacee57a9ba4b689ada992cd460596d9f.zip
Calculate the skip correction by one loop
Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
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;