aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryFactory.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-06-26 20:40:42 +0900
committerJean Chalard <jchalard@google.com>2012-06-26 20:40:42 +0900
commit7e49a2b6b8ad341d467d47adf45c58d22f4a05c6 (patch)
treeafa67985a4a5713f48de060885ae1f4c7a4675cc /java/src/com/android/inputmethod/latin/DictionaryFactory.java
parent22657dcba07fc54919020119408cb71d187a14fd (diff)
downloadlatinime-7e49a2b6b8ad341d467d47adf45c58d22f4a05c6.tar.gz
latinime-7e49a2b6b8ad341d467d47adf45c58d22f4a05c6.tar.xz
latinime-7e49a2b6b8ad341d467d47adf45c58d22f4a05c6.zip
Remove some special casing
This special casing is useless. If the word is the same as what user typed, the scoring algorithm already ensures that it comes out at the top. Actually, as is written in a comment here, code executed later is actively relying on this suggestion having the top score ! There is no need to test it for equalness and inserting it at the top then. Change-Id: I263a6de59b77ec72a2dcbb933361b8e16fca0681
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DictionaryFactory.java')
0 files changed, 0 insertions, 0 deletions