aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck/DictionaryPool.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make spell checker use dictionary facilitator.Keisuke Kuroyanagi2014-07-101-137/+0
| | | | | Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
* Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-081-1/+2
| | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* Add Dictionary.isInDictionary().Keisuke Kuroyanagi2014-06-091-1/+1
| | | | | | Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-241-2/+1
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-191-1/+2
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Make session id mandatory for getSuggestions.Keisuke Kuroyanagi2014-05-161-1/+1
| | | | | Bug: 15008504 Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
* Add languageWeight as an argument of getSuggestions.Keisuke Kuroyanagi2014-04-031-1/+2
| | | | | Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-0/+1
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-1/+1
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-1/+1
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Consolidate dummy proximity info to the spell checker infoSatoshi Kataoka2013-05-081-11/+11
| | | | | | Bug: 8783170 Change-Id: I067486e5ec1ae7cdef8e2121392464ba71ee8add
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-1/+2
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-2/+2
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Cleanup: Make some classes as finalTadashi G. Takaoka2012-09-271-1/+1
| | | | Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
* Add CollectionUtils class to create generic collection easilyTadashi G. Takaoka2012-08-221-1/+2
| | | | Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
* Ensure #offer always actually offers something.Jean Chalard2012-08-151-1/+27
| | | | | | | | This will allow remaining requests after a call to terminate correctly. Bug: 6963142 Change-Id: Iff67058bb8a39f2f1b468d3894861e8125de6659
* Preemptive anti-deadlock deviceJean Chalard2012-08-141-5/+25
| | | | | | | | | | 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
* Cleanup unused importTadashi G. Takaoka2011-10-041-2/+1
| | | | | | This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
* Have the spell checker report IN_DICT correctlyJean Chalard2011-09-161-0/+9
| | | | | | | | ...even if the word is filtered out. This also contains minor refactoring. Bug: 5329658 Change-Id: I397a2a74f819a51df3bd07c6b94e8d29244389c4
* Close dictionary pools when they are not used any more.Jean Chalard2011-08-161-1/+24
| | | | | Bug: 5156851 Change-Id: Icaba54734eb790b40dc2012aac25df5b2af71dbb
* Have a pool of dictionaries to check spelling.Jean Chalard2011-08-161-0/+55
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