diff options
Diffstat (limited to 'java/res/values/config-auto-correction-thresholds.xml')
-rw-r--r-- | java/res/values/config-auto-correction-thresholds.xml | 6 |
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> |