aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/AndroidWordLevelSpellCheckerSession.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Spelling cannot cache words across invocations.•••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 Dan Zivkovic2015-04-291-23/+9
* Fix bug in regular expression stripping quotes.•••Change-Id: Iaf84a9a1f00b31daf7225991c4cfc5f17b578028 Martin Paraskevov2015-04-201-1/+1
* Strip quotes from begining/end of a word before checking its validity.•••Bug: 20142633 Change-Id: Ia0f3661ac3028473c00f83df72dcb9e1fd134247 Martin Paraskevov2015-04-151-8/+13
* Make logs less spammy.•••Bug 19987461. Change-Id: Ibf58f2b26c2d01f765ef32abb47c84be49e2ba9f Dan Zivkovic2015-04-071-2/+6
* Skip decoding for in-vocabulary words.•••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 Dan Zivkovic2015-04-071-36/+30
* "spellcheking" needs spellchecking.•••Change-Id: Iaf4cd5d11b113be4738182fb662e5dc54b2f5366 Chieu Nguyen2015-03-271-1/+1
* Avoid creating empty String[].•••Minor cleanup on the way to fixing spelling for downloaded language. Bug 19710676. Change-Id: I7be25fa82248f0317d894d44802bede9dbc4fe2a Dan Zivkovic2015-03-121-9/+8
* Use Keyboard in several interfaces.•••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 Mario Tanev2015-02-251-21/+8
* Pass ComposedData to the decoder instead of WordComposer.•••Change-Id: I8bd544d03d9087a02294b08a9986cad229dae795 Martin Paraskevov2015-02-241-1/+6
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-041-1/+5
* 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
* 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-1/+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-4/+3
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-15/+12
* Remove SuggestionsGatherer.•••Bug: 13689011 Bug: 13630847 Change-Id: I9930d5ce9cbe16489dc69f68b9590d72afe463b5 Keisuke Kuroyanagi2014-07-101-8/+63
* Quit sorting suggestions in AndroidSpellCheckerService.•••Suggestions have been sorted in SuggestionResults. Bug: 13689011 Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef Keisuke Kuroyanagi2014-07-101-18/+5
* Make spell checker use dictionary facilitator.•••Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6 Keisuke Kuroyanagi2014-07-101-85/+51
* Move phrase gesture from additional features to public.•••Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba Keisuke Kuroyanagi2014-07-081-2/+7
* [SD9] Add armenian and georgian scripts•••Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d Jean Chalard2014-07-011-1/+1
* [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-241-41/+4
|\
| * [SD1] Move script-related methods to a new utils class.•••Bug: 15840116 Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44 Jean Chalard2014-06-261-41/+4
* | Make PrevWordsInfo have multiple words' information.•••Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a Keisuke Kuroyanagi2014-06-251-2/+2
|/
* 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
* 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
* Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef Tadashi G. Takaoka2014-05-241-2/+1
* Use PrevWordsInfo instead of String in Java side.•••Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762 Keisuke Kuroyanagi2014-05-191-13/+16
* Make session id mandatory for getSuggestions.•••Bug: 15008504 Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2 Keisuke Kuroyanagi2014-05-161-1/+1
* Add languageWeight as an argument of getSuggestions.•••Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5 Keisuke Kuroyanagi2014-04-031-1/+2
* [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
* [IL70] Remove unused arguments•••Bug: 8636060 Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9 Jean Chalard2014-01-231-1/+1
* [IL69] Oust Keyboard from WordComposer#setComposingWord•••Bug: 8636060 Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b Jean Chalard2014-01-231-1/+5
* [IL68] Start refactoring setComposingWord•••Bug: 8636060 Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54 Jean Chalard2014-01-231-5/+1
* Remove suggestions when string contains a period•••This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4 Jean Chalard2013-10-071-11/+31
* Pass additionalFeaturesOptions for getSuggestions().•••This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4 Keisuke Kuroyanagi2013-08-281-6/+8
* Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa Ken Wakasa2013-06-241-2/+2
* Consolidate dummy proximity info to the spell checker info•••Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add Satoshi Kataoka2013-05-081-12/+5
* refactor spell checker•••Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f Satoshi Kataoka2013-05-071-14/+14
* Pass blockOffensiveWords as a parameter•••Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488 Jean Chalard2013-05-011-1/+2
* Don't insert automatic spaces when text looks like a URL•••This is about as ad-hoc as it gets, but then again, what we want is probably as ad-hoc as it gets. All URL boxes I know of double as search bars, and not adding automatic spaces there sucks (e.g. in Chrome URL bar). And in other boxes actually you don't want to add a space if it looks like a URL. QSB isn't even a search box, and it behaves like this. So I think this is actually the right answer to the problem. Bug: 7062925 Change-Id: Ib09472b34644fd5bf2dc84bb97cedeeba28bcd02 Jean Chalard2013-04-161-3/+5
* Fix a bug where autocorrection status would be wrong.•••Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f Jean Chalard2013-04-101-1/+1
* Update comments•••Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71 Ken Wakasa2013-04-081-1/+1
* Move a generic string utility to StringUtils•••Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09 Jean Chalard2013-04-051-3/+3
* Merge the dictionary pack in Latin IME.•••Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172 Jean Chalard2013-03-191-4/+22
* Cleanups•••Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5 Jean Chalard2013-02-111-1/+1
* Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8