maiacore android keyboard app or something
 
 
 
 
Go to file
Adrian Velicu 009e02ce4a Further fixes to treat 0-frequency words
Previously, when both legitimate 0-frequency words (such as
distracters) and offensive words were encoded in the same
way, distracters would never show up when the user blocked
offensive words (the default setting, as well as the setting
for regression tests).

When b/11031090 was fixed and a separate encoding was used
for offensive words, 0-frequency words would no longer be
blocked when they were an "exact match" (where case
mismatches and accent mismatches would be considered an
"exact match"). The exact match boosting functionality meant
that, for example, when the user typed "mt" they would be
suggested the word "Mt", although they most probably meant
to type "my".

For this reason, we introduced this change, which does the
following:
* Defines the "perfect match" as a really exact match, with
no room for case or accent mismatches
* When the target word has probability zero (as "Mt" does,
because it is a distracter), ONLY boost its score if it is a
perfect match.

By doing this, when the user types "mt", the word "Mt" will
NOT be boosted, and they will get "my". However, if the user
makes an explicit effort to type "Mt", we do boost the word
"Mt" so that the user's input is not autocorrected to "My".

Bug: 11031090
Change-Id: I92ee1b4e742645d52e2f7f8c4390920481e8fff0
2014-10-31 15:58:50 +09:00
common Move InputPointers and ResizableIntArray to common 2014-10-29 12:09:11 +09:00
dictionaries Update dictionaries (possibly_offensive flag) 2014-10-31 14:49:24 +09:00
java Update unit tests for new static dict version. 2014-10-31 14:50:18 +09:00
java-overridable/src/com/android/inputmethod Move InputPointers and ResizableIntArray to common 2014-10-29 12:09:11 +09:00
native Further fixes to treat 0-frequency words 2014-10-31 15:58:50 +09:00
tests Update unit tests for new static dict version. 2014-10-31 14:50:18 +09:00
tools Using "blacklist" flag as "possibly offensive" 2014-10-31 14:33:05 +09:00
Android.mk Add latinime-common local lib 2014-10-22 19:26:21 +09:00
CleanSpec.mk Add a clean step for LatinIME native lib. 2014-03-21 10:46:24 +09:00