Keisuke Kuroyanagi
df11f9b8e6
Merge "Add LanguageModelDictContent." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
dc3856d758
Add LanguageModelDictContent.
...
This class will replace BigramDictContent and
ProbabilityDictContent.
Bug: 14425059
Change-Id: I3d15c833957e27b2f5999386db042188272bbb4b
2014-08-01 12:45:00 +09:00
Keisuke Kuroyanagi
90b7c1729f
Remove DictContent.
...
Bug: 14425059
Change-Id: I74fa4b6ba4605447c1c87427371e4be5eb8e7ae6
2014-08-01 12:06:21 +09:00
Keisuke Kuroyanagi
0e6a1d1020
Remove getBigramsIteratorOfPtNode from structure policy.
...
Bug: 14425059
Change-Id: I427fbfd026c1e33b5e9cf78949fe862d8748b7ec
2014-08-01 12:06:21 +09:00
Keisuke Kuroyanagi
35c62b2cc9
Use NgramListener in MultiBigramMap.
...
Bug: 14425059
Change-Id: I425536290111f2a8172f31370706f858a1e07f6e
2014-08-01 02:51:07 +00:00
Keisuke Kuroyanagi
de5c3a2562
Construct TrieMap from existing buffer.
...
Bug: 14425059
Change-Id: Ia1c58d88540f55fb38fe0bdfcd7c0a34ebc7415e
2014-07-31 09:06:22 +00:00
Keisuke Kuroyanagi
e7c9415688
Merge "Remove DictContent." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
4a1ed92ea8
Merge "Remove getBigramsIteratorOfPtNode from structure policy." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
3437032a91
Merge "Add TrieMap.save()." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
60ae3e0be5
Add TrieMap.save().
...
Bug: 14425059
Change-Id: Ie0b4fe8b9a157da0401bb277c703ab084d5bf9cc
2014-07-31 06:01:52 +00:00
Keisuke Kuroyanagi
5c1decfbb9
Add entry iteration method to TrieMap.
...
Bug: 14425059
Change-Id: I79420b755f29f651d8eed61e7e48b6eb001d8dd2
2014-07-30 19:04:07 +09:00
Keisuke Kuroyanagi
57574b98c2
Merge "Remove doesAutoCorrectValidWord()." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
5b69472d56
Remove doesAutoCorrectValidWord().
...
Possibly offensive words are wrongly demoted when input by
gesture.
Change-Id: Ibb2eb73d4191dea6cb767643341fe96465c1f70c
2014-07-31 14:48:16 +09:00
Keisuke Kuroyanagi
d3d7c31ca9
Fix native debug build.
...
Change-Id: I95ff6b14d7f444911ec76698381b8d2d8da94776
2014-07-31 14:36:12 +09:00
Keisuke Kuroyanagi
d624091afb
Merge "Fix native debug build." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
211370a3da
Merge "Add memory view class for int and uint8_t." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
75d8c20d03
Add memory view class for int and uint8_t.
...
Bug: 16691311
Change-Id: I32eb692cdb758861e24b772fdcda57642b95ae1b
2014-08-01 12:39:31 +09:00
Keisuke Kuroyanagi
f40adc97cb
Merge "Add a method to iterate ngram entries." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
2d57b3339a
Add a method to iterate ngram entries.
...
Bug: 14425059
Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
2014-07-30 10:52:56 +09:00
Keisuke Kuroyanagi
5a7b634aaf
Merge "Add entry iteration method to TrieMap." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
a704ad254e
Merge "Remove PrevWordsInfo.getBigramsIteratorForPrediction()." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
bd1f59bda5
Remove PrevWordsInfo.getBigramsIteratorForPrediction().
...
This changes the behavior of predictions for some rare cases.
For example, let's consider the case of the prev word is
"ABC", "ABC" and "abc" is in the dict, "ABC" doesn't have
any bigrams, and "abc" has bigrams.
Without this change, "abc"'s bigrams are used for
prediction. But, with this change, "abc"'s bigrams are not
used for prediction. This strategy is the same as the the
current way of bigram probability computation during
traversal (for suggestion).
Bug: 14425059
Change-Id: I857ff39aa70aea265efa651451a63b759bb47d48
2014-07-30 17:26:26 +09:00
Ken Wakasa
0b1fa0c1c7
Cleanup: C++11 doesn't require a space between angle brackets
...
Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a
2014-07-30 11:32:05 +09:00
Keisuke Kuroyanagi
6c3b0d3caa
Merge "Add TrieMap." into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
de3121dead
Add TrieMap.
...
Bug: 14425059
Change-Id: Ief36f808ed4f3e35bfab07837ea314d2564973ab
2014-07-29 17:00:29 +09:00
Keisuke Kuroyanagi
2e32e83b6e
Merge "Get n-gram probability in structure policy." into lmp-dev
2014-07-24 16:04:26 +00:00
Keisuke Kuroyanagi
1229879e7c
Get n-gram probability in structure policy.
...
Bug: 14425059
Change-Id: Id955a2e07dbdfb90ae55720f0c92597e0594c0d9
2014-07-29 12:01:18 +09:00
Keisuke Kuroyanagi
96d47fe745
Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()
...
Bug: 14425059
Change-Id: I92403d750d2979408b41554dcd79b0ed31b41161
2014-07-29 11:35:57 +09:00
Keisuke Kuroyanagi
179f38cc8c
Merge "Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()" into lmp-dev
2014-07-25 11:19:20 +00:00
Keisuke Kuroyanagi
3225b6fe66
Add boundary check for ver2 bigram reading.
...
Bug: 16330528
Change-Id: I6aca6c7a735e2a652eb325572d44dff660789cff
2014-07-28 21:48:00 +09:00
Keisuke Kuroyanagi
825243bfdd
Merge "Add BufferWithExtendablebufferTest" into lmp-dev
2014-07-24 15:37:54 +00:00
Keisuke Kuroyanagi
d4c9d50ef0
Add BufferWithExtendablebufferTest
...
Bug: 13754552
Change-Id: Ib9c330dc85bdb5d4d3d5bc15cc3ce5f28faa0b12
2014-07-25 07:02:10 +09:00
Keisuke Kuroyanagi
ff6ca09905
Add BufferWithExtendableBuffer::extend()
...
Bug: 14425059
Change-Id: I13dd8412ba4d16a1325ac2210b3852d580e71ad3
2014-07-25 07:02:05 +09:00
Keisuke Kuroyanagi
dfbe2a8ca8
Merge "Add BufferWithExtendableBuffer::extend()" into lmp-dev
2014-07-24 15:35:58 +00:00
Keisuke Kuroyanagi
f78eb27c7e
Merge "Refactoring checkAndPrepareWriting." into lmp-dev
2014-07-24 15:35:58 +00:00
Stephen Hines
5a289ed293
Revert "Revert "Revert "Use mclinker"""
...
This reverts commit b48c93b3fc
.
MCLinker is not a valid option for clang 3.5.
2014-07-23 19:58:17 -07:00
Keisuke Kuroyanagi
6810e8df1e
Refactoring checkAndPrepareWriting.
...
Bug: 14425059
Change-Id: I98940f3841a6c61b0482440b4da21f415dc843f6
2014-07-24 10:24:42 +09:00
Ken Wakasa
81a48d47d1
Add -mstackrealign to avoid crashes with SSE instructions on pre-K x86 devices.
...
bug: 16213554
Change-Id: Icd67ed4fd57fcc5f5bf8039b7892d0d446210247
2014-07-15 20:26:55 +09:00
Keisuke Kuroyanagi
b22f95ec8a
Remove isUpdatable from constructors of dict contents.
...
Change-Id: I2d54f477d9b341e944e265786a734f23d152bb81
2014-07-11 15:23:55 +09:00
Keisuke Kuroyanagi
2ac934296c
Concatenate dict buffers other than header to a single file.
...
Bug: 13664080
Change-Id: I34c9d8046b339c9b855be378a5fad907382d1359
2014-07-11 15:15:47 +09:00
Keisuke Kuroyanagi
198be3a6c5
Fix: wrong bigram entry pos can be used during GC.
...
Bug: 14425059
Change-Id: I4e7c977c5ef184953682175b118de5473cdb64a6
2014-07-09 11:18:35 +09:00
Keisuke Kuroyanagi
3b8f2ece40
Merge "Move phrase gesture from additional features to public."
2014-07-02 20:35:42 +00:00
Keisuke Kuroyanagi
b8a9479b57
Move phrase gesture from additional features to public.
...
Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
2014-07-08 16:36:06 +09:00
Keisuke Kuroyanagi
b00973952f
Get bigrams iterator via dict structure policy.
...
Bug: 14425059
Change-Id: Ie4c6afbb6a3b707b5aa8e9e4f941c9da6e6bcdbf
2014-07-08 16:23:31 +09:00
Keisuke Kuroyanagi
804f7450fc
Use linked list for bigram list.
...
BinaryDictionaryTests for VERSION4_DEV:
Before
Time: 36.461
After
Time: 33.031
Bug: 14425059
Change-Id: I9ca2714f450f61f713df6ebd34c953dece991cdb
2014-07-07 21:09:25 +09:00
Keisuke Kuroyanagi
6afd14dc94
Remove unused method.
...
Bug: 13664080
Change-Id: I47fd90f01ea9a18b11037c966150fa5fd926101b
2014-06-27 15:23:38 +09:00
Keisuke Kuroyanagi
c152d7c19d
Fix unit tests that use getNgramProbabilityNative().
...
Change-Id: I8548094bc8d1a0ea125b29e2a0ea82a6834b3e48
2014-06-26 19:34:27 +09:00
Keisuke Kuroyanagi
05b1e0d42f
Extend jni method to use multiple previous words.
...
Bug: 14425059
Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
2014-06-26 18:47:25 +09:00
Keisuke Kuroyanagi
8681bef03c
Remove BigramDictionary form native code.
...
Bug: 14425059
Change-Id: I48d1a4ae6a4317afaaf67748060618f8f9485d40
2014-06-26 15:15:13 +09:00
Keisuke Kuroyanagi
d58a07666e
Merge "Rename jni method for n-gram supporting."
2014-06-24 01:52:26 +00:00