diff options
author | 2012-01-27 00:01:27 -0800 | |
---|---|---|
committer | 2012-01-27 00:01:27 -0800 | |
commit | 23f486f770883ed690d897ac71de0184456bf24e (patch) | |
tree | cef7457b20c8c8725c1a84ab8741d065a54ff557 /native/src/defines.h | |
parent | c882d619bfe6eace7330c2097008500e81d39512 (diff) | |
parent | 9955716d0bb8b370eeab3bb4c9ab3108c45c7289 (diff) | |
download | latinime-23f486f770883ed690d897ac71de0184456bf24e.tar.gz latinime-23f486f770883ed690d897ac71de0184456bf24e.tar.xz latinime-23f486f770883ed690d897ac71de0184456bf24e.zip |
Merge "Merge missing space and mistyped space correction algorithm"
Diffstat (limited to 'native/src/defines.h')
-rw-r--r-- | native/src/defines.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/native/src/defines.h b/native/src/defines.h index 7e171acfd..c25f963e0 100644 --- a/native/src/defines.h +++ b/native/src/defines.h @@ -180,10 +180,9 @@ static void prof_out(void) { #define CALIBRATE_SCORE_BY_TOUCH_COORDINATES true #define SUGGEST_WORDS_WITH_MISSING_CHARACTER true -#define SUGGEST_WORDS_WITH_MISSING_SPACE_CHARACTER true #define SUGGEST_WORDS_WITH_EXCESSIVE_CHARACTER true #define SUGGEST_WORDS_WITH_TRANSPOSED_CHARACTERS true -#define SUGGEST_WORDS_WITH_SPACE_PROXIMITY true +#define SUGGEST_MULTIPLE_WORDS true // The following "rate"s are used as a multiplier before dividing by 100, so they are in percent. #define WORDS_WITH_MISSING_CHARACTER_DEMOTION_RATE 80 @@ -233,7 +232,7 @@ static void prof_out(void) { // Minimum suggest depth for one word for all cases except for missing space suggestions. #define MIN_SUGGEST_DEPTH 1 -#define MIN_USER_TYPED_LENGTH_FOR_MISSING_SPACE_SUGGESTION 3 +#define MIN_USER_TYPED_LENGTH_FOR_MULTIPLE_WORD_SUGGESTION 3 #define MIN_USER_TYPED_LENGTH_FOR_EXCESSIVE_CHARACTER_SUGGESTION 3 #define min(a,b) ((a)<(b)?(a):(b)) |