aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-01-26 20:10:31 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-01-26 20:10:31 -0800
commitb5d7857fbc28d311d93de10d9e99f26045a518f0 (patch)
tree1230bc83b015e01db33ec00c08f51028a7492786 /native/src/defines.h
parent5c73753e67e97d5085abcd6c343911ec7d87212e (diff)
parent58c49b91322847dc453742cb34c2899da9b44479 (diff)
downloadlatinime-b5d7857fbc28d311d93de10d9e99f26045a518f0.tar.gz
latinime-b5d7857fbc28d311d93de10d9e99f26045a518f0.tar.xz
latinime-b5d7857fbc28d311d93de10d9e99f26045a518f0.zip
Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
Diffstat (limited to 'native/src/defines.h')
-rw-r--r--native/src/defines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/src/defines.h b/native/src/defines.h
index 71aaf28ae..7374526ca 100644
--- a/native/src/defines.h
+++ b/native/src/defines.h
@@ -134,6 +134,7 @@ static void prof_out(void) {
#define WORDS_WITH_EXCESSIVE_CHARACTER_DEMOTION_RATE 75
#define WORDS_WITH_EXCESSIVE_CHARACTER_OUT_OF_PROXIMITY_DEMOTION_RATE 75
#define WORDS_WITH_TRANSPOSED_CHARACTERS_DEMOTION_RATE 60
+#define FULL_MATCHED_WORDS_PROMOTION_RATE 120
// This should be greater than or equal to MAX_WORD_LENGTH defined in BinaryDictionary.java
// This is only used for the size of array. Not to be used in c functions.