diff options
author | 2013-05-28 07:27:52 +0000 | |
---|---|---|
committer | 2013-05-28 07:27:53 +0000 | |
commit | 07e56e76a77ee4164201b7f48aa6f7c8d69a81b9 (patch) | |
tree | cbf85c5050b4f98312c0be682078c711779a5add /java/src/com/android/inputmethod/latin/SuggestedWords.java | |
parent | 1b46738796eafa2dc062f4a93b0ea42023945737 (diff) | |
parent | 3d97b95b90a1c40a22981d563e12cfe86f60ae71 (diff) | |
download | latinime-07e56e76a77ee4164201b7f48aa6f7c8d69a81b9.tar.gz latinime-07e56e76a77ee4164201b7f48aa6f7c8d69a81b9.tar.xz latinime-07e56e76a77ee4164201b7f48aa6f7c8d69a81b9.zip |
Merge "Implement KIND_OOV_CORRECTION"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SuggestedWords.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SuggestedWords.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/SuggestedWords.java b/java/src/com/android/inputmethod/latin/SuggestedWords.java index dfddb0ffe..1f453273b 100644 --- a/java/src/com/android/inputmethod/latin/SuggestedWords.java +++ b/java/src/com/android/inputmethod/latin/SuggestedWords.java @@ -132,7 +132,10 @@ public final class SuggestedWords { public static final int KIND_APP_DEFINED = 6; // Suggested by the application public static final int KIND_SHORTCUT = 7; // A shortcut public static final int KIND_PREDICTION = 8; // A prediction (== a suggestion with no input) - public static final int KIND_RESUMED = 9; // A resumed suggestion (comes from a span) + // KIND_RESUMED: A resumed suggestion (comes from a span, currently this type is used only + // in java for re-correction) + public static final int KIND_RESUMED = 9; + public static final int KIND_OOV_CORRECTION = 10; // Most probable string correction public static final int KIND_MASK_FLAGS = 0xFFFFFF00; // Mask to get the flags public static final int KIND_FLAG_POSSIBLY_OFFENSIVE = 0x80000000; |