aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/makedict/FusionDictionary.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Move code only used for dicttool and tests under tests.•••Bug: 13035567 Change-Id: I13c6df013ef2b67c9bf67455d9c32d283bf9ea2e Keisuke Kuroyanagi2014-03-271-717/+0
* Move DictionaryOptions from FusionDictionary to FormatSpec.•••Bug: 8187060 Bug:13035567 Change-Id: Id4f45e589521ae98c926a4c0607be10ce1a983f2 Keisuke Kuroyanagi2014-03-061-41/+1
* Separate WeightedString from FusionDictionary.•••Bug: 8187060 Change-Id: I40c1dafca3eb52244c64fdb4c1db30a56385d678 Keisuke Kuroyanagi2014-03-061-40/+0
* Make PtNode have ProbabilityInfo instead of raw value.•••Bug: 11281877 Bug: 12810574 Change-Id: Id1cda0afc74c4e30633c735729143491b2274a7b Keisuke Kuroyanagi2014-02-101-52/+64
* Use native logic to read Ver4 dict.•••Bug: 11281877 Bug: 12810574 Change-Id: Ief371d3ef61818e4e031de4659aee3c9584c7379 Keisuke Kuroyanagi2014-02-061-11/+11
* Consolidate WordProperty and Word.•••Bug: 11281877 Bug: 12810574 Change-Id: I9dc99188f80f25a8780c1860dab46e4aa80a23e5 Keisuke Kuroyanagi2014-02-061-9/+11
* Make WeightedString have ProbabilityInfo.•••Bug: 11281877 Bug: 12810574 Change-Id: I265e3d8654c75766cd0e0d09d67ef62b4566298a Keisuke Kuroyanagi2014-02-051-15/+26
* Reading dictionary containing timestamps in Java Side.•••Just skipping historical information fields. Bug: 11281877 Change-Id: I43d2adaa576b7da11ed3ca54990265dbb6f53b08 Keisuke Kuroyanagi2014-01-291-0/+1
* Remove flags from Java side.•••This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1 Jean Chalard2013-12-131-146/+1
* Fix a possible IOOB•••We want to use StringUtils here, but it's full of references to stuff not accessible host-side like JsonReader and TextUtils and SettingsValues :/ Bug: 11061476 Change-Id: I3c0194979833ede283b4f9190335dba5376fe6fc Jean Chalard2013-10-071-2/+3
* Add Ver4DictEncoder.•••Bug: 9618601 Change-Id: I161d2845906f07c1251deb8005fdffe49c5b7940 Yuichiro Hanada2013-09-131-0/+6
* Rename CharGroup to PtNode.•••Bug: 10233675 Change-Id: I7b0eb07d195cd386cd0d9e97cd59bf48fcf24107 Yuichiro Hanada2013-08-261-125/+127
* Rename Node to PtNodeArray•••Bug: 10247660 Change-Id: I1a0ac19f58f96adb5efac5fd35c6404831618c99 Jean Chalard2013-08-161-76/+77
* Fix some warnings•••Change-Id: I7290cd1fb675a1b85b9b6ac2d464c932b5bca1dd Jean Chalard2013-07-311-8/+8
* Refactor on UserHistoryDictionary•••Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60 Satoshi Kataoka2013-07-261-1/+1
* [FD4] Separate cached address before/after update for groups•••This should fix bug#8526576 for good. Bug: 8526576 Change-Id: I473aad26b69d64efa09d2ec9d8e69f29f5cf4819 Jean Chalard2013-07-241-3/+9
* [FD2] Separate cached address before/after update for nodes.•••Bug: 8526576 Change-Id: Ib9f8594a9e12dc75eba296faff2612c4bd7483d3 Jean Chalard2013-07-231-1/+7
* Fix two bugs in dicttool•••Both bugs only affect debug mode. One has the wrong object tested with equals, the other has the iteration failing in some cases. Change-Id: Ie9100d257a3f9e3be340cf3e38116f63417bdc1a Jean Chalard2013-04-101-3/+6
* Fix two nasty bugs with surrogate pairs.•••The important bug is in findWordInTree. The problem, which is not obvious, is that we were calling codePointAt() with the code point index in the string, instead of the char index. The other bug this change fixes was harmless in the practice, because it's in the iteration which is only used for debug and pretty printing purposes. It's very similar in that it would substract a length in code point to a length in chars and truncate a StringBuilder at that length, so it would fail in a quite similar manner. This changes the meaning of the "length" attribute in Position, but it's clearer this way anyway. Bug: 8450145 Change-Id: If396f883a9e6449de39351553ba83f5be5bd30f0 Jean Chalard2013-04-011-13/+13
* Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086 Tadashi G. Takaoka2013-01-211-8/+8
* Small code cleanups•••Multi-project commit with I249d5fbe Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5 Ken Wakasa2013-01-071-0/+2
* Remove trailing spaces•••Change-Id: I260b85ef9e91d17f97d6e405d2d92a65b443df44 Ken Wakasa2012-12-191-2/+2
* Remove a couple Eclipse and Android Lint warnings•••Change-Id: I0c29c5d2abcbf80759b996d34b534deb083cd7d3 Jean Chalard2012-12-061-0/+1
* Add a plumbing option to dicttool info.•••Also align the `porcelain' option to the diff command that was used mistakenly. Bug: 7388665 Change-Id: Ic0e1b98c62ce37b2e909384a0370af4458563703 Jean Chalard2012-10-311-5/+9
* Remove warnings•••Thanks Eclipse Change-Id: I88e3979ed22be5d8be5a5accdde417c6b1a8bf2d Jean Chalard2012-10-291-5/+3
* Implement the word-level diff (A9)•••Bug: 7388857 Change-Id: I4c4560d4f4b579936a44cdf409a4c27300b65610 Jean Chalard2012-10-291-1/+24
* Finish up the "info" command in dicttool. (A6)•••Bug: 7388857 Change-Id: I704f12a6be76ce1644ec5e8dd3b667f112e9c04a Jean Chalard2012-10-251-2/+34
* Add auto detection and decoding of dictionary files. (A2)•••Bug: 7388852 Change-Id: I25e755fc15f5b383acc046f668e9681efa4f0c2f Jean Chalard2012-10-251-0/+6
* Fix a bug where a bigram would be ignored•••Bug: 7403386 Change-Id: I89f495d07f7059a9f1ccd97d487c2f2657a8ebd2 Jean Chalard2012-10-241-0/+4
* Add insertWord.•••bug: 6669677 Change-Id: Ide55a4931071de9cd42c1cddae63ddd531d2feba Yuichiro Hanada2012-10-041-1/+1
* Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e Tadashi G. Takaoka2012-09-271-10/+8
* Fix a bug with surrogate characters•••This is a pretty bad bug :/ Bug: 7013840 Change-Id: I12c7cfa4fa9d56b2c1fee6e6222c64fe20b88fa3 Jean Chalard2012-09-181-3/+4
* Add new binary dictionary format.•••Change-Id: Ia99411d4009857d5e420ca87ef8acf1f1826d3ed Yuichiro Hanada2012-09-101-6/+4
* Check the length of the word when add to FusionDictionary.•••Change-Id: Id98d18e90a8b83b597507728b467f56888c8fd12 Yuichiro Hanada2012-09-101-0/+7
* Cosmetic fixes and a bug fix in UnigramDictionary::testCharGroupForContinuedL...•••This change has actually been extracted from a change work in progress I4fe423834b8131fb122251892c98228a6e08ba25 Change-Id: I52568fa09da2ea22be7f8bfe9676b7cd73c31fa4 Ken Wakasa2012-09-041-2/+2
* Reinstate the shortcut-only attribute•••Also add the blacklist attribute Bug: 7005742 Bug: 2704000 Change-Id: Icbe60bdf25bfb098d9e3f20870be30d6aef07c9d Jean Chalard2012-08-311-18/+58
* fix findWordInTree.•••Change-Id: I8f42df28f76188677db9d4e55885e1fc6a40b53f Yuichiro Hanada2012-08-171-0/+1
* fix findWordInTree.•••Change-Id: I9d81c815494a0670afa81219ad7bad82274d997e Yuichiro Hanada2012-08-161-1/+10
* Make a makedict command for dicttool (A3)•••This behaves exactly as the old makedict command. Further changes will redirect the calls to makedict to this, so as to consolidate similar code. Groundwork for Bug: 6429606 Change-Id: Ibeadbf48bec70f988a15ca36ebf5d1ce3b5b54ea Jean Chalard2012-08-041-2/+2
* Clean up some compiler warnings•••Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc Tadashi G. Takaoka2012-05-251-3/+5
* Some more obvious optimizations•••The speedup is about 15% Bug: 6394357 Change-Id: Ibd57363d9d793206dd916d8927366db4192083b6 Jean Chalard2012-05-141-3/+3
* Some obvious optimizations to makedict•••Bug: 6394357 Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc Jean Chalard2012-05-141-28/+21
* Add a flag for bigram presence in the header•••This is a cherry-pick of Icb602762 onto jb-dev. Bug: 6355745 Change-Id: Icb602762bb0d81472f024fa491571062ec1fc4e9 Jean Chalard2012-04-261-1/+27
* Ignore bigrams that are not also listed as unigrams•••This is a cherry pick of I14b67e51 on jb-dev Bug: 6340915 Change-Id: Iaa512abe1b19ca640ea201f9761fd7f1416270ed Jean Chalard2012-04-261-23/+18
* Add support for German umlaut and French ligatures flags•••Bug: 6202812 Change-Id: Ib4a7f96f6ef86c840069b15d04393f84d428c176 Jean Chalard2012-04-061-3/+7
* Remove constructors•••And small cleanup. Change-Id: I1de903f42c1b8d57a488be2162e0b94055a6d1f2 Jean Chalard2012-04-061-10/+0
* Remove the shortcutOnly attribute which is now useless.•••Change-Id: Ifccdfdaf7c0066bb7728981503baceff0fedb71f Jean Chalard2012-04-061-53/+17
* Add a simple way to input dictionary header attributes•••Just add them as an attribute to the root of the XML node. Bug: 6202812 Change-Id: Idf040bfebf20a72f9e4370930a85d97df593f484 Jean Chalard2012-04-031-1/+15
* Remove useless adding of shortcut as unigrams.•••Change-Id: I1f50ebf00d6dd0dad4114fad86ace5b7b304613a Jean Chalard2012-03-281-4/+0
* Merge "Add support for updating and adding bigrams to existing nodes."Tom Ouyang2012-03-231-29/+128
|\