diff options
author | 2013-10-09 17:53:32 -0700 | |
---|---|---|
committer | 2013-10-09 17:53:32 -0700 | |
commit | 645d992786ab521bbfa4533dc7f9de4f76dac475 (patch) | |
tree | 57701f8da962532e98bd38b3084f7d83a342534a /native/jni/src/defines.h | |
parent | d8d2a9fca7b63959d2aaab8effb59f5d22565a48 (diff) | |
parent | bff2d14d1caf4d70f8c1fdcbbf8e9b41209a3e94 (diff) | |
download | latinime-645d992786ab521bbfa4533dc7f9de4f76dac475.tar.gz latinime-645d992786ab521bbfa4533dc7f9de4f76dac475.tar.xz latinime-645d992786ab521bbfa4533dc7f9de4f76dac475.zip |
am bff2d14d: am 74730a46: Merge "Create the wiring for auto-commit confidence computation."
* commit 'bff2d14d1caf4d70f8c1fdcbbf8e9b41209a3e94':
Create the wiring for auto-commit confidence computation.
Diffstat (limited to 'native/jni/src/defines.h')
-rw-r--r-- | native/jni/src/defines.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index c2aa8ba0e..c920f64b4 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -298,6 +298,9 @@ static inline void prof_out(void) { #define NOT_AN_INDEX (-1) #define NOT_A_PROBABILITY (-1) #define NOT_A_DICT_POS (S_INT_MIN) +// A special value to mean the first word confidence makes no sense in this case, +// e.g. this is not a multi-word suggestion. +#define NOT_A_FIRST_WORD_CONFIDENCE (S_INT_MIN) #define KEYCODE_SPACE ' ' #define KEYCODE_SINGLE_QUOTE '\'' |