aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/AndroidSpellCheckerService.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Change to a binary version of the expandable user dictionary.•••Bug: 6435677 Change-Id: If83409f699608d443796e64a3c65692ae81b98e6 Tom Ouyang2012-05-171-1/+6
* Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07 satok2012-05-161-11/+11
* Don't auto-correct when there is no main dictionary.•••Bug: 6502485 Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef Jean Chalard2012-05-161-1/+1
* Remove unexpectedly split words with single quotes•••Bug: 6451163 Change-Id: I4c5595f727934f2b401e9bb11a6ba613668f4a42 satok2012-05-111-0/+95
* Remove the dependency to SpellCheckerProximityInfo from ProximityInfo.•••In conjunction with I596b2deb Change-Id: I42f059158ae78e1c1c807ed4d3688edbcf18c006 Ken Wakasa2012-05-111-1/+4
* Treat apostrophe as single quote in spell checker•••Bug: 6435348 Change-Id: Iaaac9042e7e6cb21a3f2243bc6e8e055cc24f74d satok2012-05-071-6/+9
* Cache results of the spell checker•••Change-Id: Ie11cd1b07e069474b140fbaae65fca703adc056f satok2012-04-171-2/+42
* Pass the previous word to getSuggestions•••This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0 Jean Chalard2012-04-171-1/+1
* Add a new binary contacts dictionary based on ExpandableBinaryDictionary and ...•••Bug: 6188977 Change-Id: I753422eed1effaeb5fd01124cf1ddd1e31ee9d60 Tom Ouyang2012-04-131-6/+17
* Read the dictionary resource in a more sensical place.•••We don't need to pass this down all the way from LatinIME any more. It fetched be done exactly where it needs to be. Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988 Jean Chalard2012-04-111-4/+1
* Add language suffix to main dictionary•••Bug: 6319377 Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46 Tadashi G. Takaoka2012-04-111-1/+2
* Remove the now useless Flag class.•••Change-Id: Ibe45189b73e2606cf77e30da166dd0d45ae47c5c Jean Chalard2012-04-061-1/+0
* Change the flags to a boolean in constructors.•••Change-Id: I9939204f3b16346aaebd4d726315ba9c4faf910a Jean Chalard2012-04-061-12/+1
* Use keyboardSet extra value of subtype to specify layout type•••Change-Id: Ice1f345a08a8d760e3b847c885c4072e3e142c97 Tadashi G. Takaoka2012-04-051-2/+1
* Use "No language (QWERTY)" for language agnostic QWERTY keyboard name•••Bug: 6010147 Change-Id: I401c2e3fcd639c0e1a03e64489a0d792810caa18 Tadashi G. Takaoka2012-04-041-2/+3
* Remove ArraysCompatUtils•••bug: 6129704 Change-Id: I0f1a0dee744e6dcdea7ae8606119b4af22b86663 Ken Wakasa2012-03-301-2/+1
* Split a method for reuse•••Change-Id: I9a82e538903f05bedad51bc195866abbd9daf957 Jean Chalard2012-03-261-1/+5
* Fix a native crash•••-1 & 0xFFFF is 65536 :p Change-Id: I8ecb882b6d6c5bcc91b52e23eb9cc02b04fcdd34 Jean Chalard2012-03-231-1/+6
* Send correct coordinates for the spell checker•••This results in the computation being done in native code and the correct proximity being used. Bug: 6181080 Change-Id: I08fa05c781d607e4feca2caeda353ec19c133a3d Jean Chalard2012-03-231-1/+5
* Split Utils class to StringUtils, SubtypeUtils, and JniUtils•••Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144 Tadashi G. Takaoka2012-03-081-5/+5
* Integrate the logic to calculate the proximities•••Bug: 4343280 Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76 satok2012-03-061-17/+1
* Fix string iterations in a couple places.•••Seems I didn't get how to iterate on a String correctly >.> Talk about a big bug. Anyway, I think it's working now. Bug: 5955228 Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0 Jean Chalard2012-02-031-6/+5
* Convert an internal enum into an int of same underlying value.•••Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7 Jean Chalard2012-01-261-2/+1
* Move auto correction thresthold to the native code•••bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d satok2012-01-121-4/+5
* Build God Mode keyboard with API level 14•••Change-Id: I29ab9e9041c9faac91dc303175625221bfdb3af8 Ken Wakasa2011-12-101-1/+3
* Add proximity for Russian.•••This also tries to make the code as easy to extend as possible for future developments. Bug: 5701241 Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7 Jean Chalard2011-12-081-28/+39
* Add support for Russian spell checking.•••Note that this is not enough: we still need to create a reasonable proximity table for Cyrillic characters, or we won't be able to show up suggestions. Bug: 5701241 Change-Id: Idb141f7a230a6e1a46094308c26f43c01ab3b97a Jean Chalard2011-12-051-18/+57
* Add an option to use contacts or not while spell checking•••Bug: 5447495 Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4 Jean Chalard2011-11-301-12/+84
* Merge "Be stricter for ruling characters out of spell checking"Jean Chalard2011-11-101-4/+25
|\
| * Be stricter for ruling characters out of spell checking•••Bug: 5548308 Change-Id: Ie8025b02424b72b69a07907cde1093830c2d4d3d Jean Chalard2011-11-101-4/+25
* | Fill in the HAS_RECOMMENDED_SUGGESTIONS flag.•••Bug: 5530727 Change-Id: Ic53e227f72096053e08d90204bf1f287ec09290b Jean Chalard2011-11-101-21/+25
|/
* Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765 Tadashi G. Takaoka2011-10-281-1/+1
* Fix a bug where the sequence numbers would be wrong•••The spell checker cannot afford to return static objects, seeing as the framework will then use the same objects to pair the cookie and sequence ids to the request. Bug: 5503243 Change-Id: Ia9c3a933bfb30cf5525418b240ef60632d72c9d0 Jean Chalard2011-10-241-10/+14
* Use the contacts dictionary in the spell checker.•••Bug: 5447495 Change-Id: I7292eb291a1630265884cc8e505a2e83a74f0c72 Jean Chalard2011-10-241-0/+15
* Use the whitelist as a dictionary in the spell checker.•••Bug: 5402436 Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665 Jean Chalard2011-10-071-5/+19
* Merge "Fix possible NPE in debug mode"Jean Chalard2011-10-061-2/+4
|\
| * Fix possible NPE in debug mode•••Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3 Jean Chalard2011-10-061-2/+4
* | Fix a possible OutOfBoundsException•••Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3 Jean Chalard2011-10-061-0/+5
|/
* Cleanup unused import•••This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad Tadashi G. Takaoka2011-10-041-5/+1
* Make use of the FULL_EDIT_DISTANCE flag.•••In effect, this stops the spell checker from suggesting overly long words. More precisely, it takes advantage of the new facility that takes into account the whole length of the dictionary word when computing scores, so words much longer than the input word will see their score demoted accordingly. Bug: 5384578 Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b Jean Chalard2011-09-301-1/+15
* Add a threshold for suggestion score.•••Bug: 5384578 Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47 Jean Chalard2011-09-291-27/+50
* Move some arguments to final members.•••This is preparation for Bug: 5384578 Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe Jean Chalard2011-09-291-11/+15
* Change the logic of the LOOKS_LIKE_TYPO flag•••It now follows the following logic: - If the word should be filtered out => false - Else => !IN_THE_DICTIONARY This defines the behavior for ICS MR0, and prepares for addition of a new HAS_LIKELY_SUGGESTIONS flag in MR1. Bug: 5383800 Change-Id: I530b1404ae8cf3337ff68ef5ab0f4d95f2dad0e8 Jean Chalard2011-09-281-14/+16
* Fix a possible deadlock.•••Bug: 5359873 Change-Id: I80ae901c43b6ae59879e3c8b1a9dd8a937d558c1 Jean Chalard2011-09-261-17/+32
* Have the spell checker report IN_DICT correctly•••...even if the word is filtered out. This also contains minor refactoring. Bug: 5329658 Change-Id: I397a2a74f819a51df3bd07c6b94e8d29244389c4 Jean Chalard2011-09-161-20/+24
* Merge "Add an option to user dict to match more precise locales"Jean Chalard2011-09-151-1/+1
|\
| * Add an option to user dict to match more precise locales•••This should not be used lightly, as it violates the general contract of locale, and does kill some legitimate (albeit alledgedly rare) use patterns. Currently, the spell checker uses this because it uses a negative logic: it should match broadly, and when in doubt, match even more broadly, which is almost never the case of something that uses the locale. In other words: don't use this option unless you are very, VERY sure that's what you want. Hint: it isn't Bug: 5280929 Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05 Jean Chalard2011-09-151-1/+1
* | Don't kill LatinIME if the spellchecker crashes.•••If the spellchecker encounters a bug and happens to crash, it may be sensible to avoid killing the keyboard in response. This is a possible way to do it, which comes with the big drawback of making bugs in the spell checker harder to find. Change-Id: Idb26fb592b9718e1dbdadeda8fbd1a8a1d805c28 Jean Chalard2011-09-151-54/+65
|/
* Filter out of spellchecking words that don't look like words•••Note that this affects only the results of the spell checker if actually passed such a word. For example, the spell checker will not flag "http://oju" as a typo, because it looks like a URL. But in the current implementation, TextView passes "http" and "oju" separately, so "oju" is still flagged as a typo. Bug: 5281875 Change-Id: I9d721fd3af34edc51b11908cf2e8fe994b164242 Jean Chalard2011-09-141-1/+37
* Don't report 1-char words as typos•••Bug: 5281875 Change-Id: If6b6d057e18390bf01dcd31c46104b6856fbdbda Jean Chalard2011-09-131-1/+1