aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/correction.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Checking key edit distance of candidate words for gesture scoring.•••bug: 8616704 Change-Id: I98c3248877b1e3e722a6c00a2851e543e5fcbe11 Keisuke Kuroynagi2013-05-071-42/+5
* Enable touch coordinate correction for new algorithm•••Bug: 8505668 Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498 Satoshi Kataoka2013-04-151-1/+1
* Add flag to turn on new suggest implementation for typing•••Bug: 8277656 Change-Id: I974f560050cc5339d110b97620df1c5b496977fe Tom Ouyang2013-04-041-5/+15
* Refactor parameters by naming convention•••Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77 Satoshi Kataoka2013-03-181-1/+1
* Refactor ProximityType and CorrectionType•••Bug: 8277656 Change-Id: Ia7940bbf81fcf4ff5eb7869b105d98aa34155d33 Satoshi Kataoka2013-03-071-8/+8
* Cleanup getProximityType•••Change-Id: I89c5871bbcf0fe3d5f50052e8f64932d8efbce94 Satoshi Kataoka2013-03-011-12/+12
* Small cleanups•••Change-Id: I3e5862a405b4c63616c7ea947cd53c52b5035862 Ken Wakasa2013-01-301-1/+1
* Some more misc cleanups•••Change-Id: I88cb6d38d73a2a68ade2f2190910f4733cd7b668 Ken Wakasa2013-01-291-3/+3
* refactor distance cache•••Change-Id: I21b54b356641a63d7be17fd34b9ede7a63ec738a Satoshi Kataoka2013-01-151-21/+4
* Use -fno-inline for debug builds & small cleanups•••Change-Id: I24f91d7130f2203715b868d4a82510660939886f Ken Wakasa2013-01-151-0/+2
* Remove MAX_WORD_LENGTH_INTERNAL•••Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071 Ken Wakasa2013-01-151-2/+2
* Replace assert() with ASSERT() & use -funwind-tables for debug builds•••Change-Id: I9ec14eb24ebc45657119a45aba09517e71a22974 Ken Wakasa2013-01-091-1/+1
* Misc small cleanups•••Change-Id: Iea61e6c76a9a0437a1b2e8143f6ab5b09a8e211e Ken Wakasa2013-01-081-15/+10
* Small cleanups•••Change-Id: I29b4dee15d66f8f1372035738658234395001d41 Ken Wakasa2012-12-111-7/+2
* Follow up to Ic6af0c596374d936d2b9b31e626fb62bd265ce64•••Tidy up inline functions with AK_FORCE_INLINE. Moved back some inline methods to header files. Change-Id: Ibd37b595666ebddda198d9237f19f6712653a8e8 Ken Wakasa2012-11-031-131/+2
* Add more compiler warning flags•••Change-Id: Ic6af0c596374d936d2b9b31e626fb62bd265ce64 Ken Wakasa2012-11-021-0/+23
* Use 32-bit code points for suggestions output•••This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc Ken Wakasa2012-11-011-40/+35
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused param...•••Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09 Ken Wakasa2012-10-091-1/+1
* Follow up change for I5f166a738f6e84a1b807be•••Bug: 7283955 Change-Id: Iec716d75e7c8a727b198688f44ef4a8cd1255ec1 Satoshi Kataoka2012-10-051-4/+4
* Fix addtional proximity correction•••Change-Id: I3125764b98af28ce423dc12cbf0dac321ef22386 Satoshi Kataoka2012-10-051-12/+12
* Using isSkippableChar instead of '\'' and '-'.•••Change-Id: I295a72b683b2ebc28a006baa66baf7e1b97100eb Keisuke Kuroyanagi2012-09-141-1/+1
* Add comments for meaningless lines•••Change-Id: I20ebe246f6980fd3054c2c7e98b5150eaabbcc77 Ken Wakasa2012-09-071-1/+1
* Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedL...•••This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25 Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4 Ken Wakasa2012-09-041-8/+10
* Address warnings by -Weffc++•••Change-Id: Icd60f1ed2ace0b975d8785bc8a386c7944846075 Ken Wakasa2012-08-241-3/+0
* Step 38-A Cleanup touch path•••Change-Id: I9bfac98b9ac10f3812290f21673c4002241eae01 Satoshi Kataoka2012-08-231-61/+61
* Allow one-character suggestions.•••Bug: 6906525 Change-Id: I62117653ac1281f825afc4ebb30f7e786902b750 Jean Chalard2012-08-171-4/+0
* Cleanup and fix method visibility.•••Change-Id: Ia9e8c69da21ce22bf674ec6c7b2536008a360ea3 Ken Wakasa2012-08-161-1/+1
* Merge "Tag the whitelisted entries in native code." into jb-mr1-devJean Chalard2012-08-131-0/+4
|\
| * Tag the whitelisted entries in native code.•••Since this is already used in Java land, this actually does activate the whitelist path, and the code is now fully functional. We still have to remove the old whitelist resource and to compile the dictionary that includes the whitelist. Bug: 6906525 Change-Id: Iacde5313e303b9ed792940efaf6bcfa4ee1317bd Jean Chalard2012-08-131-0/+4
* | Clean up constructors•••And, use C++ style casts and use float math functions rather than double ones to save memory space. Also, stop using FloatMath and NativeUtils as standard Math methods are faster now. See http://code.google.com/p/android/issues/detail?id=36199 and https://android-review.googlesource.com/40700 multi-project commit with I4259fb5ab8a15ac5760a7f04fc8f4c860529f04a Change-Id: I0b81cff8c91769f7559a59b9528c75a5aabb4211 Ken Wakasa2012-08-131-4/+4
|/
* Use JNI Region calls also in getSuggestions()•••Change-Id: I9cc0208397c202aeb6f7b5bb5ad59e00c5afbd80 Ken Wakasa2012-08-101-2/+0
* Header cleanup. Moved a couple of functions from .h to .cpp.•••Change-Id: Ifd12a7632f75395bd0ef5e394d5c2abd6cbe28c6 Ken Wakasa2012-08-021-10/+10
* Header cleanup•••Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba Ken Wakasa2012-08-011-1/+2
* Cleanup headers•••Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3 Ken Wakasa2012-07-311-5/+4
* Cosmetic fixes and style fixes•••Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc Ken Wakasa2012-07-251-11/+11
* Move correction state to stack memory•••*Before (0) 13.18 (0.01%) (1) 93025.41 (62.06%) (2) 10.75 (0.01%) (3) 10.50 (0.01%) (4) 117.50 (0.08%) (5) 55678.98 (37.14%) (6) 9.09 (0.01%) (20) 883.84 (0.59%) Total 149898.24 (sum of others 149749.25) *After (0) 17.41 (0.01%) (1) 92673.41 (61.95%) (2) 10.62 (0.01%) (3) 10.37 (0.01%) (4) 120.96 (0.08%) (5) 55741.18 (37.26%) (6) 11.01 (0.01%) (20) 862.72 (0.58%) Total 149595.52 (sum of others 149447.68) Change-Id: Ia5a25a544fc388e4dab1e08d8f78d5117b249cf3 satok2012-06-141-5/+0
* Fix debug build•••Change-Id: I48a87967ac741455502ac1a18465ae6ed7ef0d12 satok2012-06-131-1/+1
* refactor native step 2•••- proximity_info is now stateless Change-Id: I62725bfe05b161fa8fc050ea6b50867e10a354e2 Satoshi Kataoka2012-06-081-26/+27
* Separate state from proximity_info step1•••Bug: 6548943 Change-Id: I7b4fbe20615a28151a74875be43b9f4a20e0dce9 Satoshi Kataoka2012-06-071-19/+18
* am 6cbe204f: Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaa...•••* commit '6cbe204fce109fab652da15f4c8ea1ae35fca3e7': Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa Satoshi Kataoka2012-05-301-0/+4
|\
| * Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa•••Bug: 6576793 Change-Id: I46f56654cd25dc28668ad75ac71e0e3beb8cdcf3 Satoshi Kataoka2012-05-301-0/+4
* | am a0ac31fc: Fix the issue on multiple words suggestion•••* commit 'a0ac31fcaa01c21592a6e7af243c14dada65cf3e': Fix the issue on multiple words suggestion satok2012-05-231-1/+1
|\|
| * Fix the issue on multiple words suggestion•••Bug: 6509844 Change-Id: I823074a2b29befc3e60c63699ab4dc7719105c63 satok2012-05-231-1/+1
* | Fix build•••Change-Id: I799811aa3afb59bba2e4086a063f5da03669bba3 Jean-Baptiste Queru2012-05-161-0/+1
|/
* Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07 satok2012-05-161-5/+5
* Fix a bug of handling single quote in the correction algorithm•••Bug: 6096247 Change-Id: I5490bbdee4ce1e3e0729ec1510a2baab85eeaf05 satok2012-05-151-3/+5
* Add methods to inverse compute the probability.•••For now the probability is just returned with the same value it had, but this is some ground work that needs to be done anyway. Bug: 6313806 Change-Id: I9bb8b96b294109771208ade558c9ad56932d2f8e Jean Chalard2012-04-241-13/+13
* Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9•••Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65 Ken Wakasa2012-03-301-0/+1143