aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/correction.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Implement multi words suggestions step1•••Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b satok2012-01-301-5/+6
* Merge missing space and mistyped space correction algorithm•••Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756 satok2012-01-271-19/+10
* Cleanup unused code•••Change-Id: I6c840f9ed170919e48d1c576cd0a48777ad44030 satok2012-01-261-94/+0
* Do other error correction for the second word of two word correction•••result: I4e0b68a12190933f9 Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566 satok2012-01-251-51/+6
* Two words error correction with other error correction for the first word•••+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 satok2012-01-191-27/+40
* Prepair for advanced two words error correction•••Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8 satok2012-01-171-1/+95
* Use edit distance for transposing correction•••+1 73 -1 4 +2 0 -2 0 +3 0 -3 0 +4 11 -4 19 +5 9 -5 3 +6 2 -6 63 +7 2 -7 8 Change-Id: I269cd2386f451f8932e4e0ae66223e794fdfa862 satok2012-01-171-12/+14
* Stop avoiding adding what the user typed to candidates•••There does not seem to be any reason other than a historical one to avoid doing this, but it takes processing power and makes things more complicated. This has a very limited impact on regression tests: 5 -> 3 [He, the] 5 -> 3 [An, an] 5 -> 3 [Where, where] 5 -> 3 [This, this] 7 -> 1 [wAtch, watch] 6 -> 4 [oveNs, oceans] 5 -> 1 [Ahere, Where] 7 -> 1 [Hast, Hast] 7 -> 5 [bjp, bill] 5 -> 1 [What, What] 5 -> 3 [Sound, So und] 7 -> 3 [causalities, casualties] 7 -> 3 [discontentment, discontent] 7 -> 3 [irregardless, regardless] 5 -> 1 : 2 5 -> 3 : 5 6 -> 4 : 1 7 -> 1 : 2 7 -> 3 : 3 7 -> 5 : 1 +1 4 -1 0 +2 0 -2 0 +3 8 -3 0 +4 1 -4 0 +5 1 -5 7 +6 0 -6 1 +7 0 -7 6 Change-Id: I6407cf922f27bbd3992df11d63690e71fc61111b Jean Chalard2012-01-161-2/+2
* Store suggestions for each input length for missing space algorithm etc.•••Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c satok2012-01-161-17/+15
* New LOG lib•••Change-Id: I977e7e10fa58c0a64ca0c3c7b5cb2272446e3efe satok2012-01-131-16/+17
* Move auto correction thresthold to the native code•••bug: 5858137 Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d satok2012-01-121-12/+70
* Prepare for proximity + two word correction No2•••Change-Id: Idfa1413e853299f1db459ef07da3efa932047981 satok2011-12-191-0/+29
* Add a functionality to limit the max correction errors•••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 satok2011-12-151-44/+56
* Prune traversing a bit agressively and add a flag not to do auto completion•••+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 satok2011-12-151-2/+5
* am 620b1faf: Merge "Fix the touch calibration bug" into ics-mr1•••* commit '620b1faf126d4b5f7cb5c353cebd374d1347fdd4': Fix the touch calibration bug satok2011-11-171-0/+3
|\
| * Fix the touch calibration bug•••Bug: 5629373 Change-Id: Iacc746e1cc97bf305e1f287cf7431b7115607eeb satok2011-11-171-0/+3
* | Reorganize char_utils.h and basechars.h••• * make BASE_CHARS[] const * add several inline menthods for ASCII character handling Change-Id: I49664f219af88faf0aef43ac350cfc216570b185 Tadashi G. Takaoka2011-11-111-17/+10
* | Remove NULL from native/src•••Change-Id: I5299af7773d28fd12faebbfe644829a401ae5644 Tadashi G. Takaoka2011-10-281-1/+1
|/
* Calculate edit distances incrementally.•••Change-Id: I3ee734b9b71351523dc8658cba33d6c8435e348e Yusuke Nojima2011-10-141-46/+93
* Calibrate the scores of the proximity chars according to the distances.•••+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 Yusuke Nojima2011-10-111-56/+57
* Fix a bug of the conversion of the correction algorithm•••Bug: 5414829 +1 25 -1 17 +2 0 -2 0 +3 0 -3 0 +4 15 -4 9 +5 2 -5 9 +6 13 -6 4 +7 3 -7 19 Change-Id: Ie99db961051320ee31d31476ea7c25b1d837c484 satok2011-10-071-8/+31
* Promote touches in hit box according to the distance from sweet spot•••Change-Id: Ice0fd0514304a79aed67627c2ea3439bd5177de4 Yusuke Nojima2011-10-051-36/+47
* Demote words with a capitalized char•••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 satok2011-10-031-5/+40
* Calibrate score by touch coordinates•••Change-Id: I9fc066eb1a455243536e72405922fcb7e26d7dc6 Yusuke Nojima2011-09-301-0/+16
* Merge "Classify touches into three types."Yusuke Nojima2011-09-301-22/+47
|\
| * Classify touches into three types.•••Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890 Yusuke Nojima2011-09-301-22/+47
* | Add a flag to demote completed suggestions•••Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3 satok2011-09-291-2/+12
|/
* Delete unused function and add TODO comment for a potential bug.•••Change-Id: I7b16de1bd6b278c51d56eb1904e186c3db3b7f3d Yusuke Nojima2011-09-141-0/+3
* Fix a bug for calculating the edit distance•••Change-Id: I4c2cd102c258ccdb2de18c53901f91c0f7c7a986 satok2011-08-261-1/+1
* remove unnecessary condition check.•••Change-Id: I6e5e3dee0ca3aae0088dcb309da8be16d3842d47 Yusuke Nojima2011-08-261-2/+1
* Combine proximity and corrections•••bug: 4170136 Change-Id: I0a6d54c769b05f7a67f2f472d48a3e54fe3af475 satok2011-08-241-30/+36
* Combine the skipped and transposed correction•••bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5 satok2011-08-231-54/+141
* Fix last excessive char correction handling•••Change-Id: Id1d46cd96e041fbbbee995093ef8ca56daa3b383 satok2011-08-191-1/+6
* Refactor correction.cpp•••Change-Id: I1275496e3e7d7124494994d3c52730ec8afdfad3 satok2011-08-191-89/+89
* Do the transposed correction and the excessive correction by one loop•••Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199 satok2011-08-191-40/+113
* Improve fat finger correction.•••Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4 satok2011-08-171-101/+97
* Combilne normal correction and skip correction•••Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806 satok2011-08-151-13/+124
* Removed matchedChar count•••Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b satok2011-08-111-32/+22
* Calculate the skip correction by one loop•••Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24 satok2011-08-111-5/+13
* Improve skip correction algorithm•••Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a satok2011-08-111-17/+51
* Add correction state.•••Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754 satok2011-08-101-13/+28
* Refactor CorrectionState to Correction•••Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b satok2011-08-101-0/+443