aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h
diff options
context:
space:
mode:
authorsatok <satok@google.com>2011-01-26 21:15:53 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2011-01-26 21:15:53 -0800
commit2580492aa05a1fe22e59e7d6ba3296b19e4ae4e7 (patch)
tree1230bc83b015e01db33ec00c08f51028a7492786 /native/src/defines.h
parentd4a0e7461090e9f5e9f3f9427d9b7820cea2ff7c (diff)
parentb5d7857fbc28d311d93de10d9e99f26045a518f0 (diff)
downloadlatinime-2580492aa05a1fe22e59e7d6ba3296b19e4ae4e7.tar.gz
latinime-2580492aa05a1fe22e59e7d6ba3296b19e4ae4e7.tar.xz
latinime-2580492aa05a1fe22e59e7d6ba3296b19e4ae4e7.zip
am b5d7857f: Merge "Fix auto-correction threshold and promote full matched words" into honeycomb
* commit 'b5d7857fbc28d311d93de10d9e99f26045a518f0': Fix auto-correction threshold and promote full matched words
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.