History log of /packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
6cbe204fce109fab652da15f4c8ea1ae35fca3e7 30-May-2012 Satoshi Kataoka <satok@google.com> Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

Bug: 6576793

Change-Id: I46f56654cd25dc28668ad75ac71e0e3beb8cdcf3
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
2f854e170c9fde47cae804145f90d164cdb5ceb8 29-May-2012 Satoshi Kataoka <satok@google.com> Add a JNI to get the frequency

Bug: 4192129
Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
8950ce6c44706467bb386570ae236a2b8b983666 07-May-2012 Jean Chalard <jchalard@google.com> Replace the bigram list position with the map and filter

Passing the position will not allow us a reasonable lookup
time. Replace this with a map and bloom filter for very fast
lookup.

Bug: 6313806
Change-Id: I3a61c0001cbc987c1c3c7b8df635d4590a370144
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
4d9b202c4009352352ae98f8b13fe6330d102ba6 23-Apr-2012 Jean Chalard <jchalard@google.com> Pass the bigram list position from the top level

The position itself is still a const int = 0 until we have the previous
word passed to the function. This basically does the plumbing.

Bug: 6313806
Change-Id: Ib58995f334fe93e3ff5704d7c79f332017f101ac
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
522a04ea5b249d0af556647d2abcad57e5b99b4f 23-Apr-2012 Jean Chalard <jchalard@google.com> Pass words as int[] to the native code.

We need to get the bigrams during the call to getSuggestions for
bug#6313806. We already give an int[] to getSuggestions and we
wanted to get rid of char[]'s anyway because it doesn't work with
surrogate pairs, so here we go.

Bug: 6313806
Change-Id: I56ce99f1db6b3302cdf42f0527343bded837091e
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
338d3ec725a952cbe603ac8b2d49c337463f4093 06-Apr-2012 Jean Chalard <jchalard@google.com> Replace the flags in getSuggestions with a boolean.

Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd

Conflicts:

java/src/com/android/inputmethod/latin/Suggest.java
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
cd274b146961c95abf1436caa8ec482650432b6e 06-Apr-2012 Jean Chalard <jchalard@google.com> Save the flags in a member in the unigram dictionary.

Change-Id: Ic8fad9110db6b97f98ace27af0f347b4e69de8c8
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
e81ac8baa0dc0e8d671c813b93100070c23b9a1d 06-Apr-2012 Jean Chalard <jchalard@google.com> Add a method to get the flags from a binary dictionary.

This method is not used yet

Change-Id: Ic15d3d423aff2c83c712bc0aa56571d30755e663
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
5b0761e6a94227d6ef788f589fb6edcd44ed791f 06-Apr-2012 Jean Chalard <jchalard@google.com> Remove write-only stuff

Change-Id: I5ac8ab64c77a298502b3d063ea70db9b4da41716
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
9a933a742d2a3ffdfb955705ad086035bc27db60 27-Mar-2012 Jean Chalard <jchalard@google.com> 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
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h
3ef3e24a12ed72204f7a6f2e4b2df8ce7d243746 30-Mar-2012 Ken Wakasa <kwakasa@google.com> Move the "src" directory as a preparation for Ib4a47342 and I66f6c5b9

Change-Id: I3ab65059f6e356530484bfd0bba26a634a4cba65
/packages/inputmethods/LatinIME/native/jni/src/unigram_dictionary.h