aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-09-29 16:04:36 +0900
committerJean Chalard <jchalard@google.com>2011-09-29 17:38:08 +0900
commit4609c02f9e61370557fee675c67263160fbf7fee (patch)
tree508d8480244eeace78636b188107af7d990dc867 /java/res
parentb45e095aa205c25c29689be6c5db3308fb97e673 (diff)
downloadlatinime-4609c02f9e61370557fee675c67263160fbf7fee.tar.gz
latinime-4609c02f9e61370557fee675c67263160fbf7fee.tar.xz
latinime-4609c02f9e61370557fee675c67263160fbf7fee.zip
Add a threshold for suggestion score.
Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
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"