Keisuke Kuroyanagi
|
4e17b42d0f
|
Output input index of second word's first char.
This is for partial commit.
Bug: 9059617
Change-Id: I77a0245b63c29b7234fd9b06d362e05aebf30051
|
2013-09-17 20:31:34 +09:00 |
|
Keisuke Kuroyanagi
|
d0246277fd
|
Prepare dictionary saving in native code.
Bug: 6669677
Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
|
2013-09-17 18:07:16 +09:00 |
|
Keisuke Kuroyanagi
|
cb816e5e16
|
Merge NOT_A_VALID_WORD_POS into NOT_A_DICT_POS.
Change-Id: I2ac3aa2a19d14e8c4159a59334e7816bd1409688
|
2013-09-16 18:37:23 +09:00 |
|
Keisuke Kuroyanagi
|
4c2767857a
|
Change cache capacity depending on the dictionary size.
Bug: 10699291
Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
|
2013-09-12 18:47:56 +09:00 |
|
Keisuke Kuroyanagi
|
1b80a45e79
|
Merge "Make terminal cache small."
|
2013-09-12 05:21:49 +00:00 |
|
Keisuke Kuroyanagi
|
80ca7abea3
|
Make terminal cache small.
Bug: 10699291
Before:
(0) 2997.63 (0.98%)
(1) 303760.77 (98.92%)
(2) 274.94 (0.09%)
(66) 0.38 (0.00%)
Total 307062.27 (sum of others 307033.73)
After:
(0) 2953.22 (0.96%)
(1) 304633.86 (98.93%)
(2) 293.76 (0.10%)
(66) 0.38 (0.00%)
Total 307915.65 (sum of others 307881.22)
Change-Id: I6905abeb590ef50d48ddfcd8ef8b5351af399150
|
2013-09-12 14:18:48 +09:00 |
|
Keisuke Kuroyanagi
|
f1233b58c2
|
Use same session id for typing and gesture.
Bug: 10699291
Change-Id: I7c8a3a57e8d189b72a17e4b9c6831becee6ec146
|
2013-09-12 12:08:22 +09:00 |
|
Keisuke Kuroyanagi
|
65d19946be
|
Compute probability using structure policy.
Bug: 6669677
Change-Id: Icd50fc30274cce65ebeb2e7cc8368b59e5cda05a
|
2013-09-06 16:50:09 +09:00 |
|
Keisuke Kuroyanagi
|
202e416b51
|
Add bigram writing methods.
Bug: 6669677
Change-Id: Ib62f6c31c4bcbb41ac200dccccb13e366b3c2173
|
2013-09-03 20:44:51 +09:00 |
|
Yuichiro Hanada
|
112257e40f
|
Rename BinaryDictDecoder to Ver3DictDecoder.
Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
|
2013-08-20 17:11:51 +09:00 |
|
Keisuke Kuroyanagi
|
4a65258bc7
|
Fix possible SIGSEGV.
Change-Id: I6008c0457a8da9b90434a3b96a51da1487948f1b
|
2013-08-19 18:58:10 +09:00 |
|
Keisuke Kuroyanagi
|
0624cc6cf3
|
Remove BinaryDictionaryInfo and introduce MmapedBuffer.
Bug: 6669677
Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
|
2013-08-16 12:52:04 +09:00 |
|
Ken Wakasa
|
0238e1eb01
|
Merge "Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer.""
|
2013-08-15 11:39:08 +00:00 |
|
Ken Wakasa
|
d4fcf1dbc5
|
Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."
This reverts commit d14ffcfcbc .
This broke a bunch of unit tests -- https://sponge.corp.google.com/target?id=a8a62bd0-3aab-4520-ae64-53f9652ef64b&target=com.google.android.inputmethod.latin.tests&searchFor=&show=FAILED&sortBy=STATUS
Change-Id: I1eae460e09808513eacefd523609330819d73d16
|
2013-08-15 11:37:48 +00:00 |
|
Yuichiro Hanada
|
94460eba11
|
[Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and BinaryDictDecoder.
Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
|
2013-08-15 20:23:07 +09:00 |
|
Keisuke Kuroyanagi
|
d14ffcfcbc
|
Remove BinaryDictionaryInfo and introduce MmapedBuffer.
Bug: 6669677
Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
|
2013-08-15 18:17:44 +09:00 |
|
Keisuke Kuroyanagi
|
08ce337d3f
|
Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().
Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
|
2013-08-15 13:39:32 +09:00 |
|
Keisuke Kuroyanagi
|
6ec3f63d59
|
Merge "Make dictionary structure policy have updating methods."
|
2013-08-15 03:15:43 +00:00 |
|
Keisuke Kuroyanagi
|
7fd9667d76
|
Remove NodeFilter.
Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
|
2013-08-14 18:20:15 +09:00 |
|
Keisuke Kuroyanagi
|
90619ae02b
|
Move utils for reading dict to policyimpl.
Bug: 6669677
Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
|
2013-08-14 15:50:42 +09:00 |
|
Keisuke Kuroyanagi
|
66facd37dd
|
Make dictionary structure policy have updating methods.
Bug: 6669677
Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
|
2013-08-14 11:34:42 +09:00 |
|
Keisuke Kuroyanagi
|
23d3ed962f
|
Move files for headerPolicy to policyimpl.
Bug: 6669677
Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8
|
2013-08-13 20:35:16 +09:00 |
|
Keisuke Kuroyanagi
|
76e579c7ca
|
Move header reading methods to policyimpl.
Bug: 6669677
Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
|
2013-08-13 20:22:40 +09:00 |
|
Keisuke Kuroyanagi
|
d81654cd61
|
Use DictionaryStructureWithBufferPolicy for traversing.
Bug: 6669677
Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
|
2013-08-13 19:38:20 +09:00 |
|
Keisuke Kuroyanagi
|
e607e0722a
|
Merge "Remove TerminalAttributes."
|
2013-08-13 05:58:35 +00:00 |
|
Keisuke Kuroyanagi
|
99007de979
|
Quit using BinaryDictionaryInfo in header reading methods.
Bug: 6669677
Change-Id: I5198ae28fcc271dd6ab3c33df940a2d15513a8c8
|
2013-08-13 12:26:01 +09:00 |
|
Keisuke Kuroyanagi
|
6abdafc671
|
Remove TerminalAttributes.
Use BinaryDictionaryShortcutIterator instead of
TerminalAttributes.
Bug: 6669677
Change-Id: Ib7176e3b302ba383344cc6fcc037e23568c702a8
|
2013-08-12 17:46:13 +09:00 |
|
Keisuke Kuroyanagi
|
7c48352af8
|
Move methods for Shortcut reading to policyimpl.
Bug: 6669677
Change-Id: If0a565de015564f803429f4fbf21b05687f80553
|
2013-08-12 17:18:28 +09:00 |
|
Keisuke Kuroyanagi
|
fd10db04e0
|
Move shortcut iteration methods to poilcy.
Bug: 6669677
Change-Id: I6e535ce7962de8e153a52fd1085fe961649ffe16
|
2013-08-12 15:53:09 +09:00 |
|
Keisuke Kuroyanagi
|
277053af7c
|
Move bigram reading methods to BigramListReadingUtils.
Bug: 6669677
Change-Id: Icb024a8af577323b4dcf74f4c4054cfb8b57a943
|
2013-08-12 11:54:31 +09:00 |
|
Keisuke Kuroyanagi
|
668870be43
|
Move bigrams iteration methods to policy.
To support various bigram format.
Bug: 6669677
Change-Id: Ifc8c1a855b03cd5a39d97a6e10872ef8ef76475b
|
2013-08-09 20:20:34 +09:00 |
|
Keisuke Kuroyanagi
|
e1ebef6124
|
Make DictionaryStructurePolicy have buffer info.
To support various format dictionary, extendable
buffers or multiple files.
Bug: 6669677
Change-Id: I203a5a4adc049a6322cfba4eacb4cb6715f8dfc2
|
2013-08-09 05:27:22 +00:00 |
|
Keisuke Kuroyanagi
|
60eb250194
|
Support ver3 dict in native code.
Bug: 6669677
Change-Id: Iafc3287f1f87588a6296593d6b43ea4464c8f553
|
2013-08-08 14:53:05 +09:00 |
|
Keisuke Kuroynagi
|
22f951c881
|
Merge "Remove checkFirstCharacter from BigramDictionary."
|
2013-08-05 04:56:23 +00:00 |
|
Keisuke Kuroynagi
|
647c000707
|
Give PatriciaTrieReadingUtils methods for reading nodes.
The remaining methods in BinaryFormat will be removed.
Bug: 6669677
Change-Id: I866f828d69a600c0ac03b68d71b1f6ee2ce4dd36
|
2013-08-01 16:15:35 +09:00 |
|
Keisuke Kuroynagi
|
2401f7c62d
|
Move binary_format.h to policyimpl.
Bug: 6669677
Change-Id: I3712f60528c7fcf364746f792cec6e180ab2dbef
|
2013-07-31 21:07:32 +09:00 |
|
Keisuke Kuroynagi
|
11a431fca6
|
Fix: appendTwoWords cannot handle MAX_WORD_LENGTH-chars word.
Bug: 9892258
Change-Id: Ib4ef7850c8fc8b1d99d594bb7ef68ce645f0f1f3
|
2013-07-31 16:58:09 +09:00 |
|
Keisuke Kuroynagi
|
2a2aac2568
|
Remove checkFirstCharacter from BigramDictionary.
Bug: 10028452
Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e
|
2013-07-31 13:47:23 +09:00 |
|
Keisuke Kuroynagi
|
1fb11da36a
|
Move creating children methods to structurePolicy.
Bug: 6669677
Change-Id: I20760f8ab95b18d21383960f6466db0d79429200
|
2013-07-29 19:31:27 +09:00 |
|
Keisuke Kuroynagi
|
9d618d1431
|
Move files only used in dicNode to "internal".
Change-Id: Ib31ddeff99b480d9b1f33a5b5b207a8acce22858
|
2013-07-29 17:03:21 +09:00 |
|
Keisuke Kuroynagi
|
4447b14b78
|
"much" in suggestions of "m" after "very"
Make cache size larger for single point input.
Bug: 9823678
Change-Id: Ic6bbcebd18eccaf9f9ac07d9c0d456a62f6c5287
|
2013-07-26 18:35:42 +09:00 |
|
Satoshi Kataoka
|
75322cecb9
|
Support terminal insertion error correction
Bug: 9421356
Change-Id: I19685763ca487b5636019d62e150708c63ce6fc2
|
2013-07-25 22:07:38 +09:00 |
|
Keisuke Kuroynagi
|
cb4a7c1d87
|
Fix: "saomething" -> "something".
Fixed by making MAX_CACHE_DIC_NODE_SIZE larger.
Bug: 9682742
Change-Id: I0312952c90b0820bed37df99c223921c68450570
|
2013-07-24 17:55:25 +09:00 |
|
Keisuke Kuroynagi
|
62f3b4e9c9
|
Merge "Fix: huge bigram costs for blacklisted words."
|
2013-07-23 05:32:09 +00:00 |
|
Keisuke Kuroynagi
|
5b7688bbb5
|
Fix: native crash while iterating bigramslist.
Bug: 9964153
Change-Id: Ia2eb922b61300a7c0e34122cd6c18358f1ee7ba9
|
2013-07-23 13:13:12 +09:00 |
|
Keisuke Kuroynagi
|
b179199830
|
Fix: huge bigram costs for blacklisted words.
Bug: 8844931
Change-Id: I523005c5ed9a3d401a67b0e4e1c3ff2e4574e6df
|
2013-07-22 22:05:16 +09:00 |
|
Keisuke Kuroynagi
|
c38ec47596
|
Get BigramsPos and ShortcutPos via structure policy.
Bug: 6669677
Change-Id: I924d5512377cfcfe72d3470006b81a36db3865b6
|
2013-07-17 20:13:04 +09:00 |
|
Keisuke Kuroynagi
|
8a7129530b
|
Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POS
Bug: 6669677
Change-Id: If5fb58e8a98b04b767eaaf624cb6a40841b64f54
|
2013-07-16 15:53:03 +09:00 |
|
Keisuke Kuroynagi
|
b6f286bfa5
|
Merge "Make bigram dictionary and traverse session use structure policy."
|
2013-07-16 02:45:36 +00:00 |
|
Keisuke Kuroynagi
|
34047d8905
|
Quit ignoring language cost of exact matches.
Handle exact matches in DicNode::compare() and calculateFinalScore().
Bug: 8844931
Change-Id: I17c78d4e352b0a4308727229b02a8004b38468bf
|
2013-07-11 08:25:17 +00:00 |
|