aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src/bigram_dictionary.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Fix debug compilation + small cleanup•••Change-Id: Ia89d84f62ba38dee05d25fbc94698e889cf27d2c Jean Chalard2012-04-171-1/+0
* Fix a native crash•••This was introduced by Ieb2e306a which failed to keep the return behavior in case the word doesn't have a bigram. Change-Id: I6d2f0b79d41c4335e94696690c8331e314961133 Jean Chalard2012-04-171-0/+4
* Preparatory refactoring•••Split out getting the pointer to the bigrams to a separate function. This is a preparative change to bug#6313806 Change-Id: Ieb2e306a1151cd95dc1a16793c8dc2f7fed8b654 Jean Chalard2012-04-171-13/+19
* Remove write-only stuff•••Change-Id: I5ac8ab64c77a298502b3d063ea70db9b4da41716 Jean Chalard2012-04-061-4/+1
* Read shortcuts as strings in the dictionary.•••This has no impact on performance. Before: (0) 9.61 (0.01%) (1) 57514.58 (56.70%) (2) 10.55 (0.01%) (3) 10.79 (0.01%) (4) 133.20 (0.13%) (5) 43553.87 (42.94%) (6) 10.03 (0.01%) (20) 47.20 (0.05%) Total 101431.47 (sum of others 101289.84) After: (0) 10.52 (0.01%) (1) 56311.16 (56.66%) (2) 13.40 (0.01%) (3) 10.98 (0.01%) (4) 136.72 (0.14%) (5) 42707.92 (42.97%) (6) 9.79 (0.01%) (20) 51.35 (0.05%) Total 99390.76 (sum of others 99251.84) The difference is not significant with regard to measure imprecision Change-Id: I2e4f1ef7a5e99082e67dd27f56cf4fc432bb48fa Jean Chalard2012-04-061-0/+1
* Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9•••Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65 Ken Wakasa2012-03-301-0/+165