LatinIME/java
Jean Chalard d631651b12 Avoid the removal of high-ranking exactly typed candidates.
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).

The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.

In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.

bug: 4100269

Change-Id: I18c0575332981ffec0e257e26a360995838d521e
2011-03-15 21:12:38 -07:00
..
res Import revised translations. DO NOT MERGE 2011-03-15 14:49:18 -07:00
src/com/android/inputmethod Avoid the removal of high-ranking exactly typed candidates. 2011-03-15 21:12:38 -07:00
Android.mk Consolidate main dictionary files. 2011-01-05 11:31:58 +09:00
AndroidManifest.xml Disable shortcut key when network is not available 2011-01-26 17:07:55 +09:00
MODULE_LICENSE_APACHE2 Clarify licensing 2010-04-05 09:47:36 -07:00
NOTICE Clarify licensing 2010-04-05 09:47:36 -07:00
proguard.flags Fix unit test helper 2011-03-03 23:06:45 -08:00