aboutsummaryrefslogtreecommitdiffstats
path: root/java/res
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-11-26 10:41:33 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-11-26 10:41:33 +0000
commit88e021f2ef7d3a7e1df60d4cdd08a6f6bcc99c57 (patch)
treed6edf8e485c4117cabecdce4dc38a1c5976784e8 /java/res
parent9ab179a14247a91110940c3fe27da4004e6b952f (diff)
parent56577461d63ad3618598ceddfb9a73b797917061 (diff)
downloadlatinime-88e021f2ef7d3a7e1df60d4cdd08a6f6bcc99c57.tar.gz
latinime-88e021f2ef7d3a7e1df60d4cdd08a6f6bcc99c57.tar.xz
latinime-88e021f2ef7d3a7e1df60d4cdd08a6f6bcc99c57.zip
am 56577461: Allow whitelist changes when no close word
* commit '56577461d63ad3618598ceddfb9a73b797917061': Allow whitelist changes when no close word
Diffstat (limited to 'java/res')
-rw-r--r--java/res/values/config-auto-correction-thresholds.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/java/res/values/config-auto-correction-thresholds.xml b/java/res/values/config-auto-correction-thresholds.xml
index 7d94a42a4..fc701c7ff 100644
--- a/java/res/values/config-auto-correction-thresholds.xml
+++ b/java/res/values/config-auto-correction-thresholds.xml
@@ -34,6 +34,12 @@
<item>floatNegativeInfinity</item>
</string-array>
+ <!-- Chosen to be slightly less than the "aggressive" threshold. This is the threshold for
+ a mildly plausible suggestion given the input; if no "plausible" suggestion is present
+ for a language, it's a strong indicator the user is not typing in this language, so we
+ may be more forgiving of whitelist entries in another language. -->
+ <string name="plausibility_threshold" translatable="false">0.065</string>
+
<!-- The index of the auto correction threshold values array. -->
<string name="auto_correction_threshold_mode_index_off" translatable="false">0</string>
<string name="auto_correction_threshold_mode_index_modest" translatable="false">1</string>