aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Expand)AuthorAgeFilesLines
* Don't check user dictionary, except for spelling.•••We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994 Dan Zivkovic2015-02-041-1/+1
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-042-3/+10
* LatinIME portion of multi-lang option removal.•••Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99 Dan Zivkovic2015-01-291-2/+1
* Add a method for handling for words not found in dictionary.•••This is apparently called only once for every unique word, so repeated instances of the same word are not handled separately. Upon changing orientation of the device, however, all invalid words in the textbox are underlined again and this method is called for each unique instance in order. Change-Id: Ic57e4b9e5675bd7abd723644aa318d964f7f875f Chieu Nguyen2015-01-141-0/+10
* Make LocaleUtils.constructLocaleFromString as @Nonnull•••Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb Tadashi G. Takaoka2014-11-211-1/+2
* Move util classes under common•••Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab Jean Chalard2014-11-071-2/+2
* Remove Dict dependency on WordComposer and ProximityInfo•••Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880 Jean Chalard2014-10-291-1/+2
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
* Reduce StringUtils dependency on the Android libs•••Bug: 18108776 Change-Id: I43feb25d79f89276d44462ba71788a14c4583277 Jean Chalard2014-10-281-3/+4
* Merge "Height of the keyboard for spellchecker is too large."Keisuke Kuroyanagi2014-10-241-1/+1
|\
| * Height of the keyboard for spellchecker is too large.•••Bug: 18109041 Change-Id: I0eb98a66290058c28e20c86f36395af4f763952e Keisuke Kuroyanagi2014-10-241-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-232-2/+2
|/
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-232-3/+8
* 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-213-17/+16
* Preserve spans when splitting sentences•••This CL fixes a bug that span information was unintentionally removed when given sentences are split into words. Nothing is changed in KitKat and prior because TextInfo never returns spanned text until L. Note that the spell checker service still doesn't rely on span information even with this CL. BUG: 16419551 Change-Id: I6ffb75ee6add4ae20e9d3dcfb90b65f097d70fba Yohei Yukawa2014-10-021-3/+2
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-293-25/+22
* [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
* Create DictionaryFacilitatorLruCache.•••This class is separated from AndroidSpellCheckerService Bug: 16547557 Change-Id: I3e58521207395588cecb2977234b89067d6da8c3 Keisuke Kuroyanagi2014-08-271-114/+8
* Revert "Revert "[ML1] Introduce RichInputMethodSubtype""•••This reverts commit a63d0a8ee6cb05bcddb69bf9a6018853d89d886a. This patch seems to be fine after all, but was submitted without its companion [ML1.1] patch causing a build breakage. Reverting the revert and submitting both at the same time seems like the right thing to do. Change-Id: Ib8fefa40b74dcee0edb025a52dac9b35c82d49df Jean Chalard2014-08-251-1/+2
* Revert "[ML1] Introduce RichInputMethodSubtype"•••This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f Jean Chalard2014-08-221-2/+1
* [ML1] Introduce RichInputMethodSubtype•••Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9 Jean Chalard2014-08-221-1/+2
* Fix a verifier error on ICS.•••Bug: 16530557 Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72 Jean Chalard2014-07-282-4/+11
* Use CharSequence for spell checker to keep spans preserved•••This is a ground work to take per word locale information into consideration in the spell checker. This CL is supposed to change no user visible behavior. With this CL, the spell checker session is able to read span information if necessary. BUG: 16029304 Change-Id: Icb1e1ecdf40fe0445e14565b685b1b878b746210 Yohei Yukawa2014-07-202-22/+30
* Use SwitchPreference for spell checker setting•••This is a follow up of I1f7214c689. Bug: 15781377 Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d Tadashi G. Takaoka2014-07-161-11/+5
* Remove SuggestionsGatherer.•••Bug: 13689011 Bug: 13630847 Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5 Keisuke Kuroyanagi2014-07-103-98/+67
* Quit sorting suggestions in AndroidSpellCheckerService.•••Suggestions have been sorted in SuggestionResults. Bug: 13689011 Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef Keisuke Kuroyanagi2014-07-102-55/+19
* Make spell checker use dictionary facilitator.•••Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6 Keisuke Kuroyanagi2014-07-106-537/+236
* Move phrase gesture from additional features to public.•••Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba Keisuke Kuroyanagi2014-07-084-7/+15
* Additional subtype ID should be independent of OS-version•••This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3 Yohei Yukawa2014-07-041-2/+2
* [SD9] Add armenian and georgian scripts•••Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d Jean Chalard2014-07-012-3/+2
* [SD7] Actually check for script.•••...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac Jean Chalard2014-07-011-2/+2
* Add a relevant suggestion to period-checkable requests•••Bug: 15412461 Change-Id: Ibf37df4d31141a7e43b54d6342e7861eedb1c03b Jean Chalard2014-06-271-1/+3
* Merge "[SD1] Move script-related methods to a new utils class."Jean Chalard2014-06-242-86/+9
|\
| * [SD1] Move script-related methods to a new utils class.•••Bug: 15840116 Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44 Jean Chalard2014-06-262-86/+9
* | Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-252-4/+6
|/
* Special case periods in the spell checker•••Special case <valid word>.<valid word> to send as a suggestion the same string where the periods is replaced by a space. Bug: 10780091 Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974 Jean Chalard2014-06-101-0/+16
* Merge "Split the sentences into words ourselves"Jean Chalard2014-06-102-2/+243
|\
| * Split the sentences into words ourselves•••The framework's default split is not suitable for all languages. Also it does not perform very well when space is mistyped as period. Bug: 9063355 Bug: 10780091 Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a Jean Chalard2014-06-092-2/+243
* | 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-1/+1
|/
* Add Dictionary.isInDictionary().•••Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e Keisuke Kuroyanagi2014-06-093-5/+5
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-245-20/+10
* Use PrevWordsInfo instead of String in Java side.•••Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762 Keisuke Kuroyanagi2014-05-195-21/+29
* Make session id mandatory for getSuggestions.•••Bug: 15008504 Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2 Keisuke Kuroyanagi2014-05-164-6/+6
* Use different user dict name for spell checker.•••Bug: 13630847 Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203 Keisuke Kuroyanagi2014-04-281-1/+2
* Use different contacts dict name for spell checker.•••Bug: 13630847 Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453 Keisuke Kuroyanagi2014-04-281-1/+2
* Move dicts for spellchecker to under spellcheck.•••Bug: 13630847 Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd Keisuke Kuroyanagi2014-04-283-2/+111
* Add languageWeight as an argument of getSuggestions.•••Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5 Keisuke Kuroyanagi2014-04-032-2/+4
* Fix: spell checker wrongly sorts suggestions.•••Change-Id: I729e1cd5e5e333038b9d9e6197cf50b574990d76Keisuke Kuroyanagi2014-03-281-7/+4
* Separate utility methods from BinaryDictionary.•••Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50 Keisuke Kuroyanagi2014-03-051-2/+3
* [IL69.1] Move a static method to a utility class.•••This is a followup to IL69. Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f Jean Chalard2014-01-241-4/+10