aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename BinaryDictDecoder to Ver3DictDecoder.Yuichiro Hanada2013-08-201-1/+1
| | | | Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
* Fix possible SIGSEGV.Keisuke Kuroyanagi2013-08-192-3/+8
| | | | Change-Id: I6008c0457a8da9b90434a3b96a51da1487948f1b
* Move methods in BinaryFormat to PatriciaTriePolicy.Keisuke Kuroyanagi2013-08-162-475/+260
| | | | | | Bug: 6669677 Change-Id: Ic9bc03a9d8ec789281d83d4b9e58042a083c3ba1
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-169-115/+159
| | | | | Bug: 6669677 Change-Id: I70e47fa20109060b6ea7a04bcc42ab8f7c543f77
* Merge "Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer.""Ken Wakasa2013-08-159-159/+115
|\
| * Revert "Remove BinaryDictionaryInfo and introduce MmapedBuffer."Ken Wakasa2013-08-159-159/+115
| | | | | | | | | | | | | | | | This reverts commit d14ffcfcbc2e4f5829f05531613b30750adebb32. 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
* | [Refactor] Divide BinaryDictInputOutput into BinaryDictEncoder and ↵Yuichiro Hanada2013-08-151-1/+1
|/ | | | | | BinaryDictDecoder. Change-Id: I7c3269d77e3e3b567e459dcaa1bc029903941744
* Remove BinaryDictionaryInfo and introduce MmapedBuffer.Keisuke Kuroyanagi2013-08-159-115/+159
| | | | | | Bug: 6669677 Change-Id: I1459bb53a9761d920427e4b5d925a2844955c88c
* Fix: BinaryDictionaryInfo.isDynamicallyUpdatable().Keisuke Kuroyanagi2013-08-151-2/+1
| | | | Change-Id: Ifb3acded5e19f1302c7fcc8881b74addd20c1571
* Merge "Make dictionary structure policy have updating methods."Keisuke Kuroyanagi2013-08-157-8/+63
|\
| * Make dictionary structure policy have updating methods.Keisuke Kuroyanagi2013-08-147-8/+63
| | | | | | | | | | | | Bug: 6669677 Change-Id: I6aa8e377c6347e0db4b7a82293b316ec64d87bec
* | Fix a comment.Yuichiro Hanada2013-08-151-1/+1
| | | | | | | | Change-Id: I5d09fd2474c7a0e6f42b6c7c6e717692636fbc6d
* | Remove NodeFilter.Keisuke Kuroyanagi2013-08-149-134/+40
| | | | | | | | Change-Id: I27d905dd3581cbb0e67d071dba04066aaa2ba22e
* | Fix ShortcutListPolicy::getStartPos().Keisuke Kuroyanagi2013-08-141-0/+3
| | | | | | | | | | Bug: 6669677 Change-Id: I1fa9967fc6aa0956986954c8ea1f990a47c15764
* | Move utils for reading dict to policyimpl.Keisuke Kuroyanagi2013-08-1413-33/+27
|/ | | | | Bug: 6669677 Change-Id: Ia1da3cb84b457665cf26172d3810e1d28329bca4
* Move files for headerPolicy to policyimpl.Keisuke Kuroyanagi2013-08-136-7/+5
| | | | | Bug: 6669677 Change-Id: Ic90feb9c3a9a7b698e588c8ad25c765a246706a8
* Move header reading methods to policyimpl.Keisuke Kuroyanagi2013-08-1315-132/+174
| | | | | Bug: 6669677 Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
* Use DictionaryStructureWithBufferPolicy for traversing.Keisuke Kuroyanagi2013-08-1319-127/+126
| | | | | Bug: 6669677 Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
* Merge "Remove TerminalAttributes."Keisuke Kuroyanagi2013-08-134-88/+62
|\
| * Remove TerminalAttributes.Keisuke Kuroyanagi2013-08-124-88/+62
| | | | | | | | | | | | | | | | Use BinaryDictionaryShortcutIterator instead of TerminalAttributes. Bug: 6669677 Change-Id: Ib7176e3b302ba383344cc6fcc037e23568c702a8
* | Merge "Quit using BinaryDictionaryInfo in header reading methods."Keisuke Kuroyanagi2013-08-137-82/+40
|\ \ | |/ |/|
| * Quit using BinaryDictionaryInfo in header reading methods.Keisuke Kuroyanagi2013-08-137-82/+40
| | | | | | | | | | Bug: 6669677 Change-Id: I5198ae28fcc271dd6ab3c33df940a2d15513a8c8
* | Cleanup ShortcutListReadingUtils.Keisuke Kuroyanagi2013-08-123-63/+26
|/ | | | | Bug: 6669677 Change-Id: Ifd61022665c89f492933dde9811ec644f7e1f5c4
* Change name of shortcut reading util class.Keisuke Kuroyanagi2013-08-123-4/+2
| | | | | Bug: 6669677 Change-Id: If93916f4c3d568119ff6b83e22e95c7086423d2f
* Move methods for Shortcut reading to policyimpl.Keisuke Kuroyanagi2013-08-123-3/+4
| | | | | Bug: 6669677 Change-Id: If0a565de015564f803429f4fbf21b05687f80553
* Move shortcut iteration methods to poilcy.Keisuke Kuroyanagi2013-08-1213-90/+203
| | | | | Bug: 6669677 Change-Id: I6e535ce7962de8e153a52fd1085fe961649ffe16
* Move bigram reading methods to BigramListReadingUtils.Keisuke Kuroyanagi2013-08-129-53/+160
| | | | | Bug: 6669677 Change-Id: Icb024a8af577323b4dcf74f4c4054cfb8b57a943
* Move bigrams iteration methods to policy.Keisuke Kuroyanagi2013-08-0916-77/+190
| | | | | | | To support various bigram format. Bug: 6669677 Change-Id: Ifc8c1a855b03cd5a39d97a6e10872ef8ef76475b
* Make DictionaryStructurePolicy have buffer info.Keisuke Kuroyanagi2013-08-0917-195/+201
| | | | | | | | To support various format dictionary, extendable buffers or multiple files. Bug: 6669677 Change-Id: I203a5a4adc049a6322cfba4eacb4cb6715f8dfc2
* Fix parent position reading for ver3 dict.Keisuke Kuroyanagi2013-08-083-4/+5
| | | | | Bug: 6669677 Change-Id: Ia55d4ecb43c7d37b9bc466b848d5142bc13cd823
* Support ver3 dict in native code.Keisuke Kuroyanagi2013-08-081-2/+1
| | | | | Bug: 6669677 Change-Id: Iafc3287f1f87588a6296593d6b43ea4464c8f553
* Implement getTerminalNodePositionOfWord for ver3 dict.Keisuke Kuroynagi2013-08-073-5/+100
| | | | | | Bug: 6669677 Change-Id: Ib9f88d23e6502b8281921ae2f1e47f930b16972f
* Implement getCodePointsAndProbabilityAnd... for ver3 dicts.Keisuke Kuroynagi2013-08-071-3/+40
| | | | | Bug: 6669677 Change-Id: I5c3b53d015496e11cb6c1f19938b8ee8a4c0f983
* Implement a part of ver 3 dictionary reading methods.Keisuke Kuroynagi2013-08-063-7/+254
| | | | | Bug: 6669677 Change-Id: I83c159838ad99b2093907b9de7df6cb7a97b4165
* Merge "Remove checkFirstCharacter from BigramDictionary."Keisuke Kuroynagi2013-08-054-54/+22
|\
| * Remove checkFirstCharacter from BigramDictionary.Keisuke Kuroynagi2013-07-314-54/+22
| | | | | | | | | | Bug: 10028452 Change-Id: I27b147e83b312d73e975a0b2bc8074b33906e56e
* | DynamicPatriciaTrieReadingUtils for version 3 dictionary.Keisuke Kuroynagi2013-08-012-0/+110
| | | | | | | | | | Bug: 6669677 Change-Id: I7105258a00159a5ddda7ff520c490c4ac9fa7902
* | Give PatriciaTrieReadingUtils methods for reading nodes.Keisuke Kuroynagi2013-08-018-112/+304
| | | | | | | | | | | | | | The remaining methods in BinaryFormat will be removed. Bug: 6669677 Change-Id: I866f828d69a600c0ac03b68d71b1f6ee2ce4dd36
* | Fix: Include wrong file in dynamic_patricia_trie_policy.cpp.Keisuke Kuroynagi2013-08-011-1/+0
| | | | | | | | Change-Id: If994f17e41c7d07e979fa6b0aa4661da0523eb0a
* | Merge "Introduce DynamicPatriciaTriePolicy for ver 3 dictionary."Keisuke Kuroynagi2013-08-013-2/+141
|\ \
| * | Introduce DynamicPatriciaTriePolicy for ver 3 dictionary.Keisuke Kuroynagi2013-07-303-2/+141
| |/ | | | | | | | | Bug: 6669677 Change-Id: Idd3189558aa6fbbd6b2fd007c5721bf39dde9f48
* | Move binary_format.h to policyimpl.Keisuke Kuroynagi2013-07-314-3/+1
| | | | | | | | | | Bug: 6669677 Change-Id: I3712f60528c7fcf364746f792cec6e180ab2dbef
* | Fix: appendTwoWords cannot handle MAX_WORD_LENGTH-chars word.Keisuke Kuroynagi2013-07-311-1/+1
|/ | | | | Bug: 9892258 Change-Id: Ib4ef7850c8fc8b1d99d594bb7ef68ce645f0f1f3
* Move creating children methods to structurePolicy.Keisuke Kuroynagi2013-07-296-76/+67
| | | | | Bug: 6669677 Change-Id: I20760f8ab95b18d21383960f6466db0d79429200
* Move files only used in dicNode to "internal".Keisuke Kuroynagi2013-07-298-6/+8
| | | | Change-Id: Ib31ddeff99b480d9b1f33a5b5b207a8acce22858
* "much" in suggestions of "m" after "very"Keisuke Kuroynagi2013-07-266-5/+10
| | | | | | | Make cache size larger for single point input. Bug: 9823678 Change-Id: Ic6bbcebd18eccaf9f9ac07d9c0d456a62f6c5287
* Support terminal insertion error correctionSatoshi Kataoka2013-07-259-10/+43
| | | | | | Bug: 9421356 Change-Id: I19685763ca487b5636019d62e150708c63ce6fc2
* Fix: "saomething" -> "something".Keisuke Kuroynagi2013-07-244-14/+20
| | | | | | | | Fixed by making MAX_CACHE_DIC_NODE_SIZE larger. Bug: 9682742 Change-Id: I0312952c90b0820bed37df99c223921c68450570
* Merge "Fix: huge bigram costs for blacklisted words."Keisuke Kuroynagi2013-07-233-8/+12
|\
| * Fix: huge bigram costs for blacklisted words.Keisuke Kuroynagi2013-07-223-8/+12
| | | | | | | | | | Bug: 8844931 Change-Id: I523005c5ed9a3d401a67b0e4e1c3ff2e4574e6df