History log of /packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
88bc312ad34321fb3e81be2dc939a889d065f4a7 17-Dec-2014 Keisuke Kuroyanagi <ksk@google.com> Move dictionary code to top level dictionary dir.

Bug: 18725954
Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
515c5081352a6b8feaaf570df7ddb6d3676006e7 09-Dec-2014 Keisuke Kuroyanagi <ksk@google.com> Quit auto-correct explicit accented letters to base letters.

Bug: 7677193
Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
009e02ce4a132b0f94d130c36761e18935577af1 29-Oct-2014 Adrian Velicu <adrianv@google.com> 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
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
10416241f7badaedfbafd9858deda9dca496bd08 21-Oct-2014 Adrian Velicu <adrianv@google.com> Block offensive words in multi-word suggestions

If the user has chosen to block offensive words and types
"aaaxbb", where "aaa" is an offensive word and "bb" is not,
we should not suggest "aaa bb".

Bug: 11031090
Change-Id: Ie23b8dd5d347bc26b1c046c3f5e8dfbc259bf528
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
6da9b21191dc7d6049d96945366ec7e605e716e6 12-Sep-2014 Jean Chalard <jchalard@google.com> [ML8] Add a language weight

...and rename an improperly named normalization value

Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
87a5c76906bae9546189888fa009ce0032ddad0f 10-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use WordAttributes for checking flags.

Bug: 14425059
Change-Id: Idee84478a482a0e7b5cc53e5dbd4e2484584ba79
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
9c42ad47d4c8e2ae11b51b48609948ff391e89f2 05-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Rename probability to unigramProbability.

Bug: 14425059
Change-Id: I6a204c3b8fb257d037ad95a1a455ae6fb89068fd
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
ac983b13a9ee97d9a1a0ecd4a12dff5b2e2552e5 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Use word id to get shortcut iterator.

Bug: 14425059
Change-Id: I1b35a139bd29f70b328cbc82648783b99f633d72
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
847a026cd81f52f7aee0d5fd75c14a3f8619ebaf 03-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Make dictionary structure policy return shortcut iterator.

Bug: 14425059

Change-Id: I0da22c41f818673430c285103af340397aaba9fb
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
5b69472d56eaebecab772012b5a590c5c9ce7511 31-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Remove doesAutoCorrectValidWord().

Possibly offensive words are wrongly demoted when input by
gesture.

Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
59ed0c2db2714f36c18d0882c7845455b5b3dd43 12-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Block offensive words in native code.

Bug: 15300452

Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
a6278eb9c1fbe102259cba392b1459f712ca46e7 26-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use whether it's exact match to detect distracters.

Bug: 13142176
Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
de2b312c6d00509a313c076d0be37eea5c2d41f3 02-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Use same language weight for all dictionaries.

Bug: 8187060
Change-Id: Ib9d8a8aed2c141137c1bb3c748a89fb8216293e7
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
ff1b3947c6c578c8073902d0834600bcbdd45763 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Split SuggestionsOutputUtils::outputSuggestions.

Bug: 13333066
Change-Id: Ie5e513dacdc5502e7263ddf709824bbd6bc6b74a
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
a0ea92f76c2e73e4b4bbb59680bc6cd3c33f0573 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove mPartiallyCommited.

Bug: 13333066

Change-Id: I4e3aa31aa501866c23cc4b86093b866306161bfd
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
144b9a6336181c790866b09957c543416418ebcf 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNode.managedDelete.

Change-Id: I8146975d72878ba34d1c5054a7cf5fdcc41a3332
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
d73edf23aca59e6a0a83a79cf24db3850ef473ff 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Use SuggestionResults to get suggestion.

Bug: 8187060
Bug: 13333066
Change-Id: I435096ecf8422453f9b167adb0ca3b9c8a840018
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
a83b013eecd17ccfb426608bd84280df28e3a170 27-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Remove DicNodeUtils::appendTwoWords().

Change-Id: I7402793b3f71ef5d786abea2f97bd4b624e4405f
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
865e6cf49764f3a411ee32861d927b15653ee398 07-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Revert "Revert "Use std::min() and std::max()""

This reverts commit f63000abeabfaabde5c1ea2201d63d0c4850f1e2.

Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
f63000abeabfaabde5c1ea2201d63d0c4850f1e2 07-Mar-2014 Ken Wakasa <kwakasa@google.com> Revert "Use std::min() and std::max()"

This somehow breaks TRT.

bug: 13350753

This reverts commit cf612a3abfd0cc244f8449db2cf11a0a7c680a2f.

Change-Id: I812f067e7cc8106b054527732dc6fe4efd7cc0fe
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
cf612a3abfd0cc244f8449db2cf11a0a7c680a2f 06-Mar-2014 Ken Wakasa <kwakasa@google.com> Use std::min() and std::max()

Change-Id: I2992fa16692ace2a6febedc4393812faf763638f
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp
fb1588dd3c3d6e199f4f9117353452407c039e5a 06-Mar-2014 Keisuke Kuroyanagi <ksk@google.com> Create suggest/core/result directory.

Bug: 8187060
Bug: 13333066
Change-Id: I185c93bd4542d997be101b61561a00d69111c00d
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/suggestions_output_utils.cpp