Keisuke Kuroyanagi
|
ef63947f7d
|
Add boundary checking for PtNode Array reading. DO NOT MERGE
cheery-pick of Iea5e19d98d2fc26f137046dd5f8e339239672351
Bug: 10957075
Change-Id: I3f1806c32fe480f2e7422d3a945932b9cc0cd98b
|
2013-09-29 11:39:09 +09:00 |
Keisuke Kuroyanagi
|
3d2802ef2e
|
Allow large memory space for GC.
Bug: 6669677
Change-Id: I021c92a1ca5cd28f745cbfe729c99e346c58074d
|
2013-09-24 19:21:17 +09:00 |
Keisuke Kuroyanagi
|
f3cd38f2c7
|
GC step 5. Add large tests and fix bugs.
Bug: 6669677
Change-Id: I41e44a64730f9c66645995095a7ecff51ffd5351
|
2013-09-24 16:32:25 +09:00 |
Keisuke Kuroyanagi
|
2cfe7f9e3b
|
GC step 4. Update all positions in new dict and add a test.
Bug: 6669677
Change-Id: I035d848a210653dcd3c1a1f21781968adced9225
|
2013-09-24 15:29:56 +09:00 |
Keisuke Kuroyanagi
|
0355bf2d4c
|
GC step 3. Place and write valid PtNodes.
Bug: 6669677
Change-Id: Id2b7359bafb34acf12dc3bf4c595a03073fda805
|
2013-09-20 21:11:49 +09:00 |
Keisuke Kuroyanagi
|
77ef75cbe6
|
GC step 2. Finding garbage bigram entries.
Bug: 6669677
Change-Id: Ie3f406776ab56bf589ac10e15e2534ff8cb1f275
|
2013-09-20 20:04:57 +09:00 |
Keisuke Kuroyanagi
|
2a64726a16
|
Step 1 to implement GC. Finding garbage PtNodes.
Bug: 6669677
Change-Id: I3551fe2f16a09d2bf7761f4e1d73ebd4a03380e7
|
2013-09-20 15:37:14 +09:00 |
Keisuke Kuroyanagi
|
b7e8a9abf5
|
Groundwork for implementing GC.
Bug: 6669677
Change-Id: Ia2b2f338795ab62cc9eef73731285b2a5a0ac5e4
|
2013-09-19 14:48:59 +09:00 |
Keisuke Kuroyanagi
|
e28927dfb6
|
Change name of header_reading_utlis.*
Bug: 6669677
Change-Id: I91389050148237580ef640d3a58b935ea752954e
|
2013-09-18 18:27:01 +09:00 |
Keisuke Kuroyanagi
|
484fa7b59c
|
Add dictionary header writing methods.
Bug: 6669677
Change-Id: I392ac4776b55779903cbaa17e683005d80017a41
|
2013-09-18 18:08:33 +09:00 |
Keisuke Kuroyanagi
|
72e53a1e38
|
Merge "Implement dictionary flush."
|
2013-09-18 05:20:05 +00:00 |
Keisuke Kuroyanagi
|
1560543754
|
Implement dictionary flush.
Bug: 6669677
Change-Id: I1d70ac6319fb6d8700074de382568c2108887960
|
2013-09-18 13:19:14 +09:00 |
Keisuke Kuroyanagi
|
9465819cf6
|
Merge "Add BinaryDictionary.getBigramProbabilityNative()."
|
2013-09-18 04:10:38 +00:00 |
Keisuke Kuroyanagi
|
4d02a2d44d
|
Add BinaryDictionary.getBigramProbabilityNative().
Bug: 10197478
Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
|
2013-09-18 11:18:28 +09:00 |
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
|
ac7e005ef0
|
Merge "Prepare dictionary saving in native code."
|
2013-09-17 09:18:32 +00: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
|
d9f450ef00
|
Implement removeBigramWords() for DynamicPatriciaTrie.
Bug: 6669677
Change-Id: I99cb517511b4c968b8bf937baab5d7f42b0f534e
|
2013-09-17 18:05:32 +09:00 |
Keisuke Kuroyanagi
|
78b55a31cb
|
Fix handling multi-bytes characters and add a test.
Bug: 6669677
Change-Id: Id2154db47adea2929559a4187a726f9dfa83363e
|
2013-09-17 15:11:24 +09:00 |
Keisuke Kuroyanagi
|
6d1a29eaab
|
Fix build.
Change-Id: I1c3c2996ca11bfe8864df774e9280893cf17c0d4
|
2013-09-17 13:03:12 +09:00 |
Keisuke Kuroyanagi
|
cd6a0430c7
|
Implement addBigramWords() for DynamicPatriciaTrie.
Bug: 6669677
Change-Id: Ia6aa76c212165690191c65fee9dacdc44be5acd5
|
2013-09-17 12:52:21 +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
|
9ea9c61c99
|
Move methods using ByteArrayUtils from .h to .cpp.
Bug: 10402083
Change-Id: Ic5f1aa11eb403f5bdc83de8e38a6457200519cae
|
2013-09-16 18:37:08 +09:00 |
Keisuke Kuroyanagi
|
f874728496
|
Add boundary check for PtNode reading position.
Bug: 10743878
Change-Id: I6727b12b0ef98bb9cfb3ca95aeab2c79749f47a2
|
2013-09-16 18:34:34 +09:00 |
Jean Chalard
|
41aaff6cdf
|
Merge "[AC4] Add native methods necessary for auto-commit"
|
2013-09-13 11:41:55 +00:00 |
Jean Chalard
|
24aad5a4d5
|
[AC4] Add native methods necessary for auto-commit
Bug: 9059617
Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
|
2013-09-13 20:15:15 +09:00 |
Keisuke Kuroyanagi
|
04bf3cd4e0
|
Merge "Employ "bigram link" for handling moved bigram target."
|
2013-09-13 09:46:27 +00:00 |
Keisuke Kuroyanagi
|
8c69ddb53e
|
Employ "bigram link" for handling moved bigram target.
Bug: 6669677
Change-Id: I9a6c0cdb28265e3215ced88f38344df12c25a76d
|
2013-09-13 18:36:29 +09:00 |
Keisuke Kuroyanagi
|
ebe3b3e8fd
|
Merge "Fix bug related to dynamic patricia trie bigram adding."
|
2013-09-13 05:49:26 +00:00 |
Keisuke Kuroyanagi
|
0243c9ae3d
|
Update children's parent position when the node get moved.
Bug: 6669677
Change-Id: Ifcaf784afd218c7afd70167045cd2aed8b7909c2
|
2013-09-13 14:26:00 +09:00 |
Keisuke Kuroyanagi
|
1c0fc852f6
|
Fix bug related to dynamic patricia trie bigram adding.
Bug: 6669677
Change-Id: Ia1216a1860a7c5c12a0d8a0816dda8d6a3bea123
|
2013-09-13 11:38:53 +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
|
f38969f3f8
|
Fix bug of dictionary dynamic updating methods.
Bug: 6669677
Change-Id: I5483adb03e1ac0c27bbfd99d5f4d7cc29809d70a
|
2013-09-10 22:32:30 +09:00 |
Keisuke Kuroyanagi
|
e531c2241e
|
Move a flag about switching dynamic update to java.
Bug: 6669677
Change-Id: I6aa99cae4a227f9202179c2873d13473a773e024
|
2013-09-10 18:45:53 +09:00 |
Keisuke Kuroyanagi
|
210669605a
|
Merge "Fix: ExtendableBuffer"
|
2013-09-10 06:45:41 +00:00 |
Keisuke Kuroyanagi
|
4e79fb24ab
|
Fix: ExtendableBuffer
Bug: 6669677
Change-Id: I73142fdabac1cbd4128b83c3b26b642b4b4f4da7
|
2013-09-10 15:40:11 +09:00 |
Keisuke Kuroyanagi
|
216617062a
|
Merge "Implement split and create node methods."
|
2013-09-10 06:38:05 +00:00 |
Keisuke Kuroyanagi
|
fdcd67ba15
|
Implement split and create node methods.
Bug: 6669677
Change-Id: Iac4afb637a8ba3d55f7a88f4a532831c1731f93e
|
2013-09-10 15:27:19 +09:00 |
Keisuke Kuroyanagi
|
c5f35a9c86
|
Merge "Calculate parent offset from the head of moved node."
|
2013-09-10 06:08:56 +00:00 |
Keisuke Kuroyanagi
|
9c820de7a1
|
Calculate parent offset from the head of moved node.
Bug: 6669677
Change-Id: I710453f1c37ec14e5b6830595c1afb2caff83cf2
|
2013-09-10 15:03:44 +09:00 |
Keisuke Kuroyanagi
|
1d4a07f6c7
|
Merge "Re-call getBuffer after writing in bigram/shortcut policy."
|
2013-09-10 03:27:30 +00:00 |
Keisuke Kuroyanagi
|
c987120cbc
|
Re-call getBuffer after writing in bigram/shortcut policy.
Bug: 6669677
Change-Id: I35dc290aa9582e019681b8aae49db3f8d37c90d4
|
2013-09-10 12:12:42 +09:00 |
Keisuke Kuroyanagi
|
a159ad473c
|
Implement create children array and add child method.
Bug: 6669677
Change-Id: Ic89c3dfe01937e771db8fc59d5259496a9464a47
|
2013-09-09 16:44:17 +09:00 |
Keisuke Kuroyanagi
|
7bd7dc5d0d
|
Implement update node probability method.
Bug: 6669677
Change-Id: I61ac0d05e362fc7d8a967ddd8286580998c70487
|
2013-09-09 15:29:11 +09:00 |
Keisuke Kuroyanagi
|
3fbc5ef196
|
Implement inserting new node into PtNode array.
Bug: 6669677
Change-Id: I0171476231181e41234dde76ac9061febb2e8c35
|
2013-09-06 20:40:08 +09:00 |
Keisuke Kuroyanagi
|
40182c737d
|
Merge "Compute probability using structure policy."
|
2013-09-06 08:10:07 +00:00 |
Keisuke Kuroyanagi
|
65d19946be
|
Compute probability using structure policy.
Bug: 6669677
Change-Id: Icd50fc30274cce65ebeb2e7cc8368b59e5cda05a
|
2013-09-06 16:50:09 +09:00 |