Keisuke Kuroyanagi
|
a83b013eec
|
Remove DicNodeUtils::appendTwoWords().
Change-Id: I7402793b3f71ef5d786abea2f97bd4b624e4405f
|
2014-03-27 17:54:14 +09:00 |
|
Keisuke Kuroyanagi
|
90f6411899
|
Remove DicNode.isFirstWord().
Change-Id: I825c0f7cf1fcf66c6309e0bab8e0fdd767170107
|
2014-03-25 18:07:14 +09:00 |
|
Keisuke Kuroyanagi
|
eddbb7ac88
|
Merge DicNodeStatePrevWord into DicNoteStateOutput.
Before:
(0) 2232.70 (0.86%)
(1) 255258.50 (98.89%)
(2) 585.73 (0.23%)
(66) 0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)
After:
(0) 2249.23 (0.93%)
(1) 239883.63 (98.83%)
(2) 554.82 (0.23%)
(66) 0.35 (0.00%)
Total 242734.38 (sum of others 242688.04)
Change-Id: I9760cae5b98b3d1f4804b6b60317887eaa3ff71c
|
2014-03-25 18:07:09 +09:00 |
|
Keisuke Kuroyanagi
|
cf88cf6593
|
Add a check for ForgettingCurveUtils::decodeProbability.
Bug: 13607383
Change-Id: I1a56c52173d0e458864e65fb1c1f4603c0c81c6f
|
2014-03-24 11:11:07 +00:00 |
|
Keisuke Kuroyanagi
|
ef665816d0
|
Add boundary check for SparseTable.
Bug: 13592288
Change-Id: I8bc4ff778c6073d22f86b6050a880b6fb69de31e
|
2014-03-24 09:17:53 +00:00 |
|
Keisuke Kuroyanagi
|
4c93770430
|
Fix: wrong size checking in SparseTable.
Bug: 13592288
Change-Id: I52f03081c5abf25e3c160e2b8fff5e98f8448499
|
2014-03-24 14:28:36 +09:00 |
|
Keisuke Kuroyanagi
|
7c20f140e0
|
Merge "Remove unused partial commit."
|
2014-03-20 09:54:15 +00:00 |
|
Keisuke Kuroyanagi
|
5a0381f7d0
|
Remove unused partial commit.
Change-Id: Ia9341a5cb24947d93056810890d94c1f66481d8c
|
2014-03-20 18:47:45 +09:00 |
|
Keisuke Kuroyanagi
|
18ba146b72
|
Stop apply Completion for DicNodes without any proximity chars.
Bug: 13538127
Change-Id: Ifffc0cde1ea8a0ceb13e4e4e57c151b3ea33a522
|
2014-03-20 18:06:06 +09:00 |
|
Ken Wakasa
|
622589ab43
|
Several cleanups
Remove obsolete comment and unused macros. Cosmetic fixes as well.
Change-Id: I9843331c8ce90d9b10b54f425ea1c7416b57c541
|
2014-03-17 16:33:37 +09:00 |
|
Keisuke Kuroyanagi
|
73a2426d45
|
Change default decaying parameters.
Bug: 13458617
Change-Id: I4942af4a48881fb6ca866c74140b262e6d323f4a
|
2014-03-14 12:23:24 +09:00 |
|
Keisuke Kuroyanagi
|
4bc35daaa2
|
Check "." and ".." to delete all files in a dir.
Bug: 13421999
Change-Id: I9d0f65cfc9a0f18c7affc152a5b54f9970048e9c
|
2014-03-12 15:31:49 +09:00 |
|
Keisuke Kuroyanagi
|
5dc17c22ca
|
Fix: wrong suggestion comparator.
Change-Id: I8829c7cb3060955e345fbdc003cf77f8469d37c0
|
2014-03-11 11:57:56 +00:00 |
|
Keisuke Kuroyanagi
|
34ab038414
|
Merge "Stop new BigramDictionary."
|
2014-03-11 09:38:14 +00:00 |
|
Keisuke Kuroyanagi
|
e7ddf49d50
|
Merge "Use emplace_back in getWordProperty()."
|
2014-03-11 09:38:00 +00:00 |
|
Keisuke Kuroyanagi
|
ed72a768d6
|
Merge "Make getWordProperty return reconstructed bigram probability."
|
2014-03-11 09:37:49 +00:00 |
|
Keisuke Kuroyanagi
|
ca42ec0f44
|
Use emplace_back in getWordProperty().
Change-Id: If164d2b897bd6ad9c89baf0e9a90356100c5087b
|
2014-03-11 15:21:55 +09:00 |
|
Keisuke Kuroyanagi
|
a34bdc395b
|
Make getWordProperty return reconstructed bigram probability.
Bug: 13403530
Change-Id: I7ed95a54344d8b77b88922093cf3ef0e530fcae6
|
2014-03-11 15:20:12 +09:00 |
|
Keisuke Kuroyanagi
|
b43ea5c335
|
Use isFirstCharUppercase instead of get first code point.
Change-Id: I0a28305397bfc1e7218e16df00839781a74f5599
|
2014-03-10 18:39:45 +09:00 |
|
Keisuke Kuroyanagi
|
0a5efa31de
|
Add getter methods for public member variables.
Change-Id: Ic6656bb3db6db992b37923db53816e0a73a7621f
|
2014-03-10 18:39:45 +09:00 |
|
Keisuke Kuroyanagi
|
6066069f35
|
Move initialization logic for from DicNode to DicNodeState.
Change-Id: Ic7075349e2e9c7f4ca707efa12ad1d24b49a2c87
|
2014-03-10 18:39:43 +09:00 |
|
Keisuke Kuroyanagi
|
258260bef2
|
Remove unused member of DicNodeStatePrevWord.
Change-Id: I265855da58e3a2e070e525e116ac0d18d1a10d18
|
2014-03-10 18:39:15 +09:00 |
|
Keisuke Kuroyanagi
|
632c9aca5b
|
Improve DicNode handling.
- Stop creating useless DicNode and DicNodeVector.
- Remove useless virtual.
- Implement copy constructor and assignment operator of DicNodeState.
- Remove useless memset.
Before:
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)
After:
(0) 2232.70 (0.86%)
(1) 255258.50 (98.89%)
(2) 585.73 (0.23%)
(66) 0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)
Change-Id: I0bb1e9de8b38a6743a11aaeb2b17bd0da5b7ad34
|
2014-03-10 17:57:53 +09:00 |
|
Keisuke Kuroyanagi
|
87db47d175
|
Use emplace_back to push DicNode to vector.
Before:
(0) 2234.43 (0.71%)
(1) 310083.71 (99.07%)
(2) 626.88 (0.20%)
(66) 0.26 (0.00%)
Total 312995.33 (sum of others 312945.28)
After
(0) 2266.21 (0.79%)
(1) 285422.05 (98.97%)
(2) 642.62 (0.22%)
(66) 0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)
Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
|
2014-03-10 15:41:33 +09:00 |
|
Keisuke Kuroyanagi
|
66cc9dec55
|
Stop new BigramDictionary.
BigramDictionary is allocated inside of Dictionary.
Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
|
2014-03-10 05:42:36 +00:00 |
|
Keisuke Kuroyanagi
|
e137ec0a91
|
Introduce SuggestionResults and use it for predictions.
Bug: 8187060
Bug: 13333066
Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
|
2014-03-07 19:36:19 +09:00 |
|
Keisuke Kuroyanagi
|
c36c97b4f7
|
Merge "Use unique_ptr."
|
2014-03-07 09:06:58 +00:00 |
|
Ken Wakasa
|
6767f88e3c
|
Address warnings pointed out by clang
Change-Id: I7943f6c7f9ba08f283a3116adc2af29495f04a21
|
2014-03-07 17:05:09 +09:00 |
|
Keisuke Kuroyanagi
|
4ce480d5ce
|
Use unique_ptr.
Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
|
2014-03-07 14:31:54 +09:00 |
|
Keisuke Kuroyanagi
|
865e6cf497
|
Revert "Revert "Use std::min() and std::max()""
This reverts commit f63000abea .
Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
|
2014-03-07 14:19:56 +09:00 |
|
Keisuke Kuroyanagi
|
a1e0ef4836
|
Fix: point to line segment distance can be NaN.
Change-Id: I7db6bfea925a0eda82bfb1f7b5e1110b193dabdb
|
2014-03-07 14:19:52 +09:00 |
|
Keisuke Kuroyanagi
|
6c7ebc4023
|
Use nullptr instead of 0 for pointers.
Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
|
2014-03-07 10:04:44 +09:00 |
|
Ken Wakasa
|
ca0a0da864
|
Switch to C++11
Change-Id: Ib2970327c36422d7b11103d52ba7e9e52db5554f
|
2014-03-06 20:32:20 +09:00 |
|
Keisuke Kuroyanagi
|
9fd50e34a8
|
Fix: Bug of I39e905b6ddfc8d3.
primaryKey have to be the first elemnet of the proximities.
Bug: 13315755
Change-Id: I6c94408a2ef2750fa85ff12b93bed8b8d874717e
|
2014-03-06 18:25:15 +09:00 |
|
Keisuke Kuroyanagi
|
2c7e97dcdd
|
Merge "Create suggest/core/result directory."
|
2014-03-06 07:32:19 +00:00 |
|
Keisuke Kuroyanagi
|
fb1588dd3c
|
Create suggest/core/result directory.
Bug: 8187060
Bug: 13333066
Change-Id: I185c93bd4542d997be101b61561a00d69111c00d
|
2014-03-06 14:35:47 +09:00 |
|
Keisuke Kuroyanagi
|
6501255111
|
Fix: The top left key is a proximity of nonexistent keys.
Bug: 13315755
Change-Id: I39e905b6ddfc8d3510c408a3bea853390a75d088
|
2014-03-05 19:06:18 +09:00 |
|
Keisuke Kuroyanagi
|
5128935ac4
|
Add header attributes for evaluation.
Bug: 13197276
Change-Id: Ib5247da691ff24a73e13485288237ccc51bb54f0
|
2014-02-28 21:06:03 +09:00 |
|
Keisuke Kuroyanagi
|
3d70932857
|
Use MAX_PROBABILITY for the limit of probabilities.
Bug: 13197276
Change-Id: Ic3f855e566603b395395dff1f860f3d76ecb019c
|
2014-02-26 20:48:53 +09:00 |
|
Keisuke Kuroyanagi
|
7919a594fc
|
Merge "Create more aggressive probability tables."
|
2014-02-26 11:18:44 +00:00 |
|
Keisuke Kuroyanagi
|
b368089dbf
|
Stop dividing unigram probability by 2 for backoff.
Bug: 13197276
Change-Id: I8eaa24b6f710383a8d257e3ec28c37a1a1da8e31
|
2014-02-26 19:40:18 +09:00 |
|
Keisuke Kuroyanagi
|
70566266be
|
Create more aggressive probability tables.
Bug: 13197276
Change-Id: I1451dcbe61088d7301bbef5ceedc72f5649e6764
|
2014-02-26 19:36:57 +09:00 |
|
Keisuke Kuroyanagi
|
2b27e06733
|
Merge "Read and write forgetting curve header attributes."
|
2014-02-26 09:06:56 +00:00 |
|
Keisuke Kuroyanagi
|
6112cc26a7
|
Read and write forgetting curve header attributes.
Bug: 13197276
Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
|
2014-02-26 18:04:12 +09:00 |
|
Keisuke Kuroyanagi
|
94080a37e8
|
Merge "Check header attributes for forgetting curve."
|
2014-02-26 08:58:48 +00:00 |
|
Keisuke Kuroyanagi
|
57816c7a8b
|
Check header attributes for forgetting curve.
Bug: 13197276
Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
|
2014-02-26 17:41:31 +09:00 |
|
Keisuke Kuroyanagi
|
7b496a5861
|
Add boundary check for ver4 bigram/shortcut reading.
Bug: 13185316
Change-Id: I5236222e2a5acda69821062a140c9e36a3024bd2
|
2014-02-26 14:03:24 +09:00 |
|
Keisuke Kuroyanagi
|
33e38096ad
|
Fix: -1 can be used as a code point of most probable string.
Bug: 11797518
Change-Id: Id2e8bce92d000f39d506af7cb844447696bcc019
|
2014-02-24 20:40:16 +09:00 |
|
Keisuke Kuroyanagi
|
be81b75dec
|
Add boundary check for ver2 dict reading.
Bug: 12916055
Change-Id: I78ad1f98a5401f920dcfc3379aa431eb2311ae02
|
2014-02-21 13:26:01 +09:00 |
|
Keisuke Kuroyanagi
|
b96012acef
|
Record reading error during traversing dictionaries.
Bug: 12916055
Change-Id: I439f21aa87cfa1f71e0354370a1514af03d68f6c
|
2014-02-20 19:12:32 +09:00 |
|