aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add entry iteration method to TrieMap.Keisuke Kuroyanagi2014-07-302-0/+158
| | | | | | | | | | | | | | | Bug: 14425059 Change-Id: I79420b755f29f651d8eed61e7e48b6eb001d8dd2
* | | Merge "Remove PrevWordsInfo.getBigramsIteratorForPrediction()." into lmp-devKeisuke Kuroyanagi2014-07-259-76/+46
|\ \ \ | |_|/ |/| |
| * | Remove PrevWordsInfo.getBigramsIteratorForPrediction().Keisuke Kuroyanagi2014-07-309-76/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge "Add a method to iterate ngram entries." into lmp-devKeisuke Kuroyanagi2014-07-2410-22/+132
|\| |
| * | Add a method to iterate ngram entries.Keisuke Kuroyanagi2014-07-3010-22/+132
| |/ | | | | | | | | Bug: 14425059 Change-Id: I9962c546504288f6c22b1a7368f775decd229c62
* / Cleanup: C++11 doesn't require a space between angle bracketsKen Wakasa2014-07-305-14/+14
|/ | | | Change-Id: Id0777cf3deac94395bd63aee40b49375dff3e35a
* Merge "Add TrieMap." into lmp-devKeisuke Kuroyanagi2014-07-252-0/+593
|\
| * Add TrieMap.Keisuke Kuroyanagi2014-07-292-0/+593
| | | | | | | | | | Bug: 14425059 Change-Id: Ief36f808ed4f3e35bfab07837ea314d2564973ab
* | Merge "Get n-gram probability in structure policy." into lmp-devKeisuke Kuroyanagi2014-07-244-27/+39
|\ \
| * | Get n-gram probability in structure policy.Keisuke Kuroyanagi2014-07-294-27/+39
| | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Id955a2e07dbdfb90ae55720f0c92597e0594c0d9
* | | Merge "Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()" ↵Keisuke Kuroyanagi2014-07-258-10/+23
|\| | | | | | | | | | | into lmp-dev
| * | Change getUnigramProbabilityOfPtNode to getProbabilityOfPtNode()Keisuke Kuroyanagi2014-07-298-10/+23
| |/ | | | | | | | | Bug: 14425059 Change-Id: I92403d750d2979408b41554dcd79b0ed31b41161
* / Add boundary check for ver2 bigram reading.Keisuke Kuroyanagi2014-07-288-20/+52
|/ | | | | Bug: 16330528 Change-Id: I6aca6c7a735e2a652eb325572d44dff660789cff
* Add BufferWithExtendablebufferTestKeisuke Kuroyanagi2014-07-251-2/+3
| | | | | Bug: 13754552 Change-Id: Ib9c330dc85bdb5d4d3d5bc15cc3ce5f28faa0b12
* Add BufferWithExtendableBuffer::extend()Keisuke Kuroyanagi2014-07-252-6/+12
| | | | | Bug: 14425059 Change-Id: I13dd8412ba4d16a1325ac2210b3852d580e71ad3
* Refactoring checkAndPrepareWriting.Keisuke Kuroyanagi2014-07-241-18/+28
| | | | | Bug: 14425059 Change-Id: I98940f3841a6c61b0482440b4da21f415dc843f6
* Remove isUpdatable from constructors of dict contents.Keisuke Kuroyanagi2014-07-118-22/+19
| | | | Change-Id: I2d54f477d9b341e944e265786a734f23d152bb81
* Concatenate dict buffers other than header to a single file.Keisuke Kuroyanagi2014-07-1117-167/+234
| | | | | Bug: 13664080 Change-Id: I34c9d8046b339c9b855be378a5fad907382d1359
* Fix: wrong bigram entry pos can be used during GC.Keisuke Kuroyanagi2014-07-092-2/+2
| | | | | Bug: 14425059 Change-Id: I4e7c977c5ef184953682175b118de5473cdb64a6
* Merge "Move phrase gesture from additional features to public."Keisuke Kuroyanagi2014-07-021-1/+6
|\
| * Move phrase gesture from additional features to public.Keisuke Kuroyanagi2014-07-081-1/+6
| | | | | | | | | | Bug: 15758242 Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
* | Get bigrams iterator via dict structure policy.Keisuke Kuroyanagi2014-07-0810-46/+57
|/ | | | | Bug: 14425059 Change-Id: Ie4c6afbb6a3b707b5aa8e9e4f941c9da6e6bcdbf
* Use linked list for bigram list.Keisuke Kuroyanagi2014-07-076-97/+112
| | | | | | | | | | | | BinaryDictionaryTests for VERSION4_DEV: Before Time: 36.461 After Time: 33.031 Bug: 14425059 Change-Id: I9ca2714f450f61f713df6ebd34c953dece991cdb
* Remove unused method.Keisuke Kuroyanagi2014-06-272-28/+0
| | | | | Bug: 13664080 Change-Id: I47fd90f01ea9a18b11037c966150fa5fd926101b
* Extend jni method to use multiple previous words.Keisuke Kuroyanagi2014-06-262-9/+70
| | | | | Bug: 14425059 Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
* Remove BigramDictionary form native code.Keisuke Kuroyanagi2014-06-265-164/+43
| | | | | Bug: 14425059 Change-Id: I48d1a4ae6a4317afaaf67748060618f8f9485d40
* Merge "Rename jni method for n-gram supporting."Keisuke Kuroyanagi2014-06-242-2/+2
|\
| * Rename jni method for n-gram supporting.Keisuke Kuroyanagi2014-06-252-2/+2
| | | | | | | | | | Bug: 14425059 Change-Id: I242d1de5d9db37344f02d8fba9035829794a56c8
* | Make Beginning-of-Sentence prediction require two exposures.Keisuke Kuroyanagi2014-06-251-0/+4
| | | | | | | | | | Bug: 15868192 Change-Id: I4b577ad11c992d872d6f902fd50527d9ca5cc1ba
* | Support migration/dump of Beginning-of-Sentence entries.Keisuke Kuroyanagi2014-06-243-8/+23
| | | | | | | | | | Bug: 14119293 Change-Id: Ie975138f819794d5c34a7a547be5a6117050e084
* | Make getNextWordAndNextToken output code point count.Keisuke Kuroyanagi2014-06-239-30/+26
|/ | | | | Bug: 14425059 Change-Id: Id1c2927c8a1be0b1680206d444dbdf0c9453dceb
* Remove hasBigrams/hasShortcut flags from ver4 PtNode.Keisuke Kuroyanagi2014-06-235-39/+9
| | | | | | | | Always check bigram/shortcut content instead of having flags in each PtNode. Bug: 14425059 Change-Id: I9eb816681bf22fc12e3ab3c92a178a7990b90e93
* Remove word from personalized dicts when it's canceled.Keisuke Kuroyanagi2014-06-2012-29/+48
| | | | | | Bug: 15555552 Bug: 15552347 Change-Id: Ia4d8c79d079e3ce233d46d4bbad4fff1be5c5c39
* Merge "Update unit test for beginning-of-sentence."Keisuke Kuroyanagi2014-06-101-1/+18
|\
| * Update unit test for beginning-of-sentence.Keisuke Kuroyanagi2014-06-121-1/+18
| | | | | | | | | | Bug: 14119293 Change-Id: I594a1ca1096f0c12c678dd30eb75de905e55c5bb
* | Merge "Add removeUnigramEntry() to native dictionary policy."Keisuke Kuroyanagi2014-06-107-0/+28
|\ \
| * | Add removeUnigramEntry() to native dictionary policy.Keisuke Kuroyanagi2014-06-127-0/+28
| | | | | | | | | | | | | | | Bug: 15552347 Change-Id: Ic713f79ef26b5963060304df9c0a3a402c3cc6d4
* | | Merge "Enable Beginning-of-Sentence prediction for contextual dict."Keisuke Kuroyanagi2014-06-102-1/+26
|\ \ \ | | |/ | |/|
| * | Enable Beginning-of-Sentence prediction for contextual dict.Keisuke Kuroyanagi2014-06-122-1/+26
| |/ | | | | | | | | | | Bug: 14161647 Bug: 14119293 Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
* / Block offensive words in native code.Keisuke Kuroyanagi2014-06-122-3/+15
|/ | | | | | Bug: 15300452 Change-Id: Ic6c91c47453e19fb5db2c62b66659619e72b1ecf
* Purge dict reading code for 401 and create for 402.Keisuke Kuroyanagi2014-06-1040-312/+325
| | | | Change-Id: Ib0150b3306bb2db8aff443d1158fecc8464cbbdb
* Implement getMaxProbabilityOfExactMatches().Keisuke Kuroyanagi2014-06-068-4/+153
| | | | | | Bug: 13142176 Bug: 15428247 Change-Id: I5be6d683be95505412615ca7c88260de1ea05f54
* Add length check for attaching a BoS marker.Keisuke Kuroyanagi2014-05-281-1/+4
| | | | | Bug: 15297872 Change-Id: I7b0a27409b81b76561d19c6caa18a5011d3e90f6
* Add boundary check for v4 bigram reading.Keisuke Kuroyanagi2014-05-272-3/+19
| | | | | Bug: 14496386 Change-Id: Iedd3445c3222a777a2476beed7d9eb53773f406c
* Return whether the dynamic dict operation was success.Keisuke Kuroyanagi2014-05-278-32/+44
| | | | | Bug: 12184250 Change-Id: Iee7e00c1e84c95551a077f4dd023c0a9b9ac9466
* Use whether it's exact match to detect distracters.Keisuke Kuroyanagi2014-05-264-1/+17
| | | | | Bug: 13142176 Change-Id: Id5b7286d28897931f7bfe571be45d46ffeef4adf
* Version up dynamic dict format from 401 to 402.Keisuke Kuroyanagi2014-05-236-6/+18
| | | | Change-Id: Ibea36af905ade773ae3db3a5456f7b5a0ad7d220
* Extend jni methods and enable Beginning-of-Sentence.Keisuke Kuroyanagi2014-05-231-1/+1
| | | | | Bug: 14119293 Change-Id: I78fc877367dd0d6240eeacb750b6d2d0b93cba83
* Support Beginning-of-Sentence in native codeKeisuke Kuroyanagi2014-05-233-18/+71
| | | | | Bug: 14119293 Change-Id: I0f382e33a19bf481823b23405d454de61ec835ff
* Fix: PtNodeParams.representsNonWordInfo()Keisuke Kuroyanagi2014-05-232-2/+2
| | | | Change-Id: I7ab4fb280e8ac89f81d0b32b0663a86c9b69aa5d