diff options
author | 2013-06-11 04:20:30 -0700 | |
---|---|---|
committer | 2013-06-11 04:20:30 -0700 | |
commit | 2c895d4d3a73c5c449d5760b42c4f3d6f6e4136f (patch) | |
tree | ff8337811551d031c139d6fc89eadb7e5da08611 | |
parent | 61e9de73e09a0fd295fad407d0d5347bddeea9cb (diff) | |
parent | f473f4b1ebfd30756b520f1d1233c3391e1d35b8 (diff) | |
download | latinime-2c895d4d3a73c5c449d5760b42c4f3d6f6e4136f.tar.gz latinime-2c895d4d3a73c5c449d5760b42c4f3d6f6e4136f.tar.xz latinime-2c895d4d3a73c5c449d5760b42c4f3d6f6e4136f.zip |
am f473f4b1: Remove unused macros in defines.h
* commit 'f473f4b1ebfd30756b520f1d1233c3391e1d35b8':
Remove unused macros in defines.h
-rw-r--r-- | native/jni/src/defines.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/native/jni/src/defines.h b/native/jni/src/defines.h index e0edff584..a3cf6a4b4 100644 --- a/native/jni/src/defines.h +++ b/native/jni/src/defines.h @@ -268,9 +268,6 @@ static inline void prof_out(void) { #define NOT_A_CODE_POINT (-1) #define NOT_A_DISTANCE (-1) #define NOT_A_COORDINATE (-1) -#define MATCH_CHAR_WITHOUT_DISTANCE_INFO (-2) -#define PROXIMITY_CHAR_WITHOUT_DISTANCE_INFO (-3) -#define ADDITIONAL_PROXIMITY_CHAR_DISTANCE_INFO (-4) #define NOT_AN_INDEX (-1) #define NOT_A_PROBABILITY (-1) @@ -278,23 +275,13 @@ static inline void prof_out(void) { #define KEYCODE_SINGLE_QUOTE '\'' #define KEYCODE_HYPHEN_MINUS '-' -#define CALIBRATE_SCORE_BY_TOUCH_COORDINATES true -#define SUGGEST_MULTIPLE_WORDS true #define SUGGEST_INTERFACE_OUTPUT_SCALE 1000000.0f - -#define ZERO_DISTANCE_PROMOTION_RATE 110.0f -#define NEUTRAL_SCORE_SQUARED_RADIUS 8.0f -#define HALF_SCORE_SQUARED_RADIUS 32.0f #define MAX_PROBABILITY 255 #define MAX_BIGRAM_ENCODED_PROBABILITY 15 -#define MULTIPLE_WORDS_DEMOTION_RATE 80 // Assuming locale strings such as en_US, sr-Latn etc. #define MAX_LOCALE_STRING_LENGTH 10 -/* heuristic... This should be changed if we change the unit of the probability. */ -#define SUPPRESS_SHORT_MULTIPLE_WORDS_THRESHOLD_FREQ (MAX_PROBABILITY * 58 / 100) - // Max value for length, distance and probability which are used in weighting // TODO: Remove #define MAX_VALUE_FOR_WEIGHTING 10000000 |