aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/NgramContext.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Carry over the mMaxPreWordCount when creating the new NgramContext•••Change-Id: Iaba2e4b356486b60d550f10121695ef46e5e75da Mohammadinamul Sheik2015-03-171-1/+1
* Use BinaryDicitonary.MAX_PREV_WORD_COUNT_FOR_NGRAM for D2 dictioanries.•••Fixes the UserHistoryDictionaryTests Change-Id: I49776f53298ced3cd7e771cfe77a940b80b01f20 Mohammadinamul Sheik2015-03-171-2/+12
* Handle empty previous ngram context correctly.•••Fixes bug where empty previous ngram context not at the beginning of a sentence incorrectly returned the beginning-of-sentence marker. Bug: 19612336 Change-Id: I5ddf3408e20dcedf70487b85c983cd3fc12550e7 Chieu Nguyen2015-03-091-5/+2
* Add util method in ngramcontext for context array•••Change-Id: I2e3e2ac7706be50ed2055b0c69b30e25a516a879 Jatin Matani2015-03-031-0/+26
* Add a addOrIncrement term api to DicFacilitator•••The API is used by the decoder to add term to the dictionary. Change-Id: I607c8c676b7650f3052b2d3ed3f7f656573fca45 Jatin Matani2015-02-101-1/+3
* Move decoder specific constants to DecoderSpecificConstants.java•••Change-Id: Ie4d325b3152e1e7e424b8b436e222e194e4d9da0 Mohammadinamul Sheik2015-02-051-3/+3
* AOSP changes to use KeyboardLayout to support the new DictionaryFacilitator•••Change-Id: Ie0c9ce805d9ad009fc9bbaac37b715aff90cd844 Mohammadinamul Sheik2015-02-041-0/+30
* Fix a misspelled method name•••Change-Id: I1151dc1d5db3986a97daf68c1e387dbc2e4610dc Adrian Velicu2014-12-021-1/+1
* Move StringUtils under common.•••Bug: 18108776 Change-Id: Ia46a4102a0e86e71118ca5e641f9f531998e166b Jean Chalard2014-10-281-1/+1
* Move Constants.java to the latin.common package•••Our intention is to have classes of latinime-common under the common package as much as we can. Change-Id: I76efbbbe7bebf1a4aa943715cdff64f91675e20d Ken Wakasa2014-10-231-0/+1
* Fix Javadoc and null analysis related warnings•••This CL also adds @SuppressWarning("unused" to java-overridable package. Bug: 18003991 Change-Id: If70527e30654384705d7a814f5efd181d9f539e1 Tadashi G. Takaoka2014-10-231-0/+7
* Fix some compiler warnings•••This CL fixes the following compiler warnings. - Indirect access to static member - Access to a non-accessible member of an enclosing type - Parameter assignment - Method can be static - Local variable declaration hides another field or variable - Value of local variable is not used - Unused import - Unused private member - Unnecessary 'else' statement - Unnecessary declaration of throw exception - Redundant type arguments - Missing '@Override' annotation - Unused '@SuppressWarning' annotations Bug: 18003991 Change-Id: Icfebe753e53a2cc621848f769d6a3d7ce501ebc7 Tadashi G. Takaoka2014-10-211-15/+3
* Make UserHistoryDictionary use updateEntriesForWordWithNgramContext()•••Bug: 14425059 Change-Id: I409ebf90f68f4a0f1638128ac5ee6af859323d30 Keisuke Kuroyanagi2014-10-061-5/+0
* Introduce NgramProperty in Java side.•••Bug: 14425059 Change-Id: I8b3458ad22730b3dccbe0caea2c5930f5276dc82 Keisuke Kuroyanagi2014-10-011-2/+8
* Rename PrevWordsInfo to NgramContext.•••Bug: 14425059 Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984 Keisuke Kuroyanagi2014-09-291-0/+229