aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix correction utilitysatok2012-03-021-1/+9
| | | | | | Bug: 6096247 Change-Id: Ie17c60dde9bd081790b79312ce8d96d292c5128c
* Support multi words suggestionsatok2012-02-081-5/+5
| | | | | | result: I4d097612db2f2a93522 Change-Id: Iedbb24f431dac43e52b6dcce8cb610a75e0ca46e
* Fix indentKen Wakasa2012-02-061-1/+1
| | | | Change-Id: I77b4fb3a47faae7d4ad45d9903556e77a2fc7163
* Support correction conversion from skip to additional proximitysatok2012-02-031-0/+1
| | | | | | Result: I34bedff6149a6a4e01 Change-Id: I46d528f228a969a0a996299221622627f43c55ec
* Support additional proximity characterssatok2012-02-021-1/+1
| | | | Change-Id: Ifbe0d7e4eafea1926bbce968eae4724dd5769689
* Merge missing space and mistyped space correction algorithmsatok2012-01-271-3/+5
| | | | Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756
* Cleanup unused codesatok2012-01-261-2/+0
| | | | Change-Id: I6c840f9ed170919e48d1c576cd0a48777ad44030
* Do other error correction for the second word of two word correctionsatok2012-01-251-0/+49
| | | | | | result: I4e0b68a12190933f9 Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566
* Two words error correction with other error correction for the first wordsatok2012-01-191-1/+6
| | | | | | | | | | | | | | | | | | | +1 26 -1 5 +2 0 -2 0 +3 0 -3 0 +4 9 -4 25 +5 20 -5 21 +6 13 -6 6 +7 15 -7 26 Change-Id: Iad682d417a6bb42b11ca6e60157698ca66fef3ff
* Prepair for advanced two words error correctionsatok2012-01-171-0/+2
| | | | Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8
* Store suggestions for each input length for missing space algorithm etc.satok2012-01-161-2/+1
| | | | Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c
* Move auto correction thresthold to the native codesatok2012-01-121-7/+17
| | | | | | bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
* Fix indentations.Ken Wakasa2012-01-061-4/+4
| | | | Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24
* Add a functionality to limit the max correction errorssatok2011-12-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Before ==== test finished, terminate logcat ===== (0) 121.97 (0.28%) (1) 42032.07 (95.46%) (2) 11.03 (0.03%) (3) 12.19 (0.03%) (4) 10.02 (0.02%) (5) 1417.41 (3.22%) (6) 258.43 (0.59%) (20) 50.20 (0.11%) Total 44033.07 (sum of others 43913.32) After ==== test finished, terminate logcat ===== (0) 110.81 (0.29%) (1) 36416.11 (94.47%) (2) 10.06 (0.03%) (3) 9.45 (0.02%) (4) 9.83 (0.03%) (5) 1535.52 (3.98%) (6) 290.25 (0.75%) (20) 40.57 (0.11%) Total 38546.83 (sum of others 38422.60) Change-Id: Iffd24ce0b2dc422c8c6085d5be5f6bfdaf59ca7d
* Prune traversing a bit agressively and add a flag not to do auto completionsatok2011-12-151-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | +1 1 -1 2 +2 0 -2 0 +3 0 -3 0 +4 6 -4 1 +5 4 -5 3 +6 3 -6 10 +7 7 -7 5 Before: Total 42936.28 (sum of others 42814.63) After: Total 40860.56 (sum of others 40733.92) Change-Id: I6a3d52f31ec181970083358280c3ebaca0a1f63e
* Calculate edit distances incrementally.Yusuke Nojima2011-10-141-0/+1
| | | | Change-Id: I3ee734b9b71351523dc8658cba33d6c8435e348e
* Calibrate the scores of the proximity chars according to the distances.Yusuke Nojima2011-10-111-1/+4
| | | | | | | | | | | | | | | | | | | +1 75 -1 27 +2 0 -2 0 +3 0 -3 0 +4 30 -4 48 +5 37 -5 27 +6 4 -6 35 +7 9 -7 18 Change-Id: I3c6ab06a0084c18ab595147c36c2ff4b1e961a7b
* Promote touches in hit box according to the distance from sweet spotYusuke Nojima2011-10-051-3/+2
| | | | Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4
* Demote words with a capitalized charsatok2011-10-031-2/+3
| | | | | | | | | | | | | | | | | | | | | Bug: 5371514 +1 4 -1 2 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 0 -5 12 +6 3 -6 3 +7 12 -7 0 Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f
* Merge "Classify touches into three types."Yusuke Nojima2011-09-301-5/+3
|\
| * Classify touches into three types.Yusuke Nojima2011-09-301-5/+3
| | | | | | | | Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890
* | Add a flag to demote completed suggestionssatok2011-09-291-1/+2
|/ | | | | Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
* Fix editDistance() not to access the outside of mEditDistanceTableYusuke Nojima2011-09-161-1/+2
| | | | | | | editDistance() can access the outside of mEditDistanceTable when called with strings that contain MAX_WORD_LENGTH_INTERNAL characters. Change-Id: I996e6cf21bd6acd6584beb4046c10491a044191e
* Combine the skipped and transposed correctionsatok2011-08-231-1/+2
| | | | | | bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5
* Do the transposed correction and the excessive correction by one loopsatok2011-08-191-4/+13
| | | | Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
* Improve fat finger correction.satok2011-08-171-2/+1
| | | | Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
* Combilne normal correction and skip correctionsatok2011-08-151-1/+5
| | | | Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
* Removed matchedChar countsatok2011-08-111-13/+4
| | | | Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
* Calculate the skip correction by one loopsatok2011-08-111-1/+1
| | | | Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
* Improve skip correction algorithmsatok2011-08-111-17/+17
| | | | Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
* Add correction state.satok2011-08-101-2/+24
| | | | Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
* Refactor CorrectionState to Correctionsatok2011-08-101-0/+132
Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b