aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix a bug with synchronicity of spell checking/user dict•••This fixes a race condition that would end up with the spell checker not finding some words in the user dictionary when it just booted. Bug: 5194627 Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de Jean Chalard2011-08-291-1/+2
* Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e Jean Chalard2011-08-291-2/+3
* Remove duplicates from the spell checker suggestions.•••Bug: 5175740 Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49 Jean Chalard2011-08-221-11/+21
* Fix case sensitivity for the spell checker.•••The new behavior is as follows: - If the word in the dictionary is not fully lower case, then the exact case is required to match. - If the word in the dictionary is fully lower case, then any of the following patterns match: - fully lower case - only the first char capitalized - all caps Any other capitalization is rejected. This is probably what people want. If you type a name in all lower case, it should be marked as a typo, but if you type a word with a capital for emphasis or just because it's the start of the sentence, it should match a lower case word in the dictionary. If you have a spurious capital letter in the middle of a word because of a typo, it should be marked as such. Accents are not affected, and should not be. An accented letter is a different letter and a missing accent should be reported. We should maybe consider again for some common transpositions like the "ue" digraph for German, which is now considered a typo, but will suggest the correct diacritics as the first suggestion. Bug: 5145751 Change-Id: I651e24f13c90fb94700a1674ad380e95336e7dca Jean Chalard2011-08-221-3/+31
* Have the spell checker use the User dictionary.•••Bug: 5175868 Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef Jean Chalard2011-08-191-2/+18
* Close dictionary pools when they are not used any more.•••Bug: 5156851 Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb Jean Chalard2011-08-161-2/+15
* Have a pool of dictionaries to check spelling.•••The dictionaries and proximities are not thread-safe. In order to be able to check spelling in parallel, make a dictionary pool to call upon when a spelling check is necessary. Bug: 5156851 Change-Id: Ie3796164187dd7b7abf5ccd5d014073d43d74408 Jean Chalard2011-08-161-24/+37
* Make the spell checker re-entrant.•••Until the dictionary itself is re-entrant, unfortunately we have to synchronize accesses to it. Bug: 5156851 Change-Id: I1629a160d707e6fa1ad80cba828798abb24b68b1 Jean Chalard2011-08-161-4/+9
* Add proximity info for the spell checker.•••Bug: 5119987 Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281 Jean Chalard2011-08-091-4/+12
* Update the spell checker according to API cleanup•••Change-Id: Ia95a63963c16265bc9bc7e1fcecf120e17bf8636 satok2011-08-051-27/+41
* Implement the spell checker.•••Bug: 4176026 Change-Id: I297c47202e96ce0db74d703f30709777f26b93ac Jean Chalard2011-08-041-16/+111
* Temporary don't use "looks type" for comming rename cl.•••Change-Id: If016a61f9e303b615c59c0035724256535aec817 satok2011-08-031-1/+1
* Modified the test spell checker•••Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c satok2011-07-281-2/+18
* [step3] Add spell checker service.•••Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258 satok2011-07-251-0/+34