aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils/ScriptUtils.java
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-07-30 17:26:26 +0900
committerKeisuke Kuroyanagi <ksk@google.com>2014-07-30 17:26:26 +0900
commitbd1f59bda5ad0b7028ec06c2de078f1623e76cdd (patch)
tree481bbb5aea162f9ed109f51b5118bf42933e3020 /java/src/com/android/inputmethod/latin/utils/ScriptUtils.java
parent2d57b3339ad5b4bbf0939858c36c7daf5e38a4cb (diff)
downloadlatinime-bd1f59bda5ad0b7028ec06c2de078f1623e76cdd.tar.gz
latinime-bd1f59bda5ad0b7028ec06c2de078f1623e76cdd.tar.xz
latinime-bd1f59bda5ad0b7028ec06c2de078f1623e76cdd.zip
Remove PrevWordsInfo.getBigramsIteratorForPrediction().
This changes the behavior of predictions for some rare cases. For example, let's consider the case of the prev word is "ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have any bigrams, and "abc" has bigrams. Without this change, "abc"'s bigrams are used for prediction. But, with this change, "abc"'s bigrams are not used for prediction. This strategy is the same as the the current way of bigram probability computation during traversal (for suggestion). Bug: 14425059 Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils/ScriptUtils.java')
0 files changed, 0 insertions, 0 deletions