aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make the typed word a SuggestedWordInfo•••That allows to carry the language information in an accurate manner. Bug: 18063142 Change-Id: I0bca8981372ae10648274095b18b26a3686b762b Jean Chalard2014-11-201-15/+18
* Remove a deprecated constructor to SuggestedWords•••Change-Id: If4d358b3a11fb25fc214c728269519d8c25f9adc Jean Chalard2014-11-071-1/+5
* Merge "Remove Dict dependency on WordComposer and ProximityInfo"Jean Chalard2014-10-311-4/+4
|\
| * Remove Dict dependency on WordComposer and ProximityInfo•••Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880 Jean Chalard2014-10-291-4/+4
* | Merge "[CS8] Add explanations"Jean Chalard2014-10-291-16/+28
|\ \ | |/ |/|
| * [CS8] Add explanations•••Bug: 13238601 Change-Id: I72a78be5848485f7fd77f5586573692529c7547b Jean Chalard2014-10-281-16/+28
* | Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
|/
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-0/+1
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-1/+1
* Enforce a length limit to auto-correction for some languages•••Bug: 15379262 Change-Id: I27fad12f468b5bc6ad1a0876aac72e5f5ca5760a Jean Chalard2014-10-171-2/+58
* [ML15] First step in removing DictionaryFacilitator.getLocale•••Bug: 11230254 Change-Id: Ied010ec6f1024080e8a499f682d2fc1780e82ef7 Jean Chalard2014-10-071-6/+6
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-7/+7
* Fix showing important notice even at beginning of sentence•••This is a cherry-pick of Ic72d6fecc3 from lmp-dev. Bug: 17536096 Change-Id: Id76b8f8dc85d03bc7ed5f24800301c081a82a8d2 Tadashi G. Takaoka2014-09-181-2/+10
* Making spelling of the word "distracters" consistent•••Bug: 17537869 Change-Id: Ibfc1c84aff72aeb76c9b127503369d00f3dfaceb Adrian Velicu2014-09-171-1/+1
* [ML7] Have multiple DictionaryGroup instances in facilitator•••This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d Jean Chalard2014-09-161-1/+1
* [ML3] Put the locale in SuggestedWordInfo•••...and remove it from SuggestionResults. Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd Jean Chalard2014-09-011-6/+10
* Fix a bug where the top prediction would disappear.•••This is because prediction can't be easily distinguished in style. This fixes the bug by simulating the right members, but some refactoring should be done to remove useless booleans. Bug: 17271923 Change-Id: Ib88f3fb95678021624e59535492926dd315d26fb Jean Chalard2014-08-261-6/+6
* Add the input style to SuggestedWords.•••Change-Id: I81f37d08659d449822b027d3d5912e11eec8b8ff Jean Chalard2014-08-141-19/+18
* Rename LatinImeLogger to DebugFlags•••Bug: 15318007 Change-Id: Ic0268fd12865c9a692a5e7110a9beb76cb8b6d7f Tadashi G. Takaoka2014-07-161-1/+2
* Move phrase gesture from additional features to public.•••Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba Keisuke Kuroyanagi2014-07-081-14/+11
* [CS6] Cut out methods to clarify what we are doing•••Bug: 13238601 Change-Id: I99cc62e91b1e89130358fded572987023d919507 Jean Chalard2014-06-301-39/+45
* [CS5] Use a local var to keep the first suggestion•••Bug: 13238601 Change-Id: Ida8973945e8b141d01ea9d1825b89d84f0911575 Jean Chalard2014-06-271-6/+7
* Fix the build•••That was a merge not well resolved by git >.> Change-Id: I3cd042d6a5206daf1e9942358405d647c67423dd Jean Chalard2014-06-261-1/+1
* [CS4] Remove useless tests and processing•••Since we have a de-duped and transformed collection, we can just read from it instead of computing it separately. Bug: 13238601 Change-Id: I0aa4b0d91d3b350f9449e13658bfb587fc538764 Jean Chalard2014-06-261-22/+9
* [CS3] Move transformation of words to earlier•••Bug: 13238601 Change-Id: I37fe66c6152cdf8c60878d5619bb5dc41f3223df Jean Chalard2014-06-231-15/+15
* [CS2] Refactor a bit removeDups•••This way is more understandable, and also supporting an external string is helping for future refactorings Bug: 13238601 Change-Id: I4ebeed46eb0b35011164946af71ac257c6449ddb Jean Chalard2014-06-231-2/+2
* [CS1] Some initial clean up•••Bug: 13238601 Change-Id: I54ee9a85ecfee3c50c8db3eb4cd6f391a775a630 Jean Chalard2014-06-231-24/+17
* [CM1] Let predictions be aware of capitalize mode.•••Bug: 15554503 Change-Id: If5e8c0d94ed26d929400ccbb0d45ac23dd98d180 Jean Chalard2014-06-161-1/+2
* Remove mPrevWordsInfo•••This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721 Jean Chalard2014-06-101-8/+8
* Remove LatinImeLogger and UsabilityStudyLogUtils•••This CL must be checked in together with Ie52007dc5c. Bug: 15318007 Change-Id: Ie665f296e43b5485ae8ba7e949aa262794ee0dcc Tadashi G. Takaoka2014-05-291-13/+0
* Stop directly checking SuggestedWordInfo.mKind•••Bug: 15298959 Change-Id: Iba6eeb7981634e7ddb896404978b30f6efd6e72f Keisuke Kuroyanagi2014-05-281-1/+1
* Use whether it's exact match to detect distracters.•••Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf Keisuke Kuroyanagi2014-05-261-2/+2
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-7/+5
* Merge "Revert "Fix: too many calls to getSuggestedWordsForTypingInput""Ken Wakasa2014-05-231-0/+1
|\
| * Revert "Fix: too many calls to getSuggestedWordsForTypingInput"•••This reverts commit 7aa895e2e3edb59620c28354c7d7746b93964b10. Bug: 15148015 Change-Id: If39c4f8b897f247d4eb935923d55d81def4c8fb4 Ken Wakasa2014-05-231-0/+1
* | Have DictionaryFacilitator in LatinIME.•••Bug: 13142176 Bug: 15094186 Change-Id: I9da67352ff2abcd289fa5885389895ced878a413 Keisuke Kuroyanagi2014-05-231-2/+5
* | Merge "Don't upcase suggestions when resuming on an uppercase word"Jean Chalard2014-05-221-1/+4
|\ \ | |/ |/|
| * Don't upcase suggestions when resuming on an uppercase word•••Bug: 13917781 Change-Id: I7458d120898a7c8c0bc2db2f6db3578fd1dd1681 Jean Chalard2014-05-221-1/+4
* | Fix: too many calls to getSuggestedWordsForTypingInput•••Bug: 15148015 Change-Id: Idcb729734bd62b537fb81acf8bdb5cae4470404c Jean Chalard2014-05-221-1/+0
|/
* Use PrevWordsInfo instead of String in Java side.•••Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762 Keisuke Kuroyanagi2014-05-191-8/+8
* Fix: StringIndexOutOfBoundsException.•••Bug: 14985751 Change-Id: I9df2f737555ab02e24e0fbd231a97c1eec26bc57 Keisuke Kuroyanagi2014-05-161-1/+1
* [CB14.5] Stop copying WordComposers.•••This is an overdue refactoring that I have been wanted to do forever, and that we can at last do now that suggestions come only from instances of BinaryDictionary instances. With this, all unit tests and regression tests are passing again. Bug: 13667648 Bug: 13665487 Bug: 8636060 Change-Id: Ie23a19f9b7e692edf2ee0b107ddaff2d7db564b6 Jean Chalard2014-03-281-14/+1
* Merge "[CB14] Implement backspace in the combiner chain"Jean Chalard2014-03-251-1/+6
|\
| * [CB14] Implement backspace in the combiner chain•••Bug: 13622107 Bug: 13406701 Change-Id: I0023b398c4451253f9f717e2bd990b8a054004bc Jean Chalard2014-03-251-1/+6
* | Remove logic related to dictionary loading from LatinIME.•••Make mSuggest final and give DictionaryFacilitator the responsibility to manage dictionary loading state. This can simplify the logic to decide how to deal with additional dictionaries when loading settings or language switching. Bug: 13273534 Change-Id: I9f3d328272f25addfa186fbeedaaf8417455ba99 Keisuke Kuroyanagi2014-03-251-63/+24
|/
* Merge "Separate utility methods from BinaryDictionary."Keisuke Kuroyanagi2014-03-051-1/+2
|\
| * Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-051-1/+2
* | Merge changes I20ce61c4,I2edab4e3•••* changes: Remove "Use only personalization dictionary". Remove redundant creation of dictionary facilitator. Keisuke Kuroyanagi2014-03-031-0/+1
|\ \ | |/ |/|
| * Remove redundant creation of dictionary facilitator.•••Change-Id: I2edab4e3ba4ea0b9b13f9bb224aac86cac9b9f31 Keisuke Kuroyanagi2014-02-271-0/+1
* | Fix: wrong auto correction for whilelist and personalized words.•••This happens when there are tailing single quotes. Bug: 13237314 Change-Id: I7fd2a20b25ac2217f9621d7f2510345bbd633c14 Keisuke Kuroyanagi2014-02-281-4/+4