aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename to Kelar Keyboard (org.kelar.inputmethod.latin)Amin Bandali2025-01-117-1232/+0
|
* Migrated various apps under packages/inputmethods/LatinIME/ to androidxvineel sadineni2018-05-151-1/+1
| | | | | | Bug: 76692459 Test: mmma packages/inputmethods/LatinIME/ Change-Id: Ib76af6f6db1a0dd5cf64a06a4ea56151712e9692
* Handle Cloud Sync and SpellChecker settings when permission changedMohammadinamul Sheik2015-07-242-3/+63
| | | | | | | | | | | | | | | | | | This build has been compiled against API 23 This build is approved to go out with the M OTA, but may NOT be released to the public until the Play Store has enabled API level 23 apps Version: 4.1.2300x.build_id 1. Disable the settings. 2. Disable the feature. 3. Force reload the facilitator. Bug: 22564048 Change-Id: Ic09742786c3e4efc034bceee836ae6a1e07307a1 (cherry picked from commit 031d04192080f0368f21c3371d1ec6af87375357)
* Spelling cannot cache words across invocations.Dan Zivkovic2015-04-292-25/+10
| | | | | | | | | | | We want to let the facilitator decide if a word is valid or invalid, and cache the answer in the facilitator's cache. The spell checker session doesn't need its own word cache, except as a crutch to communicate suggestions to the code that populates the suggestion drop-down. We leave that in place. Bug 20018546. Change-Id: I3c3c53e0c1d709fa2f64a2952a232acd7380b57a
* Fix bug in regular expression stripping quotes.Martin Paraskevov2015-04-201-1/+1
| | | | Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028
* Strip quotes from begining/end of a word before checking its validity.Martin Paraskevov2015-04-151-8/+13
| | | | | | Bug: 20142633 Change-Id: Ia0f3661ac3028473c00f83df72dcb9e1fd134247
* Make logs less spammy.Dan Zivkovic2015-04-071-2/+6
| | | | | | Bug 19987461. Change-Id: Ibf58f2b26c2d01f765ef32abb47c84be49e2ba9f
* Skip decoding for in-vocabulary words.Dan Zivkovic2015-04-071-36/+30
| | | | | | | | | | The spell checker is decoding, and getting multiple sets of suggestions, for every word it encounters. It even does that for in-vocabulary words, though it will not underline or show suggestions for in-vocabulary words. Bug 19987461. Change-Id: Ie61101fa8ab8917f3f49c77768dbcffd96c1685e
* Add shortcut support to UserDictionaryLookup.Dan Zivkovic2015-04-022-453/+2
| | | | | | | | | | Also move the class to the parent package, since it's no longer tied to the spell checking service. Bug 19966848. Bug 20036810. Change-Id: I35014d212fd87281eb90def03ee92e6872dcd63e
* "spellcheking" needs spellchecking.Chieu Nguyen2015-03-271-1/+1
| | | | Change-Id: Iaf4cd5d11b113be4738182fb662e5dc54b2f5366
* Make Hebrew spellchecking spellcheck Hebrew.Chieu Nguyen2015-03-271-0/+2
| | | | | Bug: 19966676 Change-Id: I657d2989966804cc1b6e3b12670a2123b6f06127
* Not all cyrillic scripts use east_slavic layout.Dan Zivkovic2015-03-271-3/+7
| | | | | | Bug 19963288. Change-Id: I6d61110be11b260a4ec8e8c85fa0a32064e051e3
* Separate executor for the Spelling decoder.Dan Zivkovic2015-03-121-3/+3
| | | | | | Bug 19710676. Change-Id: I6e66eddd507c11e424105869833fe6841b90275d
* Avoid creating empty String[].Dan Zivkovic2015-03-122-11/+12
| | | | | | | | Minor cleanup on the way to fixing spelling for downloaded language. Bug 19710676. Change-Id: I7be25fa82248f0317d894d44802bede9dbc4fe2a
* Remove unused phrase gesture code.Chieu Nguyen2015-03-111-2/+1
| | | | | Bug: 19687841 Change-Id: I0862aa3127bf7f1564a4845efdf99ebf5ae4d5ac
* Use a single background executor.Dan Zivkovic2015-03-091-2/+2
| | | | | | Bug 19625976. Change-Id: Ia03f440a31b059b5af42d162e1145330bf7b5ddf
* Handle null InputMethodSubtype.Dan Zivkovic2015-03-061-1/+1
| | | | | | Bug 19627494. Change-Id: I50dc77c59ced0f2e7c07a49ae0cb040197c2ab35
* Use Keyboard in several interfaces.Mario Tanev2015-02-252-26/+13
| | | | | | | | | Simplify interfaces by passing Keyboard instead of KeyboardLayout and ProximityInfo directly. Also require the Keyboard passed be non-null and change the SpellChecker to bail out if there is no keyboard for the locale. Change-Id: I960f15ff60171f55d3e0a96fd6469b7dc3a045e2
* Pass ComposedData to the decoder instead of WordComposer.Martin Paraskevov2015-02-242-6/+11
| | | | Change-Id: I8bd544d03d9087a02294b08a9986cad229dae795
* Spell checker uses cache of size 1.Dan Zivkovic2015-02-201-3/+3
| | | | | | This is a step in the direction of removing the LRU cache completely. Change-Id: I8886f7ef74e6b1b35135e68f169cb461682964e9
* Schedule with 0 delay is the same as execute.Dan Zivkovic2015-02-191-2/+1
| | | | Change-Id: Ifadae8aee668edbe2b507735d3ed6e68d52ef329
* Sanitize the usage of executors.Dan Zivkovic2015-02-191-16/+7
| | | | | | | | There should be 1 executor each for static and dynamic language models. This prevents too many dynamic LM updates from running in parallel, competing for resources. Change-Id: I8ec439e0ea2d92fba275bc20a0b8c9193346a0c1
* Merge "Add new class spellcheck.UserDictionaryLookup that can look up the ↵Mario Tanev2015-02-102-0/+463
|\ | | | | | | system "Personal dictionary" in the event that the DictionaryFacilitator doesn't."
| * Add new class spellcheck.UserDictionaryLookup that can look up theMario Tanev2015-02-102-0/+463
| | | | | | | | | | | | | | system "Personal dictionary" in the event that the DictionaryFacilitator doesn't. Change-Id: Ib4f15ec4d8f06ea43c2e063f5a13a2f699afbb8a
* | Cleanup in preparation of distracter change.Dan Zivkovic2015-02-061-3/+1
|/ | | | | | Bug 19296201. Change-Id: If016da2b7f4b3ecb9afd6d7aed9d19fbd4938758
* Don't check user dictionary, except for spelling.Dan Zivkovic2015-02-041-1/+1
| | | | | | | | We check different lists of dictionaries based on the use case. Bug 19270992. Change-Id: Ide69f2855978ebad32a58e9689b3a8d47e095994
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitatorMohammadinamul Sheik2015-02-042-3/+10
| | | | Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844
* LatinIME portion of multi-lang option removal.Dan Zivkovic2015-01-291-2/+1
| | | | | | Bug 19188067. Change-Id: Ic9a3637f59dda30c699141222b9dcac3cd624b99
* Add a method for handling for words not found in dictionary.Chieu Nguyen2015-01-141-0/+10
| | | | | | | | | 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
* Make LocaleUtils.constructLocaleFromString as @NonnullTadashi G. Takaoka2014-11-211-1/+2
| | | | Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
* Move util classes under commonJean Chalard2014-11-071-2/+2
| | | | | | | Also why did we have two copies of LocaleUtils >.> Bug: 18108776 Change-Id: I03b4403dfd51934e66b567f2f8b87da419cfb3ab
* Remove Dict dependency on WordComposer and ProximityInfoJean Chalard2014-10-291-1/+2
| | | | | Bug: 18108776 Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
* Move StringUtils under common.Jean Chalard2014-10-281-1/+1
| | | | | Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b
* Reduce StringUtils dependency on the Android libsJean Chalard2014-10-281-3/+4
| | | | | Bug: 18108776 Change-Id: I43feb25d79f89276d44462ba71788a14c4583277
* 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.Keisuke Kuroyanagi2014-10-241-1/+1
| | | | | | | | | | Bug: 18109041 Change-Id: I0eb98a66290058c28e20c86f36395af4f763952e
* | Move Constants.java to the latin.common packageKen Wakasa2014-10-232-2/+2
|/ | | | | | | Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d
* Fix Javadoc and null analysis related warningsTadashi G. Takaoka2014-10-232-3/+8
| | | | | | | This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1
* Fix some compiler warningsTadashi G. Takaoka2014-10-213-17/+16
| | | | | | | | | | | | | | | | | | | | | 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
* Preserve spans when splitting sentencesYohei Yukawa2014-10-021-3/+2
| | | | | | | | | | | | | 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
* Rename PrevWordsInfo to NgramContext.Keisuke Kuroyanagi2014-09-293-25/+22
| | | | | Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
* [ML7] Have multiple DictionaryGroup instances in facilitatorJean Chalard2014-09-161-1/+1
| | | | | | | This is the central change of multilingual input. Bug: 11230254 Change-Id: Id8b68fb101e837e8cf182ab4bc1e55e4da5cc49d
* Create DictionaryFacilitatorLruCache.Keisuke Kuroyanagi2014-08-271-114/+8
| | | | | | | | This class is separated from AndroidSpellCheckerService Bug: 16547557 Change-Id: I3e58521207395588cecb2977234b89067d6da8c3
* Revert "Revert "[ML1] Introduce RichInputMethodSubtype""Jean Chalard2014-08-251-1/+2
| | | | | | | | 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
* Revert "[ML1] Introduce RichInputMethodSubtype"Jean Chalard2014-08-221-2/+1
| | | | | | This reverts commit 8ffe4bc9321e582a4d882f21e465d5886616f489. Change-Id: I9d4c98b0adfdb78b0f4d376f7691e50d1bd2228f
* [ML1] Introduce RichInputMethodSubtypeJean Chalard2014-08-221-1/+2
| | | | | Bug: 11230254 Change-Id: Ic7a1bf938a5a186dcff527b556295aba2406e8b9
* Fix a verifier error on ICS.Jean Chalard2014-07-282-4/+11
| | | | | Bug: 16530557 Change-Id: I271c5884995a1d5f8a1cb7aee6f52d17fabb9e72
* Use CharSequence for spell checker to keep spans preservedYohei Yukawa2014-07-202-22/+30
| | | | | | | | | | | | 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
* Use SwitchPreference for spell checker settingTadashi G. Takaoka2014-07-161-11/+5
| | | | | | | This is a follow up of I1f7214c689. Bug: 15781377 Change-Id: I7289b8b724e086da80ab3849cc567560c1a8502d
* Remove SuggestionsGatherer.Keisuke Kuroyanagi2014-07-103-98/+67
| | | | | | Bug: 13689011 Bug: 13630847 Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5