aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/spellcheck (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Quit sorting suggestions in AndroidSpellCheckerService.Keisuke Kuroyanagi2014-07-102-55/+19
| | | | | | | | Suggestions have been sorted in SuggestionResults. Bug: 13689011 Change-Id: Iec21e97119ceb7c71673d5b15bb1f06040b59fef
* Make spell checker use dictionary facilitator.Keisuke Kuroyanagi2014-07-106-537/+236
| | | | | Bug: 13630847 Change-Id: I07d17ccf5ce0755f63a0b8d236d77600baaf62b6
* Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-084-7/+15
| | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* Additional subtype ID should be independent of OS-versionYohei Yukawa2014-07-041-2/+2
| | | | | | | | | | | | | | | | | | | | | This CL consolidates the initialization logic for additional subtypes so that each additional subtypes can have predictable subtype ID regardless of OS version. Previously subtype IDs for additional subtypes are calculated differently depending on the running OS version with hoping it minimizes the risk of compatibility issues. However, it is getting harder and harder to maintain slightly different logic between OSes. Thus we decided to unify the logic into that in KitKat even though it may causes some breaking changes. Note that the actual extra values that are used to instantiate InputMethodSubtype object are still determined on the fly depending on the running OS version. However these actual extra values are no longer used for the subtype ID calculation. BUG: 16000850 Change-Id: Id3c262386a7bc7ed75966b1395a50171abe550d3
* [SD9] Add armenian and georgian scriptsJean Chalard2014-07-012-3/+2
| | | | | Bug: 15840116 Change-Id: I91719e4fc2e3fe29320e4cb8b1a2f8f93c44cc4d
* [SD7] Actually check for script.Jean Chalard2014-07-011-2/+2
| | | | | | | ...also implement the check for Hebrew and Arabic. Bug: 15840116 Change-Id: Ia6433d7d98038ade64c171be4fe4b3f094111fac
* Add a relevant suggestion to period-checkable requestsJean Chalard2014-06-271-1/+3
| | | | | Bug: 15412461 Change-Id: Ibf37df4d31141a7e43b54d6342e7861eedb1c03b
* Merge "[SD1] Move script-related methods to a new utils class."Jean Chalard2014-06-242-86/+9
|\
| * [SD1] Move script-related methods to a new utils class.Jean Chalard2014-06-262-86/+9
| | | | | | | | | | Bug: 15840116 Change-Id: I3a2a9c41e40590c0116c7885a49c6fa308ed8f44
* | Make PrevWordsInfo have multiple words' information.Keisuke Kuroyanagi2014-06-252-4/+6
|/ | | | | Bug: 14425059 Change-Id: I2bd6a872904a44b80f638a13d91a97559217cc1a
* Special case periods in the spell checkerJean Chalard2014-06-101-0/+16
| | | | | | | | Special case <valid word>.<valid word> to send as a suggestion the same string where the periods is replaced by a space. Bug: 10780091 Change-Id: I43c94675977f9ab5d7ee5671486cb742b39f3974
* Merge "Split the sentences into words ourselves"Jean Chalard2014-06-102-2/+243
|\
| * Split the sentences into words ourselvesJean Chalard2014-06-092-2/+243
| | | | | | | | | | | | | | | | | | | | The framework's default split is not suitable for all languages. Also it does not perform very well when space is mistyped as period. Bug: 9063355 Bug: 10780091 Change-Id: I400d790ff1c29f221697fd94d79bbf67c61c7b8a
* | Remove mPrevWordsInfoJean Chalard2014-06-101-1/+1
|/ | | | | | | | This member has outlived its usefulness. It's not clear now that it makes things really faster, but it does bring a lot of complexity that we can avoid by removing it. Change-Id: Ifbc8094a45b56b958fe165b1930f4cc358a97721
* Add Dictionary.isInDictionary().Keisuke Kuroyanagi2014-06-093-5/+5
| | | | | | Bug: 13142176 Bug: 15428247 Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
* Use Java 7 diamond operatorTadashi G. Takaoka2014-05-245-20/+10
| | | | Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
* Use PrevWordsInfo instead of String in Java side.Keisuke Kuroyanagi2014-05-195-21/+29
| | | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
* Make session id mandatory for getSuggestions.Keisuke Kuroyanagi2014-05-164-6/+6
| | | | | Bug: 15008504 Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
* Use different user dict name for spell checker.Keisuke Kuroyanagi2014-04-281-1/+2
| | | | | Bug: 13630847 Change-Id: Icabd08c674dcf086250b9e594328a43286d1d203
* Use different contacts dict name for spell checker.Keisuke Kuroyanagi2014-04-281-1/+2
| | | | | Bug: 13630847 Change-Id: I016a464890d5e63794fb1288b4ce7b09adffc453
* Move dicts for spellchecker to under spellcheck.Keisuke Kuroyanagi2014-04-283-2/+111
| | | | | | Bug: 13630847 Change-Id: Iadcf5b31f66fb73efc5c640e96e8c2106a0224dd
* Add languageWeight as an argument of getSuggestions.Keisuke Kuroyanagi2014-04-032-2/+4
| | | | | Bug: 8187060 Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5
* Fix: spell checker wrongly sorts suggestions.Keisuke Kuroyanagi2014-03-281-7/+4
| | | Change-Id: I729e1cd5e5e333038b9d9e6197cf50b574990d76
* Separate utility methods from BinaryDictionary.Keisuke Kuroyanagi2014-03-051-2/+3
| | | | | Bug: 8187060 Change-Id: Ice2984e332b7bd3bb17174aefc80b5635b72fc50
* [IL69.1] Move a static method to a utility class.Jean Chalard2014-01-241-4/+10
| | | | | | This is a followup to IL69. Change-Id: Iba154517aa7f75b9f16aa1b808c0da8d84be837f
* [IL70] Remove unused argumentsJean Chalard2014-01-231-1/+1
| | | | | Bug: 8636060 Change-Id: Iec56bce362ebfc52fedab02b127978abb4f3c7f9
* [IL69] Oust Keyboard from WordComposer#setComposingWordJean Chalard2014-01-231-1/+5
| | | | | Bug: 8636060 Change-Id: I624a45500603dfad355ee3b8b794b2d895219c0b
* [IL68] Start refactoring setComposingWordJean Chalard2014-01-232-13/+2
| | | | | Bug: 8636060 Change-Id: I242b7c264abf380bcd6b6b3c848238921f988e54
* Remove useless method call for spell checker.Keisuke Kuroyanagi2013-12-261-0/+2
| | | | | Bug: 8187060 Change-Id: I2f91da12ba2a9e7ce28abd06f314e0e6125d08dc
* [IL15] Some small refactoringJean Chalard2013-12-201-1/+1
| | | | | Bug: 8636060 Change-Id: I4bfdf1628c9b55a79bd2d88ee30bf10b08a49232
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-132-1/+2
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix the security related API change for PreferenceActivitySatoshi Kataoka2013-10-091-1/+3
| | | | | Bug: 10118761 Change-Id: I63501d6c2b5f561d7ab8b7362498665d805d5e1e
* Remove suggestions when string contains a periodJean Chalard2013-10-072-13/+43
| | | | | | | | | This is not the right way to do it, but it's simple and will kill the regression. We should investigate why the return values are wrong in this case. Bug: 10780091 Change-Id: I808727242c9cb1598df00a7426358dc3a658add4
* Correspond to the security related API change for PreferenceActivitySatoshi Kataoka2013-10-021-1/+9
| | | | | Bug: 10118761 Change-Id: Ia7d1c6c526dae849f447c26387e96a4fb4d6042f
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-282-7/+9
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Move createKeyboardSetForSpellChecker to AndroidSpellCheckServiceTadashi G. Takaoka2013-08-071-3/+22
| | | | Change-Id: I4a9065e703e98ffed50f2a6d76ace938dfc26ddf
* Reorganize Utils classTadashi G. Takaoka2013-07-051-2/+2
| | | | Change-Id: I7294d1547def5dcfcae9d1d53b277cb3cc9f2d18
* Move util classes to the latin/utils directoryKen Wakasa2013-06-245-8/+8
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* 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