aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Separate ICS-dependent code from the spell checker serviceSatoshi Kataoka2012-07-102-285/+319
| | | | | Bug: 6789576 Change-Id: Ia768258f6fa121c7a7757093eb8a20e665580865
* Create AndroidSpellCheckerSessionFactorySatoshi Kataoka2012-07-103-2/+28
| | | | | Bug: 6789576 Change-Id: I6de1e1aa64cf14f38ecb250579418bc518f0d838
* Separate SpellCheckerSession from SpellCheckerServiceSatoshi Kataoka2012-07-102-393/+436
| | | | | Bug: 6789576 Change-Id: I7c55d36afad7ef6046353b3c9e849a54a6dc83ae
* Remove WordComposer.add(int, int, int, KeyDetector) methodTadashi G. Takaoka2012-07-041-2/+2
| | | | Change-Id: Ie6af46acba18a2d1cf3ddd1578d60ded4c90f89a
* Remove a meaningless separation (A18)Jean Chalard2012-06-261-5/+4
| | | | Change-Id: I267177044c7d7b0d9119839a11057b2bbf41f75f
* Remove the Callback interface for simpler code. (A17)Jean Chalard2012-06-261-10/+2
| | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-261-1/+1
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Do away with Utils#addAllSuggestions (A14)Jean Chalard2012-06-261-1/+1
| | | | | | It's not used any more. Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
* Neutralize AndroidSpellChecker.SuggestionsGatherer#addWords (A13)Jean Chalard2012-06-261-2/+16
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: Ia54e1e44e1fd4e8ba2c9316928c0595cbe3f933c
* Change JNI for GestureSatoshi Kataoka2012-06-251-2/+2
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Remove deprecated classes.Jean Chalard2012-06-081-33/+19
| | | | | | | Should we maybe rename back *BinaryDict* to *Dict* in another change for simplicity? Change-Id: I8f7dcb78b9bdf1a13ce403a997fbb8619f2b453b
* am eead5492: am 769cecf7: Close spell-checking dictionaries in a background ↵Jean Chalard2012-06-061-20/+25
|\ | | | | | | | | | | | | thread * commit 'eead5492615f0b05ef85ca1f88d3a41ce3f8d496': Close spell-checking dictionaries in a background thread
| * Close spell-checking dictionaries in a background threadJean Chalard2012-06-071-20/+25
| | | | | | | | | | Bug: 6584677 Change-Id: Ifd9b0f995f4e0cf4d35a7ecde767826ab976f0b8
* | Cache bigram results in Android SpellCheckerSatoshi Kataoka2012-06-061-8/+24
|/ | | | | Bug: 6610579 Change-Id: I255c068f64f99ee80abda49153ed8ea009ca8ad3
* Fix a bug where Latin IME crashes on spell checker requestJean Chalard2012-06-051-2/+8
| | | | | Bug: 6611183 Change-Id: I8a879feb598e1ac55d73f9cb27e54aa533d3a010
* Merge "Fix a bug where the spellcheck is using the old non-binary contacts ↵Tom Ouyang2012-06-041-1/+5
|\ | | | | | | dictionary" into jb-dev
| * Fix a bug where the spellcheck is using the old non-binary contacts dictionaryTom Ouyang2012-06-041-1/+5
| | | | | | | | | | Bug: 6607023 Change-Id: I6dc120dea23052a0841e281c20706bfb21fd9876