aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/suggest/policyimpl/dictionary/header/header_policy.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move dictionary code to top level dictionary dir.Keisuke Kuroyanagi2014-12-171-268/+0
| | | | | Bug: 18725954 Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
* Use enum to specify ngram type.Keisuke Kuroyanagi2014-11-251-63/+18
| | | | Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
* Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | Without personalization: Total words: 1134774, Success Num: 899230, Success Percentage: 79.243% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165% Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563% Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953% Before: Total words: 1134646, Success Num: 925194, Success Percentage: 81.540% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116% Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493% Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019% After Total words: 1134659, Success Num: 944746, Success Percentage: 83.263% 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): 28016, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222% Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
* Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-311-2/+4
| | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* Introduce EntryCounters to count entries in a dictionary.Keisuke Kuroyanagi2014-10-211-7/+27
| | | | | | Bug: 14425059 Change-Id: Ic13ba827d96fa4a147485ba92fdb37e23e04e8e8
* Change entry count limit.Keisuke Kuroyanagi2014-10-201-0/+2
| | | | | | Unigram 10K, Bigram 30K, Trigram 30K. Change-Id: Ibd19c6a2b618499df1c70000bad7b47498187f0a
* Improve bigram probability computation for decaying dicts.Keisuke Kuroyanagi2014-10-061-30/+1
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Native side reads character tableAkifumi Yoshimoto2014-09-191-4/+15
| | | | | Bug:17097992 Change-Id: Ibcfc67833a6754fe6a2d82a3e3023b33886b9ea2
* Purge dict reading code for 401 and create for 402.Keisuke Kuroyanagi2014-06-101-3/+1
| | | | Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-231-1/+3
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Add Beginning-of-Sentence info in UnigramProperty.Keisuke Kuroyanagi2014-05-231-0/+4
| | | | | | Bug: 14119293 Bug: 14425059 Change-Id: I8a894352568377d32468e5563f4e89af00d22944
* Add VERSION_4_DEV(402) in native code.Keisuke Kuroyanagi2014-05-141-0/+2
| | | | | Bug: 13406708 Change-Id: I96cfacf524d670a6a5637a96a63bcd47aaf09ca0
* Add VERSION4_TEST for testing.Keisuke Kuroyanagi2014-05-091-0/+2
| | | | | Bug: 13406708 Change-Id: I0b434717ea3edbb131650af634c53cfbfe113c3e
* Implement migrateNative().Keisuke Kuroyanagi2014-05-081-0/+4
| | | | | Bug: 13406708 Change-Id: Ie786a68e780baa298fedf82d21390ba45d871a52
* Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi2014-04-221-0/+21
| | | | | Bug: 14166482 Change-Id: Ic8c78ec2c8f39358a1f085a041b608972a380eef
* Revert "Support creating BinaryDictionary without creating dict file."Keisuke Kuroyanagi2014-04-221-21/+0
| | | | | | This reverts commit 89939b870876b36791a47470ce852e4fcdfe86f2. Change-Id: I8ca1b55609ad305a93178063bd88bd1cede872af
* Support creating BinaryDictionary without creating dict file.Keisuke Kuroyanagi2014-04-221-0/+21
| | | | | Bug: 14166482 Change-Id: Ib065279f96e227ab0fee7c8141560c4ada744d3b
* Implement latinime_BinaryDictionary_createOnMemory().Keisuke Kuroyanagi2014-04-221-1/+1
| | | | | Bug: 14166482 Change-Id: If7ec3345ab34edcd6bc5cef9e72580ced894a0e3
* s/stdint.h/cstdint/Ken Wakasa2014-04-071-1/+1
| | | | | | | | | Somehow, we were not able to use cstdint gcc target build. That's no longer the case with Clang. Removed unnecessary header inclusions too. Change-Id: Ic83a4adf696f1d5ec7a9809253f3c95804e622e1
* Add header attributes for evaluation.Keisuke Kuroyanagi2014-02-281-3/+39
| | | | | Bug: 13197276 Change-Id: Ib5247da691ff24a73e13485288237ccc51bb54f0
* Read and write forgetting curve header attributes.Keisuke Kuroyanagi2014-02-261-6/+22
| | | | | Bug: 13197276 Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
* Check header attributes for forgetting curve.Keisuke Kuroyanagi2014-02-261-0/+10
| | | | | Bug: 13197276 Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
* Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-061-4/+8
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* [HD04] Make the locale mandatory.Jean Chalard2014-02-051-3/+10
| | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* Don't boost exact matches for personalized dicts.Keisuke Kuroyanagi2014-02-041-0/+5
| | | | | Bug: 12800726 Change-Id: Ia3a2f82db6cdc9645cad0e329c0b79328d7452cc
* [HD02] Make the date header attribute mandatory.Jean Chalard2014-01-301-13/+13
| | | | | Bug: 11281748 Change-Id: I48a6f3d95ca89ced0c51335527201ecabfb7998e
* [HD01] Small initial refactoringJean Chalard2014-01-301-3/+7
| | | | | Bug: 11281748 Change-Id: I3c64c75ecd17729bdacf03048311d76ca9f37ae2
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-131-20/+61
| | | | | | 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/+12
| | | | | Bug: 6669677 Change-Id: I9d6aba76cef2616f0549e612db9701e1d6a19467
* Prepare dictionary decay.Keisuke Kuroyanagi2013-09-301-8/+8
| | | | | Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
* Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-10/+37
| | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* Refactoring header attribute reading.Keisuke Kuroyanagi2013-09-261-14/+15
| | | | | Bug: 6669677 Change-Id: Ifc11da614d5c331ac61019a324e3a0ff187329cd
* Change name of header_reading_utlis.*Keisuke Kuroyanagi2013-09-181-1/+1
| | | | | Bug: 6669677 Change-Id: I91389050148237580ef640d3a58b935ea752954e
* Add dictionary header writing methods.Keisuke Kuroyanagi2013-09-181-10/+16
| | | | | Bug: 6669677 Change-Id: I392ac4776b55779903cbaa17e683005d80017a41
* Check usesForgettingCurve in HeaderPolicy.Keisuke Kuroyanagi2013-09-051-1/+21
| | | | | Bug: 6669677 Change-Id: I47ebfc50f477b2a6514fba6fad421dd90f29ecb1
* Employ a header attribute map in headerPolicy.Keisuke Kuroyanagi2013-09-041-18/+17
| | | | | Bug: 6669677 Change-Id: I4a084cdd7fcd7a8ed3a70fb7e365031eedd981e5
* Move files for headerPolicy to policyimpl.Keisuke Kuroyanagi2013-08-131-0/+88
Bug: 6669677 Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8