aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
diff options
context:
space:
mode:
authorKurt Partridge <kep@google.com>2013-04-15 18:41:59 -0700
committerKurt Partridge <kep@google.com>2013-04-19 08:55:39 -0700
commite92b5e145f74808ff778a42dc5ba979aa27343ca (patch)
tree629dd787ce4ffd4bbd763edad6d5252b9ca1ab17 /java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java
parent56f35a10cde1beeea51d99427992d832fa2de2bb (diff)
downloadlatinime-e92b5e145f74808ff778a42dc5ba979aa27343ca.tar.gz
latinime-e92b5e145f74808ff778a42dc5ba979aa27343ca.tar.xz
latinime-e92b5e145f74808ff778a42dc5ba979aa27343ca.zip
Allow LogUnits to hold >1 word
LogUnits have been annotated with the autocorrected words, but until now this was assumed to be a single word without spaces. But spaceless typing can result in spaces in the LogUnit label. With this change, the LogUnit inspects the autocorrected text to determine how many words were inserted, and counts them accurately. This change corrects a privacy problem, which was that if the word sampling algorithm chose a LogUnit that actually contained multiple words, then more than two successive words would be included in the log. Change-Id: I7c01c3dd3ac33d7e96c00836256bae9c14b124ed
Diffstat (limited to 'java/src/com/android/inputmethod/dictionarypack/UpdateHandler.java')
0 files changed, 0 insertions, 0 deletions