aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add languageWeight as an argument of getSuggestions.Keisuke Kuroyanagi2014-04-032-2/+4
| | | | | Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5
* Fix: spell checker wrongly sorts suggestions.Keisuke Kuroyanagi2014-03-281-7/+4
| | | Change-Id: I729e1cd5e5e333038b9d9e6197cf50b574990d76
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-2/+3
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* [IL69.1] Move a static method to a utility class.Jean Chalard2014-01-241-4/+10
| | | | | | This is a followup to IL69. Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f
* [IL70] Remove unused argumentsJean Chalard2014-01-231-1/+1
| | | | | Bug: 8636060 Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9
* [IL69] Oust Keyboard from WordComposer#setComposingWordJean Chalard2014-01-231-1/+5
| | | | | Bug: 8636060 Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b
* [IL68] Start refactoring setComposingWordJean Chalard2014-01-232-13/+2
| | | | | Bug: 8636060 Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54
* Remove useless method call for spell checker.Keisuke Kuroyanagi2013-12-261-0/+2
| | | | | Bug: 8187060 Change-Id: I2f91da12ba2a9e7ce28abd06f314e0e6125d08dc
* [IL15] Some small refactoringJean Chalard2013-12-201-1/+1
| | | | | Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-132-1/+2
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-091-1/+3
| | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
* Remove suggestions when string contains a periodJean Chalard2013-10-072-13/+43
| | | | | | | | | 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
* Correspond to the security related API change for PreferenceActivitySatoshi Kataoka2013-10-021-1/+9
| | | | | Bug: 10118761 Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-282-7/+9
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Move createKeyboardSetForSpellChecker to AndroidSpellCheckServiceTadashi G. Takaoka2013-08-071-3/+22
| | | | Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
* Reorganize Utils classTadashi G. Takaoka2013-07-051-2/+2
| | | | Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
* Move util classes to the latin/utils directoryKen Wakasa2013-06-245-8/+8
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka2013-05-086-521/+93
| | | | | | Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
* refactor spell checkerSatoshi Kataoka2013-05-071-14/+14
| | | | Change-Id: Ie7bea23f2ac54f03572e77c31ba7cb3d5e8f8d2f
* Merge "Pass blockOffensiveWords as a parameter"Jean Chalard2013-05-012-2/+4
|\
| * Pass blockOffensiveWords as a parameterJean Chalard2013-05-012-2/+4
| | | | | | | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* | Cleanup -- follow up to Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1Ken Wakasa2013-05-011-5/+0
| | | | | | | | Change-Id: Icb89c5119a67edaa019d5f7645b734cfcfc29041
* | Fix Google spell checker testsSatoshi Kataoka2013-05-011-14/+3
|/ | | | | | Bug: 8613307 Change-Id: Ief04a4abb6dc1f79660a2e419c9c5e271802b5a1
* Don't insert automatic spaces when text looks like a URLJean Chalard2013-04-161-3/+5
| | | | | | | | | | | | | | | 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
* Merge "Use SparseIntArray instead of TreeMap<Integer, Integer>"Tadashi G. Takaoka2013-04-111-42/+24
|\
| * Use SparseIntArray instead of TreeMap<Integer, Integer>Tadashi G. Takaoka2013-04-101-42/+24
| | | | | | | | Change-Id: I56a64228a5fd85d440d0d08ac67cba8bf2e5690d
* | Fix a bug where autocorrection status would be wrong.Jean Chalard2013-04-102-2/+2
|/ | | | Change-Id: Ic220129dc59f585164dbf63591cd1c96de17fe6f
* Merge "Refactor SpellCheckerProximityInfo as extending ProximityInfo"Tadashi G. Takaoka2013-04-102-39/+44
|\
| * Refactor SpellCheckerProximityInfo as extending ProximityInfoTadashi G. Takaoka2013-04-022-39/+44
| | | | | | | | Change-Id: I544eec9d661796d57749dbaa2163bc1e2a891353
* | Update commentsKen Wakasa2013-04-081-1/+1
| | | | | | | | Change-Id: I6aef328ec9041666cc168c8323bed04d39591b71
* | Move a generic string utility to StringUtilsJean Chalard2013-04-052-36/+5
| | | | | | | | Change-Id: I9cc2e9a7ac0b3346af40bcb083f939333336cf09
* | Fix appnameSatoshi Kataoka2013-03-221-0/+7
|/ | | | | Bug: 6789579 Change-Id: Ic4694e36e0846af95fa8dcdef919be251983b528
* Merge the dictionary pack in Latin IME.Jean Chalard2013-03-192-15/+39
| | | | | Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
* CleanupsJean Chalard2013-02-111-1/+1
| | | | | | Follow-up to Idc6f419a Change-Id: I4aae8f4e19f27a0a309879dc19af6e40906d58c5
* Fix Apache license commentTadashi G. Takaoka2013-01-219-74/+74
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Fix spell checker subtype list.Jean Chalard2013-01-113-14/+283
| | | | | | | | Remove the subtypes that don't get a dictionary any more in AOSP. Also prepare for all downloadable-dictionary supported subtypes. Bug: 7673670 Change-Id: I5b754a791233c270237b8f7e5e2208f7282ad294
* Remove a useless memberJean Chalard2012-12-111-0/+2
| | | | Change-Id: Id13e0aeec6ec3655d6bb0edc7f8f7821e7dc5a36
* Fix wrong misspelling reports of fully capitalized wordsJean Chalard2012-12-042-15/+48
| | | | | | | | | | | Two flavors of words would be wrongly reported as misspelled by the android spell checker when they are written in all upper case letters: - Words containing a quote or a dash or any other non-letter - Words that need the first letter to be capitalized Bug: 7659216 Change-Id: Ibc5d261945ffcbb8a858d4c73b7c62cef6671abf
* Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-223-5/+5
|\
| * Replace useless CharSequence to StringTadashi G. Takaoka2012-10-223-5/+5
| | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-1/+2
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-278-13/+13
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Clear cache of user dicSatoshi Kataoka2012-09-191-0/+23
| | | | Change-Id: Iec2793de3fff7bf15f68f82a50331de7742b7049
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-224-15/+18
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Rename and consolidate some constantsTadashi G. Takaoka2012-08-212-4/+5
| | | | Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
* Remove the whitelist dictionary.Jean Chalard2012-08-171-14/+0
| | | | | | | | | The functionality now lives in the binary dictionary. This finalizes work on Bug: 6906525 Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
* Ensure #offer always actually offers something.Jean Chalard2012-08-152-3/+29
| | | | | | | | This will allow remaining requests after a call to terminate correctly. Bug: 6963142 Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
* Preemptive anti-deadlock deviceJean Chalard2012-08-142-7/+27
| | | | | | | | | | We don't know of any actual bug in the implementation of the pool that may result in a deadlock, but this still implements a means out of a deadlock if one ever arises anyway. It's meant to improve the resilience of the spell checker. Bug: 5441027 Change-Id: I689491090792dbb89110ee56631965c5bb2dc712
* Fix a bug that would prevent spell checkingJean Chalard2012-08-141-0/+1
| | | | | | | | | | | | | | | java.lang.ArrayIndexOutOfBoundsException: [I offset=0 length=528 src.length=512 com.android.inputmethod.keyboard.ProximityInfo .setProximityInfoNative(Native Method) com.android.inputmethod.keyboard.ProximityInfo .createSpellCheckerProximityInfo(ProximityInfo.java:85) com.android.inputmethod.latin.spellcheck.AndroidSpellCheckerService .createDictAndProximity(AndroidSpellCheckerService.java:411) The array was too small with respect with the passed size. Change-Id: I7777d7aecd17375d3fbf82854a66eb7a5a289ce6
* Add a consolidated method to the Dictionary interface (A85)Jean Chalard2012-07-101-2/+3
| | | | Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf