diff options
author | 2014-11-20 15:55:44 +0900 | |
---|---|---|
committer | 2014-11-25 19:07:13 +0900 | |
commit | 60021bbdc25b7cda864fb3d1bf47d4f0e977e7f9 (patch) | |
tree | 7a7316da0ef2b7f989eef5d4ee2a249369a6f045 /native/jni/src/defines.h | |
parent | 78212a6d3de2c1fdaa394c58a16cbdee3ad5d046 (diff) | |
download | latinime-60021bbdc25b7cda864fb3d1bf47d4f0e977e7f9.tar.gz latinime-60021bbdc25b7cda864fb3d1bf47d4f0e977e7f9.tar.xz latinime-60021bbdc25b7cda864fb3d1bf47d4f0e977e7f9.zip |
Enable Quadgram for personalized dicts.
Before:
Total words: 1134659, Success Num: 944709, Success Percentage: 83.259%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469%
Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880%
After:
Total words: 1134665, Success Num: 945026, Success Percentage: 83.287%
Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112%
Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446%
Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808%
Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r-- | native/jni/src/defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index 0e67b4d5a..10b930e4f 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -275,7 +275,7 @@ static inline void showStackTrace() { #define MAX_POINTER_COUNT_G 2 // (MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1)-gram is supported. -#define MAX_PREV_WORD_COUNT_FOR_N_GRAM 2 +#define MAX_PREV_WORD_COUNT_FOR_N_GRAM 3 #define DISALLOW_DEFAULT_CONSTRUCTOR(TypeName) \ TypeName() = delete |