aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-11-20 15:55:44 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-11-25 19:07:13 +0900
commit60021bbdc25b7cda864fb3d1bf47d4f0e977e7f9 (patch)
tree7a7316da0ef2b7f989eef5d4ee2a249369a6f045 /common/src/com/android/inputmethod/latin
parent78212a6d3de2c1fdaa394c58a16cbdee3ad5d046 (diff)
downloadlatinime-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 'common/src/com/android/inputmethod/latin')
-rw-r--r--common/src/com/android/inputmethod/latin/common/Constants.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/src/com/android/inputmethod/latin/common/Constants.java b/common/src/com/android/inputmethod/latin/common/Constants.java
index abc377a84..a860d3560 100644
--- a/common/src/com/android/inputmethod/latin/common/Constants.java
+++ b/common/src/com/android/inputmethod/latin/common/Constants.java
@@ -179,7 +179,7 @@ public final class Constants {
// (MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1)-gram is supported in Java side. Needs to modify
// MAX_PREV_WORD_COUNT_FOR_N_GRAM in native/jni/src/defines.h for suggestions.
- public static final int MAX_PREV_WORD_COUNT_FOR_N_GRAM = 2;
+ public static final int MAX_PREV_WORD_COUNT_FOR_N_GRAM = 3;
// Key events coming any faster than this are long-presses.
public static final int LONG_PRESS_MILLISECONDS = 200;