aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-09-29 01:47:50 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-29 01:47:50 -0700
commit3ff95b72908818dac3615e14a0ba3bf626e05dd7 (patch)
tree511d098498909a6290ccddafd8190699cc5fcd6f /java/res
parent43149e454c31dde869ae5dfebb1245d9687efc70 (diff)
parent4609c02f9e61370557fee675c67263160fbf7fee (diff)
downloadlatinime-3ff95b72908818dac3615e14a0ba3bf626e05dd7.tar.gz
latinime-3ff95b72908818dac3615e14a0ba3bf626e05dd7.tar.xz
latinime-3ff95b72908818dac3615e14a0ba3bf626e05dd7.zip
Merge "Add a threshold for suggestion score."
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/config.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/java/res/values/config.xml b/java/res/values/config.xml
index 999247839..bcce58123 100644
--- a/java/res/values/config.xml
+++ b/java/res/values/config.xml
@@ -82,8 +82,10 @@
will be subject to auto-correction. -->
<item>0</item>
</string-array>
- <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare a word to be a typo -->
- <string name="spellchecker_typo_threshold_value" translatable="false">0.11</string>
+ <!-- Threshold of the normalized score of the best suggestion for the spell checker to declare a word to be "likely" -->
+ <string name="spellchecker_likely_threshold_value" translatable="false">0.11</string>
+ <!-- Threshold of the normalized score of any dictionary lookup to be offered as a suggestion by the spell checker -->
+ <string name="spellchecker_suggestion_threshold_value" translatable="false">0.03</string>
<!-- Screen metrics for logging.
0 = "mdpi phone screen"
1 = "hdpi phone screen"