diff options
author | 2011-09-29 03:58:27 -0700 | |
---|---|---|
committer | 2011-09-29 03:58:27 -0700 | |
commit | db096d681f40b8547b4ce83d07d8d8b54e30634e (patch) | |
tree | 22457810976009adb60571ce794ef679a4b998dd /native/src/correction.h | |
parent | a45c6f24c3fe8ffc82cf0e80a0e808eb91dd2065 (diff) | |
parent | 40a5f6fa4df529bf21813d54fc20ffe5b3cbe436 (diff) | |
download | latinime-db096d681f40b8547b4ce83d07d8d8b54e30634e.tar.gz latinime-db096d681f40b8547b4ce83d07d8d8b54e30634e.tar.xz latinime-db096d681f40b8547b4ce83d07d8d8b54e30634e.zip |
Merge "Add a flag to demote completed suggestions"
Diffstat (limited to 'native/src/correction.h')
-rw-r--r-- | native/src/correction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/native/src/correction.h b/native/src/correction.h index 41130ad77..ddb98b9d8 100644 --- a/native/src/correction.h +++ b/native/src/correction.h @@ -44,7 +44,7 @@ public: // TODO: remove void setCorrectionParams(const int skipPos, const int excessivePos, const int transposedPos, - const int spaceProximityPos, const int missingSpacePos); + const int spaceProximityPos, const int missingSpacePos, const bool useFullEditDistance); void checkState(); bool initProcessState(const int index); @@ -111,6 +111,7 @@ private: const int FULL_WORD_MULTIPLIER; const ProximityInfo *mProximityInfo; + bool mUseFullEditDistance; int mMaxEditDistance; int mMaxDepth; int mInputLength; |