| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | 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 Chalard | 2011-12-08 | 1 | -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 Chalard | 2011-12-05 | 1 | -18/+57 |
* | Add an option to use contacts or not while spell checking•••Bug: 5447495
Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
|  Jean Chalard | 2011-11-30 | 1 | -12/+84 |
* | Merge "Be stricter for ruling characters out of spell checking" |  Jean Chalard | 2011-11-10 | 1 | -4/+25 |
|\ |
|
| * | Be stricter for ruling characters out of spell checking•••Bug: 5548308
Change-Id: Ie8025b02424b72b69a07907cde1093830c2d4d3d
|  Jean Chalard | 2011-11-10 | 1 | -4/+25 |
* | | Fill in the HAS_RECOMMENDED_SUGGESTIONS flag.•••Bug: 5530727
Change-Id: Ic53e227f72096053e08d90204bf1f287ec09290b
|  Jean Chalard | 2011-11-10 | 1 | -21/+25 |
|/ |
|
* | Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
|  Tadashi G. Takaoka | 2011-10-28 | 1 | -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 Chalard | 2011-10-24 | 1 | -10/+14 |
* | Use the contacts dictionary in the spell checker.•••Bug: 5447495
Change-Id: I7292eb291a1630265884cc8e505a2e83a74f0c72
|  Jean Chalard | 2011-10-24 | 1 | -0/+15 |
* | Use the whitelist as a dictionary in the spell checker.•••Bug: 5402436
Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
|  Jean Chalard | 2011-10-07 | 1 | -5/+19 |
* | Merge "Fix possible NPE in debug mode" |  Jean Chalard | 2011-10-06 | 1 | -2/+4 |
|\ |
|
| * | Fix possible NPE in debug mode•••Change-Id: I55776110a489621c99e9a3bf58daa6fcaf415cb3
|  Jean Chalard | 2011-10-06 | 1 | -2/+4 |
* | | Fix a possible OutOfBoundsException•••Change-Id: I6eb13c228738119c78496a96acaedbccefd83cd3
|  Jean Chalard | 2011-10-06 | 1 | -0/+5 |
|/ |
|
* | Cleanup unused import•••This change also gets rid of several compiler warnings.
Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
|  Tadashi G. Takaoka | 2011-10-04 | 1 | -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 Chalard | 2011-09-30 | 1 | -1/+15 |
* | Add a threshold for suggestion score.•••Bug: 5384578
Change-Id: Ic0b0203d873492a41c72defef835adf36f010f47
|  Jean Chalard | 2011-09-29 | 1 | -27/+50 |
* | Move some arguments to final members.•••This is preparation for
Bug: 5384578
Change-Id: I7d493c441f375fa5f23c5e3cfa8134e2ce7775fe
|  Jean Chalard | 2011-09-29 | 1 | -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 Chalard | 2011-09-28 | 1 | -14/+16 |
* | Fix a possible deadlock.•••Bug: 5359873
Change-Id: I80ae901c43b6ae59879e3c8b1a9dd8a937d558c1
|  Jean Chalard | 2011-09-26 | 1 | -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 Chalard | 2011-09-16 | 1 | -20/+24 |
* | Merge "Add an option to user dict to match more precise locales" |  Jean Chalard | 2011-09-15 | 1 | -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 Chalard | 2011-09-15 | 1 | -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 Chalard | 2011-09-15 | 1 | -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 Chalard | 2011-09-14 | 1 | -1/+37 |
* | Don't report 1-char words as typos•••Bug: 5281875
Change-Id: If6b6d057e18390bf01dcd31c46104b6856fbdbda
|  Jean Chalard | 2011-09-13 | 1 | -1/+1 |
* | Have the spell checker honor case•••Bug: 5281103
Change-Id: I415c84dbb55f1eeb5deb9f248b4056881982ee13
|  Jean Chalard | 2011-09-12 | 1 | -22/+46 |
* | Fix a bug where the wrong suggestion score would matter.•••Also introduce a few debug prints.
Bug: 5240463
Change-Id: Iea2fffa3be9d7bd69da751ece9e67e94e9819ee1
|  Jean Chalard | 2011-09-08 | 1 | -1/+19 |
* | Only set LOOKS_LIKE_TYPO if the max score meets a threshold•••Bug: 5240463
Change-Id: I51e85edae57789d638aa1e12b82e6a75c49d33c7
|  Jean Chalard | 2011-09-05 | 1 | -23/+84 |
* | 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 Chalard | 2011-08-29 | 1 | -1/+2 |
* | Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
|  Jean Chalard | 2011-08-29 | 1 | -2/+3 |
* | Remove duplicates from the spell checker suggestions.•••Bug: 5175740
Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49
|  Jean Chalard | 2011-08-22 | 1 | -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 Chalard | 2011-08-22 | 1 | -3/+31 |
* | Have the spell checker use the User dictionary.•••Bug: 5175868
Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
|  Jean Chalard | 2011-08-19 | 1 | -2/+18 |
* | Close dictionary pools when they are not used any more.•••Bug: 5156851
Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
|  Jean Chalard | 2011-08-16 | 1 | -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 Chalard | 2011-08-16 | 1 | -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 Chalard | 2011-08-16 | 1 | -4/+9 |
* | Add proximity info for the spell checker.•••Bug: 5119987
Change-Id: I35700fd8b0ffa6bced428cc6d46b3f64eb251281
|  Jean Chalard | 2011-08-09 | 1 | -4/+12 |
* | Update the spell checker according to API cleanup•••Change-Id: Ia95a63963c16265bc9bc7e1fcecf120e17bf8636
|  satok | 2011-08-05 | 1 | -27/+41 |
* | Implement the spell checker.•••Bug: 4176026
Change-Id: I297c47202e96ce0db74d703f30709777f26b93ac
|  Jean Chalard | 2011-08-04 | 1 | -16/+111 |
* | Temporary don't use "looks type" for comming rename cl.•••Change-Id: If016a61f9e303b615c59c0035724256535aec817
|  satok | 2011-08-03 | 1 | -1/+1 |
* | Modified the test spell checker•••Change-Id: Ib64fac8672a4107638cd05a0232d46b49fc4aa8c
|  satok | 2011-07-28 | 1 | -2/+18 |
* | [step3] Add spell checker service.•••Change-Id: Ib13b3a524e0f0b90de40a3e255040b3158d49258
|  satok | 2011-07-25 | 1 | -0/+34 |