Only set LOOKS_LIKE_TYPO if the max score meets a threshold
Bug: 5240463
Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
diff --git a/java/res/values/config.xml b/java/res/values/config.xml
index 1ffbbac..d9ff8d7 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>