diff options
author | 2012-01-27 00:03:29 -0800 | |
---|---|---|
committer | 2012-01-27 00:03:29 -0800 | |
commit | 0920173bcb2c9c4e4dbe9f122862aae03b52724d (patch) | |
tree | cef7457b20c8c8725c1a84ab8741d065a54ff557 /native/src/defines.h | |
parent | fecba89713650871bf70cca08a77e6db360c0579 (diff) | |
parent | 23f486f770883ed690d897ac71de0184456bf24e (diff) | |
download | latinime-0920173bcb2c9c4e4dbe9f122862aae03b52724d.tar.gz latinime-0920173bcb2c9c4e4dbe9f122862aae03b52724d.tar.xz latinime-0920173bcb2c9c4e4dbe9f122862aae03b52724d.zip |
am 23f486f7: Merge "Merge missing space and mistyped space correction algorithm"
* commit '23f486f770883ed690d897ac71de0184456bf24e':
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)) |