aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add a jni method to iterate words in a dictionary.Keisuke Kuroyanagi2014-02-036-0/+29
| | | | | | | | | | Bug: 12810574 Change-Id: I87b13559765f0262dfd06c2ba40d43af6437ea7f
* | Get bigram information via getWordProperty().Keisuke Kuroyanagi2014-02-032-1/+41
|/ | | | | Bug: 12810574 Change-Id: I2750a5659ccbc3e31307c28e35dd9a1dbdffbeee
* Extend jni interface to get bigrams in WordProperty.Keisuke Kuroyanagi2014-01-312-8/+11
| | | | | Bug: 12810574 Change-Id: Ia4b88d02ea8790a5c47d32376cc0b84c3e071ddd
* Fetch bigram information in getWordProperty().Keisuke Kuroyanagi2014-01-311-1/+35
| | | | | Bug: 12810574 Change-Id: Ic67e964b01c2753f2eec82b079dc0e5650f340bb
* Add BigramProperty and ShortcutProperty in WordProperty.Keisuke Kuroyanagi2014-01-313-19/+50
| | | | | Bug: 12810574 Change-Id: Ia9e497c49bb2cf10897bae3a79317113325db819
* Merge "[HD02] Make the date header attribute mandatory."Jean Chalard2014-01-314-36/+32
|\
| * [HD02] Make the date header attribute mandatory.Jean Chalard2014-01-304-36/+32
| | | | | | | | | | Bug: 11281748 Change-Id: I48a6f3d95ca89ced0c51335527201ecabfb7998e
* | Merge "Rename UnigramProperty to WordProperty."Keisuke Kuroyanagi2014-01-318-27/+28
|\ \
| * | Rename UnigramProperty to WordProperty.Keisuke Kuroyanagi2014-01-318-27/+28
| | | | | | | | | | | | | | | Bug: 12810574 Change-Id: If5ddd803948aaf6e491ddcbaa5436fb3af3f7257
* | | Merge "Simplify UnigramProperty."Keisuke Kuroyanagi2014-01-313-27/+12
|\| | | |/ |/|
| * Simplify UnigramProperty.Keisuke Kuroyanagi2014-01-303-27/+12
| | | | | | | | | | Bug: 12810574 Change-Id: I606f559b5dd340b7525280ecead2c2c7ec920a78
* | [HD01] Small initial refactoringJean Chalard2014-01-304-34/+46
|/ | | | | Bug: 11281748 Change-Id: I3c64c75ecd17729bdacf03048311d76ca9f37ae2
* Improve the double letter word promotion logic.Keisuke Kuroyanagi2014-01-283-22/+6
| | | | | | | | The old logic only checks the top 3 suggestions before the final adjustment. It leads to instability in scores. Bug: 10700674 Change-Id: I986aed2aefd66c1fba6196a8f100fcb5bc838a38
* Add length check for dict update operations.Keisuke Kuroyanagi2014-01-241-0/+19
| | | | | Bug: 12602903 Change-Id: I6835dee8bf8b356f0f1cf6c0531bee5b3415a13f
* Use memmove for all place src and dest can be same.Keisuke Kuroyanagi2014-01-204-9/+9
| | | | Change-Id: I03e5c8f95cb22c7096ff545f1181f914b80a6c58
* Add a dedicated method to control time in native code.Keisuke Kuroyanagi2014-01-152-15/+0
| | | | | Bug: 12443085 Change-Id: I41a5cf6c895cb59e54af98b40efded36afcd3247
* Fix native crash in BigramDictionary::addWordBigram()Keisuke Kuroyanagi2014-01-141-4/+10
| | | | | Bug: 12479653 Change-Id: I7d263f744f711202000524a47769dc2d3d0e0de6
* Boundary check for ProximityInfoState::getProximityTypeG().Keisuke Kuroyanagi2014-01-101-0/+8
| | | | | Bug: 12481052 Change-Id: Ic0b64d2fa17eb8f65f3ad1a7b468cdf6dddf7e70
* Check whether the word is OOV or not for amanatto update.Keisuke Kuroyanagi2014-01-083-1/+2
| | | | | Bug: 11736529 Change-Id: I27973212da7e922b2185dbb4febfb5bb4dfbdcbb
* Differentiate exact matches' minor errors.Keisuke Kuroyanagi2013-12-198-25/+55
| | | | | Bug: 8844931 Change-Id: I06754643188ccd28ba8c873878f7761787d91ff6
* Move methods for outputting from Suggest.Keisuke Kuroyanagi2013-12-185-282/+316
| | | | | Bug: 8844931 Change-Id: I83dde6c37b75ed1e1ae4e0972e169d30ada8faf5
* Move methods for scoring from Traversal to Scoring.Keisuke Kuroyanagi2013-12-185-15/+16
| | | | | | Bug: 8844931 Change-Id: I6137d06e597f4e7b81aaf29555199e18984f2c39
* Quit suggest words that do not include proximity chars.Keisuke Kuroyanagi2013-12-182-0/+10
| | | | | | Bug: 10416722 Change-Id: I74d27c6a22b4ca47d02eb238b2fbcc49f5dee99c
* Increment version number of ver4 format to 401.Keisuke Kuroyanagi2013-12-161-1/+1
| | | | | Bug: 11073222 Change-Id: I3878aef02040b1ef73165645fc70ede586289c51
* Fix: incompatibility of sparse table.Keisuke Kuroyanagi2013-12-162-4/+5
| | | | | Bug: 11073222 Change-Id: Id17178efd8f9f3828d821cc718d35606e8bd4b1a
* Align block sizes for ver4 format to java side.Keisuke Kuroyanagi2013-12-161-2/+2
| | | | | Bug: 11073222 Change-Id: I09646cbc81529576d5e34dcfa7bc29083a64076f
* Have dicttool use the native library to generate v4 dicts.Jean Chalard2013-12-134-5/+26
| | | | | | Yay ! Change-Id: Iea8ced9e81031b9ab7eff05ad9ef7215be248de9
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-13120-3383/+7013
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix: Suggested words from user history are invalid.Keisuke Kuroyanagi2013-10-221-2/+9
| | | | | | | | - Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
* Fix offdevice test build.Keisuke Kuroyanagi2013-10-081-2/+2
| | | | Change-Id: I42143bdc4f6f5aa4f55530de84819ab722a22f72
* 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.Keisuke Kuroyanagi2013-10-081-1/+2
| | | | | | | | Change-Id: I93d33ba9105eb85327108cca5706d8db3399de6a
* | Merge "Don't auto-correct to non-whitelist shortcuts"Jean Chalard2013-10-071-1/+1
|\ \ | |/ |/|
| * Don't auto-correct to non-whitelist shortcutsJean Chalard2013-10-071-1/+1
| | | | | | | | | | Bug: 11076722 Change-Id: I0de10ab24d33ec31f45664fe92d80d5a7bec9c20
* | Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-077-4/+24
| | | | | | | | | | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
* | Parameter optimization.Keisuke Kuroyanagi2013-10-071-3/+3
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [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
* Merge "Check the elapsed time for decaying."Keisuke Kuroyanagi2013-10-0411-57/+111
|\
| * Check the elapsed time for decaying.Keisuke Kuroyanagi2013-10-0411-57/+111
| | | | | | | | | | Bug: 6669677 Change-Id: I0401a4c0908c702ce65abfa5e017dd16cb1296f9
* | Merge "Optimize the parameters for the typing algorithm"Xiaojun Bi2013-10-041-24/+24
|\ \
| * | Optimize the parameters for the typing algorithmXiaojun Bi2013-10-031-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Fix: Native crash when an empty attribute is written.Keisuke Kuroyanagi2013-10-031-0/+3
| |/ |/| | | | | | | Bug: 10964805 Change-Id: Ia3cd891d20aee2226092f0f646d8f280901786fc
* | Fix build.Keisuke Kuroyanagi2013-10-021-1/+0
| | | | | | | | Change-Id: Ib33b27214e67378646e44f5b45bda298f960524f
* | Use probability table for decaying dictionaries.Keisuke Kuroyanagi2013-10-022-18/+42
| | | | | | | | | | Bug: 6669677 Change-Id: Ib5994a2e343dfcdaf23755e523f52846709b1c6c
* | Stochastic decay.Keisuke Kuroyanagi2013-10-025-91/+69
| | | | | | | | | | Bug: 6669677 Change-Id: Ib2d9228b951c77dab7a8675ce9db60677e87e771
* | Change name of DecayingUtils.Keisuke Kuroyanagi2013-10-026-45/+48
|/ | | | | Bug: 6669677 Change-Id: I97839b2184b95ae1659c55a9b31d22e2d601cba1
* Merge "Implement the heuristic for auto-commit."Jean Chalard2013-10-015-6/+86
|\
| * Implement the heuristic for auto-commit.Jean Chalard2013-10-015-6/+86
| | | | | | | | | | Bug: 9059617 Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
* | Merge "Fix typos"Jean Chalard2013-10-016-19/+19
|\ \
| * | Fix typosJean Chalard2013-10-016-19/+19
| |/ | | | | | | | | | | I think I may pass out from the sheer ugliness Change-Id: I1e709f03ef47ec713552d41fd9e37e01b810ae88
* / Separate "GC" and "GC with decay".Keisuke Kuroyanagi2013-10-0111-30/+69
|/ | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467