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/utils/ngram_utils.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/utils/ngram_utils.h')
-rw-r--r-- | native/jni/src/utils/ngram_utils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/native/jni/src/utils/ngram_utils.h b/native/jni/src/utils/ngram_utils.h index 6227812d4..fa85ba35f 100644 --- a/native/jni/src/utils/ngram_utils.h +++ b/native/jni/src/utils/ngram_utils.h @@ -25,6 +25,7 @@ enum class NgramType : int { Unigram = 0, Bigram = 1, Trigram = 2, + Quadgram = 3, NotANgramType = -1, }; |