aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-09-02 14:36:04 +0900
committerJean Chalard <jchalard@google.com>2011-09-05 12:31:43 +0900
commit59b501a05078e5a9de7cdace19c51ca693076a17 (patch)
treeb5dcadccb62968a6f35173c96a7e0ddc0fd02112 /java/res
parent787bac06031f0f1554785cd4f09ef4e0ec121f5d (diff)
downloadlatinime-59b501a05078e5a9de7cdace19c51ca693076a17.tar.gz
latinime-59b501a05078e5a9de7cdace19c51ca693076a17.tar.xz
latinime-59b501a05078e5a9de7cdace19c51ca693076a17.zip
Only set LOOKS_LIKE_TYPO if the max score meets a threshold
Bug: 5240463 Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/config.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/res/values/config.xml b/java/res/values/config.xml
index 1ffbbacbe..d9ff8d7b9 100644
--- a/java/res/values/config.xml
+++ b/java/res/values/config.xml
@@ -80,6 +80,8 @@
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">0.11</string>
<!-- Screen metrics for logging. 0 = "mdpi", 1 = "hdpi", 2 = "xlarge" -->
<integer name="log_screen_metrics">0</integer>
<bool name="config_require_umlaut_processing">false</bool>