aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-1/+4
| | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-4/+7
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* [AC3] Start calling the methods for auto-commit.Jean Chalard2013-08-201-0/+10
| | | | | Bug: 9059617 Change-Id: I190a4baf2fa831b70e00e129b5dfaa8c9c32b3a0
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-4/+41
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* Add a place holder of the personalization dictionarySatoshi Kataoka2013-07-261-1/+6
| | | | | | | Bug: 9429906 Bug: 4192129 Change-Id: Ieacd0559e0bf286c5933e9dba716289303f533d6
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-3/+6
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* Restart suggestions when the cursor moves.Jean Chalard2013-04-121-0/+2
| | | | | | | | | | | This uses the old suggestions. It does not try to recompute new suggestions if there are no old suggestions yet: this is coming in a later change. If there are no suggestions, this shows the word itself as a suggestion. Bug: 8084810 Change-Id: I4c2e25df0ff3673be1825f57a0c19a9d23d47a48
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Remove unused variablesKen Wakasa2012-11-161-5/+0
| | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-5/+5
| | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* Remove the whitelist dictionary.Jean Chalard2012-08-171-1/+0
| | | | | | | | | The functionality now lives in the binary dictionary. This finalizes work on Bug: 6906525 Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
* Step 28-A Introduce the session Id to getSuggestionSatoshi Kataoka2012-08-151-0/+7
| | | | Change-Id: I39d9bf1a7c272eb16d6ed4698f52457579b40f10
* Cleanup unused import and dead codeTadashi G. Takaoka2012-08-061-2/+0
| | | | Change-Id: Ife877620561d29a8f25602916420741186104617
* Cleanup old methods (A90)Jean Chalard2012-07-101-22/+0
| | | | Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
* Implement the common Dictionary interface (A89)Jean Chalard2012-07-101-8/+4
| | | | | | This will de-duplicate a lot of existing code. Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
* Reduce method visibility (A88)Jean Chalard2012-07-101-2/+2
| | | | Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
* Add a consolidated method to the Dictionary interface (A85)Jean Chalard2012-07-101-0/+21
| | | | Change-Id: I5d79021e69cc738e3013e31764ab0a59e15decdf
* Remember the source dictionary for each suggestion.Jean Chalard2012-06-271-0/+2
| | | | Change-Id: I3c63372bd5572a479a67eaecfe8c8ea1cabc70d9
* Move constants to a better place.Jean Chalard2012-06-271-0/+8
| | | | Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
* Cleanup the dictionary type.Jean Chalard2012-06-271-0/+6
| | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* Update the prototype of onAddSuggestedWord - calling side.Jean Chalard2012-06-271-3/+0
| | | | | | We want to get rid of all those IDs in Latin IME. Change-Id: Ibe08100a5e2976c80abb049889233b4047a686f3
* Remove the Callback interface for simpler code. (A17)Jean Chalard2012-06-261-22/+0
| | | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I009b54fc2e73cadca6734bdca074d033e81f6a2b
* Remove the callback argument to getBigrams() (A16)Jean Chalard2012-06-261-4/+2
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
* Remove the callback argument to getWords() (A15)Jean Chalard2012-06-261-5/+3
| | | | | | | | Bug: 6252660 Bug: 6166228 Bug: 2704000 Bug: 6225530 Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
* Change the return type of getWords and getBigrams (A8)Jean Chalard2012-06-261-5/+8
| | | | | | | | This only returns stuff, but it doesn't change yet how the data is really passed. It merely adds a way of getting the same data. Later, the old way will be removed. Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
* Change JNI for GestureSatoshi Kataoka2012-06-251-2/+3
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Remove non-dictionary words and digit touch data.Kurt Partridge2012-06-171-0/+8
| | | | | | | | | | Output to the ResearchLogger is now queued and only flushed if the word the user was working on is a dictionary word. multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7 Bug: 6188932 Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7
* Set level 1 as the initial value of the valid wordsSatoshi Kataoka2012-05-291-0/+5
| | | | | Bug: 4192129 Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
* Clean up some compiler warningsTadashi G. Takaoka2012-05-251-1/+1
| | | | Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
* Read and use user dictionary shortcuts.Jean Chalard2012-05-151-5/+0
| | | | | | Bug: 4646172 Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
* Pass the previous word to getSuggestionsJean Chalard2012-04-171-1/+3
| | | | | | This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
* Fix some obvious compiler warningsTadashi G. Takaoka2012-03-291-1/+1
| | | | Change-Id: I10a634f7492b45d5a72345f14d36cf341946387d
* Convert an internal enum into an int of same underlying value.Jean Chalard2012-01-261-6/+5
| | | | | | | Goes together with Id4f4e066 Bug: 5922118 Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
* Create a way to pass the proximity info to the dictionaryJean Chalard2011-08-041-7/+11
| | | | | | This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
* Fix Eclipse warnings.Jean Chalard2011-04-261-1/+1
| | | | | | | This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
* Add Utils.equalsIgnoreCase methodsTadashi G. Takaoka2011-03-161-4/+4
| | | | | | | | | This change also corrects usage of "frequency", "priority" and "score" * Frequency is the relative probability in dictionary. * Score is the relative probability in suggestions. * Priority is kind a sorted score. Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
* Remove next letters frequency handlingTadashi G. Takaoka2011-02-171-11/+2
| | | | | Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
* Remove Tutorial class and unused debug featureTadashi G. Takaoka2010-12-101-3/+5
| | | | | | | This change also cleanups compiler warnings. Bug: 2897373 Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
* - separate dict (uses xml)Jae Yong Sung2010-07-281-3/+0
| | | | | | | | | | - retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
* Merge remote branch 'goog/master'satok2010-07-161-3/+26
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: java/res/xml/prefs.xml java/src/com/android/inputmethod/latin/BinaryDictionary.java java/src/com/android/inputmethod/latin/Dictionary.java java/src/com/android/inputmethod/latin/ExpandableDictionary.java java/src/com/android/inputmethod/latin/LatinIME.java java/src/com/android/inputmethod/latin/Suggest.java tests/src/com/android/inputmethod/latin/tests/SuggestTests.java
| * added bigram predictionJae Yong Sung2010-07-131-3/+26
| | | | | | | | | | | | | | | | | | - after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
* | Check suggested words whether they are from mainDic or notsatok2010-06-021-1/+2
|/ | | | | | | - Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
* Clarify licensingJean-Baptiste Queru2010-04-051-1/+1
| | | | | | | | -use AOSP copyright instead of Google -add NOTICE and tag file Bug: 2548782 Change-Id: If50b2e9e9cc4b4876b0d047fc9f34e2d537a6da4
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-091-0/+99
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986