diff options
author | 2012-01-30 13:53:58 +0900 | |
---|---|---|
committer | 2012-01-30 18:01:25 +0900 | |
commit | 1f6b52e76c59700984fe2b7d7b436d81da997e93 (patch) | |
tree | 335c7abb4c6e5a567397764d7cc20124bbcde1bf /native/src/defines.h | |
parent | 38a3ad3e3ca1b4e594bcd189277454d12619b868 (diff) | |
download | latinime-1f6b52e76c59700984fe2b7d7b436d81da997e93.tar.gz latinime-1f6b52e76c59700984fe2b7d7b436d81da997e93.tar.xz latinime-1f6b52e76c59700984fe2b7d7b436d81da997e93.zip |
Implement multi words suggestions step1
Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b
Diffstat (limited to 'native/src/defines.h')
-rw-r--r-- | native/src/defines.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/native/src/defines.h b/native/src/defines.h index c25f963e0..3f3f5ba5c 100644 --- a/native/src/defines.h +++ b/native/src/defines.h @@ -216,15 +216,15 @@ static void prof_out(void) { #define SUB_QUEUE_MAX_WORDS 1 #define SUB_QUEUE_MAX_COUNT 10 #define SUB_QUEUE_MIN_WORD_LENGTH 4 -#define SUB_QUEUE_MAX_WORD_INDEX 2 +#define MULTIPLE_WORDS_SUGGESTION_MAX_WORDS 2 #define TWO_WORDS_CORRECTION_WITH_OTHER_ERROR_THRESHOLD 0.39 #define START_TWO_WORDS_CORRECTION_THRESHOLD 0.22 #define MAX_DEPTH_MULTIPLIER 3 -#define FIRST_WORD_INDEX 1 -#define SECOND_WORD_INDEX 2 +#define FIRST_WORD_INDEX 0 +#define SECOND_WORD_INDEX 1 // TODO: Reduce this constant if possible; check the maximum number of umlauts in the same German // word in the dictionary |