aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix offdevice test build.•••Change-Id: I42143bdc4f6f5aa4f55530de84819ab722a22f72 Keisuke Kuroyanagi2013-10-081-2/+2
* Merge "Fix a bug: wrong parent position is written when moving."Keisuke Kuroyanagi2013-10-081-1/+2
|\
| * Fix a bug: wrong parent position is written when moving.•••Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a Keisuke Kuroyanagi2013-10-081-1/+2
* | Merge "Don't auto-correct to non-whitelist shortcuts"Jean Chalard2013-10-071-1/+1
|\ \ | |/ |/|
| * Don't auto-correct to non-whitelist shortcuts•••Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20 Jean Chalard2013-10-071-1/+1
* | Fix bug and Add large test for decaying dictionary.•••- GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940 Keisuke Kuroyanagi2013-10-077-4/+24
* | Parameter optimization.•••[Category diff] +1 194 -1 21 +2 15 -2 1 +3 1 -3 15 +4 152 -4 90 +5 108 -5 197 +6 94 -6 136 +7 28 -7 132 [Weighted category diff] +1 230 -1 23 +2 15 -2 1 +3 1 -3 15 +4 180 -4 106 +5 122 -5 224 +6 107 -6 158 +7 29 -7 157 show diff for ./en_user_log_phones_2011_08.csv +1 171 -1 9 +2 7 -2 1 +3 1 -3 7 +4 123 -4 76 +5 84 -5 157 +6 66 -6 119 +7 20 -7 103 Before ---- count ---- Count(1):75.64%, 177913 Count(2):1.06%, 2510 Count(3):0.56%, 1319 Count(4):6.63%, 15612 Count(5):9.87%, 23223 Count(6):2.79%, 6580 Count(7):3.41%, 8038 ---- weight ---- Weight(1):96.88%, 2009907 Weight(2):0.24%, 5157 Weight(3):0.09%, 2025 Weight(4):0.77%, 16095 Weight(5):1.11%, 23077 Weight(6):0.39%, 8172 Weight(7):0.48%, 10146 ---- score ---- Conservative score = 66.406 Normal score = 81.512 Agressive score = 89.064 Insane score = 92.841 After ---- count ---- Count(1):75.71%, 178087 Count(2):1.07%, 2524 Count(3):0.55%, 1305 Count(4):6.66%, 15677 Count(5):9.83%, 23133 Count(6):2.78%, 6539 Count(7):3.37%, 7930 ---- weight ---- Weight(1):96.89%, 2010118 Weight(2):0.24%, 5171 Weight(3):0.09%, 2011 Weight(4):0.78%, 16184 Weight(5):1.1%, 22972 Weight(6):0.39%, 8109 Weight(7):0.48%, 10014 ---- score ---- Conservative score = 66.431 Normal score = 81.531 Agressive score = 89.08 Insane score = 92.855 No diffs for 10+ freq user log. Change-Id: Ica4a7604507a2c91aaa7daf5bacf4fce4039f547 Keisuke Kuroyanagi2013-10-071-3/+3
|/
* Merge "Check the elapsed time for decaying."Keisuke Kuroyanagi2013-10-0411-57/+111
|\
| * Check the elapsed time for decaying.•••Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9 Keisuke Kuroyanagi2013-10-0411-57/+111
* | Merge "Optimize the parameters for the typing algorithm"Xiaojun Bi2013-10-041-24/+24
|\ \
| * | Optimize the parameters for the typing algorithm•••The new set of parameters are optimized for both keystroke savings and regression test scores. This change is corresponding to the patch 6 of Change-Id: Ib8439a85de26cbbba58837344717f0acbfcf0ab0 in the regression test repository. Here is the link to the doc analyzing the “nnow → know” case: https://docs.google.com/a/google.com/document/d/1XIHfAHLlP1f3F8R-u7yxPGWcP58tokygzN_lQKXFFgM/edit Here is the link to the spreadsheet showing the diff of the words with frequencies >= 10 in en_user_log_phones_2011_08.csv. https://docs.google.com/a/google.com/spreadsheet/ccc?key=0Am_RQlV4zC6SdFFVTlhJT0RLUENCWWZOZ3JQTUpMQ2c&usp=drive_web#gid=0 Updated TRT Results for this change: [Category diff] +1 783 -1 717 +2 20 -2 34 +3 34 -3 20 +4 575 -4 777 +5 765 -5 755 +6 785 -6 666 +7 479 -7 472 [Weighted category diff] +1 999 -1 965 +2 21 -2 35 +3 35 -3 21 +4 804 -4 980 +5 970 -5 971 +6 954 -6 831 +7 645 -7 625 Bug: 10613502 Change-Id: I5cd447673a196ad5af641a2118602bec879bdefb Xiaojun Bi2013-10-031-24/+24
* | | Fix: Native crash when an empty attribute is written.•••Bug: 10964805 Change-Id: Ia3cd891d20aee2226092f0f646d8f280901786fc Keisuke Kuroyanagi2013-10-031-0/+3
| |/ |/|
* | Fix build.•••Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f Keisuke Kuroyanagi2013-10-021-1/+0
* | Use probability table for decaying dictionaries.•••Bug: 6669677 Change-Id: Ib5994a2e343dfcdaf23755e523f52846709b1c6c Keisuke Kuroyanagi2013-10-022-18/+42
* | Stochastic decay.•••Bug: 6669677 Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771 Keisuke Kuroyanagi2013-10-025-91/+69
* | Change name of DecayingUtils.•••Bug: 6669677 Change-Id: I97839b2184b95ae1659c55a9b31d22e2d601cba1 Keisuke Kuroyanagi2013-10-026-45/+48
|/
* Merge "Implement the heuristic for auto-commit."Jean Chalard2013-10-013-5/+65
|\
| * Implement the heuristic for auto-commit.•••Bug: 9059617 Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008 Jean Chalard2013-10-013-5/+65
* | Merge "Fix typos"Jean Chalard2013-10-016-19/+19
|\ \
| * | Fix typos•••I think I may pass out from the sheer ugliness Change-Id: I1e709f03ef47ec713552d41fd9e37e01b810ae88 Jean Chalard2013-10-016-19/+19
| |/
* / Separate "GC" and "GC with decay".•••Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467 Keisuke Kuroyanagi2013-10-0111-30/+69
|/
* Create the wiring for auto-commit confidence computation.•••Bug: 9059617 Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a Jean Chalard2013-10-015-10/+23
* Merge "Surface the distance after first word for autocommit."Jean Chalard2013-09-305-9/+50
|\
| * Surface the distance after first word for autocommit.•••Bug: 9059617 Change-Id: Ie9b4cc8148ae8e0ff437b3337ab6c1bde95500f5 Jean Chalard2013-09-305-9/+50
* | Implement simple dictionary decay.•••Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe Keisuke Kuroyanagi2013-09-3010-37/+391
|/
* Prepare dictionary decay.•••Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7 Keisuke Kuroyanagi2013-09-3013-39/+48
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-292-17/+21
|\
| * Set header attributes for ExpandableBinaryDictionary.•••Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523 Keisuke Kuroyanagi2013-09-282-17/+21
* | Merge "Add boundary checking for PtNode Array reading."Keisuke Kuroyanagi2013-09-273-1/+21
|\|
| * Add boundary checking for PtNode Array reading.•••Bug: 6669677 Change-Id: Iea5e19d98d2fc26f137046dd5f8e339239672351 Keisuke Kuroyanagi2013-09-273-1/+21
* | Merge "Add unigram/bigram counting."Keisuke Kuroyanagi2013-09-2717-101/+250
|\ \ | |/ |/|
| * Add unigram/bigram counting.•••Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c Keisuke Kuroyanagi2013-09-2717-101/+250
* | Merge "Use base lower character to get point to key length."Keisuke Kuroyanagi2013-09-261-4/+5
|\ \ | |/ |/|
| * Use base lower character to get point to key length.•••Bug: 9490364 Change-Id: I3755f00ab22f926f087fc917b95a2db7d722fa00 Keisuke Kuroyanagi2013-09-261-4/+5
* | Create empty dictionary file in native code.•••Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212 Keisuke Kuroyanagi2013-09-262-0/+3
|/
* Merge "Prepare dictionary file creating in native code."Keisuke Kuroyanagi2013-09-266-70/+172
|\
| * Prepare dictionary file creating in native code.•••Bug: 6669677 Change-Id: I7c476a6e99ec7ac883f05d84ef306265255154da Keisuke Kuroyanagi2013-09-266-70/+172
* | Merge "Add empty PtNode checking for PatriciaTriePolicy."Keisuke Kuroyanagi2013-09-264-4/+18
|\ \
| * | Add empty PtNode checking for PatriciaTriePolicy.•••Bug: 9503570 Change-Id: I784d29c307c1040699fa0aadfc6a47d97f03ffe4 Keisuke Kuroyanagi2013-09-264-4/+18
* | | Merge "Refactoring header attribute reading."Keisuke Kuroyanagi2013-09-264-83/+142
|\ \ \ | |/ / |/| / | |/
| * Refactoring header attribute reading.•••Bug: 6669677 Change-Id: Ifc11da614d5c331ac61019a324e3a0ff187329cd Keisuke Kuroyanagi2013-09-264-83/+142
* | Boundary check for children creating of PatriciaTriePolicy.•••Bug: 10537529 Change-Id: I0cd8b6de230795498395ca08789ccc1c74780f2c Keisuke Kuroyanagi2013-09-252-0/+14
|/
* Allow large memory space for GC.•••Bug: 6669677 Change-Id: I021c92a1ca5cd28f745cbfe729c99e346c58074d Keisuke Kuroyanagi2013-09-245-17/+33
* GC step 5. Add large tests and fix bugs.•••Bug: 6669677 Change-Id: I41e44a64730f9c66645995095a7ecff51ffd5351 Keisuke Kuroyanagi2013-09-2410-57/+129
* GC step 4. Update all positions in new dict and add a test.•••Bug: 6669677 Change-Id: I035d848a210653dcd3c1a1f21781968adced9225 Keisuke Kuroyanagi2013-09-2410-45/+231
* GC step 3. Place and write valid PtNodes.•••Bug: 6669677 Change-Id: Id2b7359bafb34acf12dc3bf4c595a03073fda805 Keisuke Kuroyanagi2013-09-206-15/+199
* GC step 2. Finding garbage bigram entries.•••Bug: 6669677 Change-Id: Ie3f406776ab56bf589ac10e15e2534ff8cb1f275 Keisuke Kuroyanagi2013-09-2019-262/+382
* Step 1 to implement GC. Finding garbage PtNodes.•••Bug: 6669677 Change-Id: I3551fe2f16a09d2bf7761f4e1d73ebd4a03380e7 Keisuke Kuroyanagi2013-09-206-67/+346
* Groundwork for implementing GC.•••Bug: 6669677 Change-Id: Ia2b2f338795ab62cc9eef73731285b2a5a0ac5e4 Keisuke Kuroyanagi2013-09-196-75/+147
* Change name of header_reading_utlis.*•••Bug: 6669677 Change-Id: I91389050148237580ef640d3a58b935ea752954e Keisuke Kuroyanagi2013-09-183-6/+5