| Commit message (Expand) | Author | Age | Files | Lines |
* | Move dictionary code to top level dictionary dir.•••Bug: 18725954
Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
|  Keisuke Kuroyanagi | 2014-12-17 | 4 | -205/+4 |
* | Create .cpp file for NgramContext.•••Bug: 14425059
Change-Id: Ie950878817b9c80cc9c970e1a84880c9b9ab228a
|  Keisuke Kuroyanagi | 2014-10-21 | 2 | -106/+138 |
* | Rename prev_words_info.h to ngram_context.h•••Bug: 14425059
Change-Id: I0e906631ecad2361a8198b3f9e3394bb22c5bf83
|  Keisuke Kuroyanagi | 2014-10-09 | 2 | -1/+1 |
* | Rename PrevWordsInfo to NgramContext.•••Bug: 14425059
Change-Id: I30703fc80e9450d4e2dbfec965e7f9f4468f6a11
|  Keisuke Kuroyanagi | 2014-10-09 | 3 | -19/+19 |
* | Rename updateCounter to updateEntriesForWordWithNgramContext.•••Bug: 14425059
Change-Id: Id9b0dd7e32c711ed4292981517c3febd5fe9e897
|  Keisuke Kuroyanagi | 2014-10-09 | 1 | -0/+1 |
* | [ML13] Fix the locale passing in ProximityInfo•••The locale is used to determine additional proximity characters. This
is dependent on the dictionary language, but was passed as a function
of the layout, which is wrong and would have given bad suggestions in
multi-lingual mode.
Ideally, additional proximity characters should be inserted in the
dictionary header, but for now it's a rather simple change to get
it from the dictionary's locale instead of the proximity info locale.
Also, that allows us to remove completely the locale parameter from
proximity info, which is a much needed change.
This change has zero effect on unit tests and on regression tests.
Bug: 11230254
Change-Id: If95157155db7dccd1f00b8ba55ccb3600283f9e4
|  Jean Chalard | 2014-10-03 | 1 | -2/+6 |
* | Implement updateCounter() by using existing entry adding methods.•••Bug: 14425059
Change-Id: I0b6cb80e1fb8f738e9c7d9e80fbc0c479546b879
|  Keisuke Kuroyanagi | 2014-10-01 | 1 | -2/+12 |
* | Use passed previous word count in PrevWordsInfo.•••Bug: 14425059
Change-Id: I04007bdacf0176a05be7a27ef1c20c5b851d8bed
|  Keisuke Kuroyanagi | 2014-09-14 | 3 | -22/+32 |
* | Use WordIdArrayView for prevWordIds.•••Bug: 14425059
Change-Id: Ia84fb997d89564e60111b46ca83bbfa3b187f316
|  Keisuke Kuroyanagi | 2014-09-11 | 2 | -6/+5 |
* | Use word id for methods related to n-grams.•••Bug: 14425059
Change-Id: I81e5d3793527776d3c9faa5594005ddbd4a71354
|  Keisuke Kuroyanagi | 2014-09-03 | 3 | -23/+17 |
* | Use IntArrayView for dictionary structure policy.•••Change-Id: I0dc94908259d70d5085ff22abf422d90affb1452
|  Keisuke Kuroyanagi | 2014-08-27 | 1 | -13/+7 |
* | Remove PrevWordsInfo.getBigramsIteratorForPrediction().•••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
|  Keisuke Kuroyanagi | 2014-07-30 | 1 | -47/+0 |
* | Get bigrams iterator via dict structure policy.•••Bug: 14425059
Change-Id: Ie4c6afbb6a3b707b5aa8e9e4f941c9da6e6bcdbf
|  Keisuke Kuroyanagi | 2014-07-08 | 1 | -20/+18 |
* | Extend jni method to use multiple previous words.•••Bug: 14425059
Change-Id: I8150e8812ee32f8c713315a234b52e5b3a79d7a0
|  Keisuke Kuroyanagi | 2014-06-26 | 1 | -9/+38 |
* | Enable Beginning-of-Sentence prediction for contextual dict.•••Bug: 14161647
Bug: 14119293
Change-Id: I0c00f13966db88e4de85e245e7bced43c9d474b2
|  Keisuke Kuroyanagi | 2014-06-12 | 1 | -0/+8 |
* | Add length check for attaching a BoS marker.•••Bug: 15297872
Change-Id: I7b0a27409b81b76561d19c6caa18a5011d3e90f6
|  Keisuke Kuroyanagi | 2014-05-28 | 1 | -1/+4 |
* | Support Beginning-of-Sentence in native code•••Bug: 14119293
Change-Id: I0f382e33a19bf481823b23405d454de61ec835ff
|  Keisuke Kuroyanagi | 2014-05-23 | 1 | -16/+45 |
* | Use PrevWordsInfo to add/remove n(bi)-gram in native code.•••Bug: 14119293
Bug: 14425059
Change-Id: I4b9a46bfd670b35195418eaee51456d44fb91b6d
|  Keisuke Kuroyanagi | 2014-05-21 | 2 | -5/+33 |
* | Support multiple previous words in DicNode.•••Bug: 14425059
Change-Id: Ib8682befe4d7d9fe5122eb538e7c804f75ded463
|  Keisuke Kuroyanagi | 2014-05-19 | 1 | -1/+1 |
* | Move prev word related logic to PrevWordsInfo.•••Bug: 14119293
Bug: 14425059
Change-Id: I1bbd7ab4ace2c475f27bc468cb7b4d67e1ae2f9f
|  Keisuke Kuroyanagi | 2014-05-16 | 2 | -19/+55 |
* | Introduce MAX_PREV_WORD_COUNT_FOR_N_GRAM.•••Bug: 14425059
Change-Id: I587f90df026a14359d2ee452040bbfaf02c1ae51
|  Keisuke Kuroyanagi | 2014-05-15 | 3 | -19/+33 |
* | Refactoring: Move prev word information into PrevWordsInfo.•••Bug: 14119293
Bug: 14425059
Change-Id: I5a5f81c6b189e3ad1da093343a3121463f87c21c
|  Keisuke Kuroyanagi | 2014-05-15 | 3 | -6/+63 |
* | Cleanup DicTraverseSession.•••Change-Id: I953665e1958e7214e9365e2bc9d3f3843016dc81
|  Keisuke Kuroyanagi | 2014-05-15 | 1 | -11/+0 |
* | s/stdint.h/cstdint/•••Somehow, we were not able to use cstdint gcc target build. That's no
longer the case with Clang.
Removed unnecessary header inclusions too.
Change-Id: Ic83a4adf696f1d5ec7a9809253f3c95804e622e1
|  Ken Wakasa | 2014-04-07 | 1 | -1/+0 |
* | Remove mPartiallyCommited.•••Bug: 13333066
Change-Id: I4e3aa31aa501866c23cc4b86093b866306161bfd
|  Keisuke Kuroyanagi | 2014-03-28 | 2 | -5/+1 |
* | Use nullptr instead of 0 for pointers.•••Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
|  Keisuke Kuroyanagi | 2014-03-07 | 1 | -2/+2 |
* | Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
|  Ken Wakasa | 2013-12-13 | 2 | -25/+10 |
* | Output input index of second word's first char.•••This is for partial commit.
Bug: 9059617
Change-Id: I77a0245b63c29b7234fd9b06d362e05aebf30051
|  Keisuke Kuroyanagi | 2013-09-17 | 1 | -1/+3 |
* | Merge NOT_A_VALID_WORD_POS into NOT_A_DICT_POS.•••Change-Id: I2ac3aa2a19d14e8c4159a59334e7816bd1409688
|  Keisuke Kuroyanagi | 2013-09-16 | 2 | -3/+3 |
* | Change cache capacity depending on the dictionary size.•••Bug: 10699291
Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
|  Keisuke Kuroyanagi | 2013-09-12 | 2 | -5/+15 |
* | Make terminal cache small.•••Bug: 10699291
Before:
(0) 2997.63 (0.98%)
(1) 303760.77 (98.92%)
(2) 274.94 (0.09%)
(66) 0.38 (0.00%)
Total 307062.27 (sum of others 307033.73)
After:
(0) 2953.22 (0.96%)
(1) 304633.86 (98.93%)
(2) 293.76 (0.10%)
(66) 0.38 (0.00%)
Total 307915.65 (sum of others 307881.22)
Change-Id: I6905abeb590ef50d48ddfcd8ef8b5351af399150
|  Keisuke Kuroyanagi | 2013-09-12 | 2 | -3/+4 |
* | Move header reading methods to policyimpl.•••Bug: 6669677
Change-Id: I24cb32f28cf355485b431cc56d877000e3f946d4
|  Keisuke Kuroyanagi | 2013-08-13 | 1 | -3/+2 |
* | Use DictionaryStructureWithBufferPolicy for traversing.•••Bug: 6669677
Change-Id: If7bc038278b7217ed5ba4cb77b1238b2dad0001b
|  Keisuke Kuroyanagi | 2013-08-13 | 2 | -11/+10 |
* | Make DictionaryStructurePolicy have buffer info.•••To support various format dictionary, extendable
buffers or multiple files.
Bug: 6669677
Change-Id: I203a5a4adc049a6322cfba4eacb4cb6715f8dfc2
|  Keisuke Kuroyanagi | 2013-08-09 | 2 | -3/+3 |
* | Replace NOT_VALID_WORD with NOT_A_VALID_WORD_POS•••Bug: 6669677
Change-Id: If5fb58e8a98b04b767eaaf624cb6a40841b64f54
|  Keisuke Kuroynagi | 2013-07-16 | 2 | -3/+3 |
* | Make bigram dictionary and traverse session use structure policy.•••Bug: 6669677
Change-Id: I5a13290366afbb788da997b98d1c593963e92f3e
|  Keisuke Kuroynagi | 2013-07-08 | 1 | -10/+7 |
* | Introduce BinaryDictionaryHeader to access binary dictionary header.•••BinaryDictionaryHeader abstracts header structure and access header information via only its instance.
Bug: 6669677
Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a
|  Keisuke Kuroynagi | 2013-06-11 | 2 | -8/+3 |
* | Purge DicTraverseWrapper•••bug: 8550444
Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
|  Satoshi Kataoka | 2013-06-03 | 2 | -38/+19 |
* | Use BinaryDictonaryInfo instead of raw pointers.•••Bug: 6669677
Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b
|  Keisuke Kuroyanagi | 2013-06-02 | 2 | -6/+11 |
* | Move some dictionary related implementations to the dictionary directory•••Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
|  Ken Wakasa | 2013-05-31 | 2 | -3/+3 |
* | Create a new directory for layout-related implementations•••Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
|  Ken Wakasa | 2013-05-30 | 1 | -1/+1 |
* | Make DicTraverseSession having suggest options.•••Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161
|  Keisuke Kuroyanagi | 2013-05-29 | 2 | -5/+11 |
* | Be careful about the dictionary size in detection methods•••Bug: 8857618
Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
|  Jean Chalard | 2013-05-08 | 1 | -1/+2 |
* | Improve bigram frequency lookup•••Bug: 8592527
Change-Id: I1908bcb552279b9acb140fe4d8d26b10ed9eda72
|  Tom Ouyang | 2013-04-26 | 2 | -5/+5 |
* | Check bigrams for lowercased previous word if original is not found•••Bug: 8592527
Change-Id: I70c4b81263d8b2cb7050364c124589f66900cfce
|  Tom Ouyang | 2013-04-22 | 1 | -1/+9 |
* | Use additional multi-word cost per language (for Russian)•••Bug: 7540133
Change-Id: I7eb7b8399746c15452ed2ed5069955e88fb546d3
|  Satoshi Kataoka | 2013-04-16 | 2 | -1/+14 |
* | Enable touch coordinate correction for new algorithm•••Bug: 8505668
Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498
|  Satoshi Kataoka | 2013-04-15 | 1 | -0/+4 |
* | fix assertion•••Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074
|  Satoshi Kataoka | 2013-04-15 | 1 | -1/+1 |
* | Add method to get dictionary flags from DicTraverseSession•••This is needed for the traversal algorithm to know which
digraphs (if any) are associated with the current dictionary.
Bug: 8493920
Change-Id: I6ae088b55e50c0c2c7066d045b304c5068e23390
|  Tom Ouyang | 2013-04-08 | 2 | -1/+5 |
* | Cleanup the include paths•••Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347
|  Ken Wakasa | 2013-04-08 | 2 | -3/+4 |