aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move dictionary code to top level dictionary dir.Keisuke Kuroyanagi2014-12-171-183/+0
| | | | | Bug: 18725954 Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
* Enable Quadgram for personalized dicts.Keisuke Kuroyanagi2014-11-251-3/+4
| | | | | | | | | | | | | | | | Before: Total words: 1134659, Success Num: 944709, Success Percentage: 83.259% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880% After: Total words: 1134665, Success Num: 945026, Success Percentage: 83.287% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112% Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446% Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808% Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
* Use enum to specify ngram type.Keisuke Kuroyanagi2014-11-251-17/+41
| | | | Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
* Introduce EntryCounters to count entries in a dictionary.Keisuke Kuroyanagi2014-10-211-8/+12
| | | | | | Bug: 14425059 Change-Id: Ic13ba827d96fa4a147485ba92fdb37e23e04e8e8
* Change entry count limit.Keisuke Kuroyanagi2014-10-201-3/+5
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* Improve bigram probability computation for decaying dicts.Keisuke Kuroyanagi2014-10-061-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Without personalization: Total words: 1079345, Success Num: 819749, Success Percentage: 75.949% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1754, Bad Failure Percentage: 0.163% Failures, with auto-correction (F-C): 28463, F-C Percentage: 2.637% Max Keystrokes: 6074285, Min Keystrokes: 4649326, Keystroke Saving Percentage:23.459% With current probability computing logic: Total words: 1079382, Success Num: 838329, Success Percentage: 77.667% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1332, Bad Failure Percentage: 0.123% Failures, with auto-correction (F-C): 28558, F-C Percentage: 2.646% Max Keystrokes: 6074503, Min Keystrokes: 4474102, Keystroke Saving Percentage:26.346% Remove isof files. With new probability computing logic: Total words: 1079356, Success Num: 844954, Success Percentage: 78.283% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1306, Bad Failure Percentage: 0.121% Failures, with auto-correction (F-C): 27214, F-C Percentage: 2.521% Max Keystrokes: 6074477, Min Keystrokes: 4243021, Keystroke Saving Percentage:30.150% Remove isof files. Bug: 16547409 Change-Id: I3d2a49c7aaa2c0f6835c52ef72d22466ee225789
* Change default decaying parameters.Keisuke Kuroyanagi2014-03-141-4/+4
| | | | | Bug: 13458617 Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
* Revert "Revert "Use std::min() and std::max()""Keisuke Kuroyanagi2014-03-071-1/+3
| | | | | | This reverts commit f63000abeabfaabde5c1ea2201d63d0c4850f1e2. Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
* Revert "Use std::min() and std::max()"Ken Wakasa2014-03-071-3/+1
| | | | | | | | | | This somehow breaks TRT. bug: 13350753 This reverts commit cf612a3abfd0cc244f8449db2cf11a0a7c680a2f. Change-Id: I812f067e7cc8106b054527732dc6fe4efd7cc0fe
* Use std::min() and std::max()Ken Wakasa2014-03-061-1/+3
| | | | Change-Id: I2992fa16692ace2a6febedc4393812faf763638f
* Add header attributes for evaluation.Keisuke Kuroyanagi2014-02-281-0/+11
| | | | | Bug: 13197276 Change-Id: Ib5247da691ff24a73e13485288237ccc51bb54f0
* Read and write forgetting curve header attributes.Keisuke Kuroyanagi2014-02-261-1/+6
| | | | | Bug: 13197276 Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
* Check header attributes for forgetting curve.Keisuke Kuroyanagi2014-02-261-0/+2
| | | | | Bug: 13197276 Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
* Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-061-5/+6
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* [HD04] Make the locale mandatory.Jean Chalard2014-02-051-0/+6
| | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* [HD02] Make the date header attribute mandatory.Jean Chalard2014-01-301-13/+11
| | | | | Bug: 11281748 Change-Id: I48a6f3d95ca89ced0c51335527201ecabfb7998e
* [HD01] Small initial refactoringJean Chalard2014-01-301-24/+31
| | | | | Bug: 11281748 Change-Id: I3c64c75ecd17729bdacf03048311d76ca9f37ae2
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-2/+12
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Separate "GC" and "GC with decay".Keisuke Kuroyanagi2013-10-011-2/+8
| | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
* Prepare dictionary decay.Keisuke Kuroyanagi2013-09-301-1/+2
| | | | | Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
* Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-37/+17
| | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-0/+2
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Refactoring header attribute reading.Keisuke Kuroyanagi2013-09-261-68/+19
| | | | | Bug: 6669677 Change-Id: Ifc11da614d5c331ac61019a324e3a0ff187329cd
* Add dictionary header writing methods.Keisuke Kuroyanagi2013-09-181-6/+54
| | | | | Bug: 6669677 Change-Id: I392ac4776b55779903cbaa17e683005d80017a41
* Check usesForgettingCurve in HeaderPolicy.Keisuke Kuroyanagi2013-09-051-14/+39
| | | | | Bug: 6669677 Change-Id: I47ebfc50f477b2a6514fba6fad421dd90f29ecb1
* Employ a header attribute map in headerPolicy.Keisuke Kuroyanagi2013-09-041-10/+76
| | | | | Bug: 6669677 Change-Id: I4a084cdd7fcd7a8ed3a70fb7e365031eedd981e5
* Move files for headerPolicy to policyimpl.Keisuke Kuroyanagi2013-08-131-0/+39
Bug: 6669677 Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8