aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Suggest.java (follow)
Commit message (Expand)AuthorAgeFilesLines
* Remove unused private method Suggest.searchBigramSuggestion•••Change-Id: I077c4c019676fefb8eac6042bd7db1b7ab33ca03 Tadashi G. Takaoka2012-05-231-21/+0
* Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07 satok2012-05-161-3/+3
* Merge "Reorder suggestions result according to auto correction threshold" int...satok2012-05-161-3/+2
|\
| * Reorder suggestions result according to auto correction threshold•••Bug: 5413904 Change-Id: I3aa3a8109ba45d2129b58d8242866fd3dd3473cb satok2012-05-161-3/+2
* | Merge "Stop meaningless bigram computations" into jb-devJean Chalard2012-05-161-33/+0
|\ \
| * | Stop meaningless bigram computations•••Bug: 6313806 Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218 Jean Chalard2012-05-151-33/+0
| |/
* / Don't auto-correct when there is no main dictionary.•••Bug: 6502485 Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef Jean Chalard2012-05-161-18/+20
|/
* Do not set "SuggestionSpan"s for suggestions from the next word predicition•••Bug: 6294817 Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415 satok2012-05-151-5/+5
* Don't autocorrect after suggestion resuming•••Bug: 6105732 Change-Id: I92e7a9c6d6eb648f747c3b396d7993479fd8478a Jean Chalard2012-05-011-0/+1
* Binary bigram lookup checks both uppercase and lowercase when previous word i...•••Bug: 6363029 Change-Id: I71a1ed5b88f54fcc15bfaf89d3645b8f17ebb821 Tom Ouyang2012-04-221-14/+20
* Pass the previous word to getSuggestions•••This is a preparative change to bug#6313806 Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0 Jean Chalard2012-04-171-1/+1
* Add a new binary contacts dictionary based on ExpandableBinaryDictionary and ...•••Bug: 6188977 Change-Id: I753422eed1effaeb5fd01124cf1ddd1e31ee9d60 Tom Ouyang2012-04-131-3/+3
* Read the dictionary resource in a more sensical place.•••We don't need to pass this down all the way from LatinIME any more. It fetched be done exactly where it needs to be. Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988 Jean Chalard2012-04-111-8/+6
* Replace the flags in getSuggestions with a boolean.•••Change-Id: I0ec44df1979cb1dc21017ea290d2151a2af0e7cd Conflicts: java/src/com/android/inputmethod/latin/Suggest.java Jean Chalard2012-04-061-8/+0
* Change the flags to a boolean in constructors.•••Change-Id: I9939204f3b16346aaebd4d726315ba9c4faf910a Jean Chalard2012-04-061-1/+8
* Merge "Fix the locale of the flags in BinaryDicitonary for tests"satok2012-04-051-1/+1
|\
| * Fix the locale of the flags in BinaryDicitonary for tests•••Bug: 6129372 Change-Id: I5611f88b10c44261b6145c9dc8615b80e4341e77 satok2012-04-051-1/+1
* | Don't draw red underline for manually picked words that came from bigram pred...•••Change-Id: I544680c8b4b1baff71bd08168630a34e803c40b9 Ken Wakasa2012-04-051-1/+3
|/
* Combine candidate words and scores•••Bug: 5240798 Change-Id: Ie56c1c2cfd7f365e771fee88c1ed15012448feed satok2012-04-021-59/+50
* Rename the user history dictionary.•••UserBigramDictionary -> UserHistoryDictionary. Also update all methods, strings and comments, except those needed for backward compatibility (which only include the name of the database file). Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae Jean Chalard2012-03-191-13/+11
* Small performance improvement by removing interface accesses.•••Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f Ken Wakasa2012-03-171-8/+7
* Remove a now-useless flag.•••This has been moved to the SuggestedWords object and is now represented by a single flag instead of a flag in each suggestion. Change-Id: I6e9a7cff5a7701de7e61b4de13baac25c9a87b1b Jean Chalard2012-03-151-4/+3
* Add info for obsolete suggestions in SuggestedWords•••Change-Id: I9684c7b08244b34853ce8a99b6e9d885389f6687 Jean Chalard2012-03-151-2/+4
* Move a computation closer to where it's used.•••Change-Id: I5aee4c36ceaacbb1dbfc47c011f1e4aec4b9dca6 Jean Chalard2012-03-151-8/+8
* Some readability improvement•••In-place replacements of visibly identical things. Change-Id: I02b51bd7f63597e3428f0650b239e9a39ef5a7c7 Jean Chalard2012-03-141-14/+7
* Cut out a private method to make things more readable•••Change-Id: I791700890338e023bd86b8794dbc90379b91dc7d Jean Chalard2012-03-141-24/+32
* Minor optimization•••We know the size in advance, this may save a few allocations Change-Id: I2fb9a725f34ba2da4f34ed335652f10447d5d166 Jean Chalard2012-03-141-3/+2
* Some code simplification•••Just write the same thing in a more succint manner Change-Id: I08a2c5edd52a3502914541061fd5b6ee7a92ebc4 Jean Chalard2012-03-141-6/+6
* Cleanup & optimization•••Renaming some variables, and obvious optimizations. Change-Id: Ib716748e9f3d602cf276dcd4e73f3bcfb819585e Jean Chalard2012-03-141-28/+24
* Remove a useless parameter•••Change-Id: I03005240238fb004c20b2df0d836796e2e8b307f Jean Chalard2012-03-141-5/+4
* Remove a useless method•••Change-Id: I208dd2e725e37c2fb3cd51fe48194679e5912f6b Jean Chalard2012-03-141-5/+4
* Make the Builder private•••Change-Id: I2184084f4b7729c4324f8291d548bd4c4c2872a1 Jean Chalard2012-03-141-4/+4
* Re-sequence the last calls to build()•••Change-Id: If77ee5aa9483d3ca03c52812f31665dee6468e99 Jean Chalard2012-03-141-7/+5
* Move up the static methods of the Builder•••Change-Id: Ic3e07b745b7b24cae0f772ea49e0de615b44caf9 Jean Chalard2012-03-141-2/+2
* Make the Builder fully immutable at last•••Change-Id: Ie399ca7a9e76ccab44a92bc378d11f92392fed2c Jean Chalard2012-03-131-5/+4
* Straighten out the last bastion of the Builder•••...and go for the kill Change-Id: I5ad57211b250d2578ca22a5dae93344d52f9da80 Jean Chalard2012-03-131-2/+9
* Make still more members of the Builder final.•••Change-Id: Ic455f97247da5e40d4939555ab639ecffef36e2d Jean Chalard2012-03-131-3/+6
* Some code reorganization.•••Use the same local variable inside both branches of an if. Change-Id: I61f7d506d984f3723ec90604416d1875dd97cd8c Jean Chalard2012-03-131-8/+5
* Make some more Builder attributes final.•••Change-Id: I3132b7fe4ee97c566736bfc21c3783cfc79fc7ff Jean Chalard2012-03-131-6/+8
* Make the suggested word list final in Builder.•••Change-Id: I2ddfab00dc8c141fc989a051f16eb2b3571b7e86 Jean Chalard2012-03-131-5/+5
* Remove unused stuff.•••Remove 2 methods that were left only for tests to compile in another project, but are not used any more now that the tests have been updated. Also remove an attribute that is never read. Change-Id: Ic9ba1f52a465199c82c923d77ed7450460e8a4b9 Jean Chalard2012-03-131-6/+3
* Make an add into a set.•••This method now only sets words, so it should be named set. The functionality is identical since there are no more places where the list is reused. This will also allow to make the list final in an upcoming change. Change-Id: I25b0c7d7f13c3fa5d89806f01f48f1026769603f Jean Chalard2012-03-131-3/+3
* Cleanup•••Remove an unused method, make others static, fix a formatting issue Change-Id: I40cb0b5e01a6f8e2f7b953bd9aad3168dfee71d1 Jean Chalard2012-03-131-23/+8
* Kill the StringBuilderPool.•••The intention may have been nice originally but these end up being copied anyway :/ Let's remove them now, and in a later change, just keep references to the created objects. Change-Id: Ifba8357c20384f9eb40cd916665ed1fc6dc8cab1 Jean Chalard2012-03-131-38/+10
* Remove a useless parameter.•••Change-Id: I7625bf17158c207ad7e8cd496bef825704173c4c Jean Chalard2012-03-131-3/+5
* Consolidate words into SuggestedWordInfo•••We can't get rid of SuggestedWordInfo because it conveys the information about whether a suggestion is outdated or not. It is always created anyway. So it makes sense not to have separate lists and to just keep everything in the SuggestedWordInfo object. Change-Id: Idd79dc267d97633901d3d2869da457736963e178 Jean Chalard2012-03-121-6/+15
* Make access to the safety net calculation easier•••Change-Id: If33897b38af94ae81b05e5ef140a542724b9f34a Jean Chalard2012-03-091-10/+7
* Extract a condition from a method•••Change-Id: I6b0262fe7cb3f7a31cc19d724c301467be932640 Jean Chalard2012-03-091-11/+4
* Remove a useless argument•••Change-Id: I713433a3225193489fad5bdafcf302b529903116 Jean Chalard2012-03-091-2/+2
* Remove a useless escape•••Change-Id: I1ef0685cc9888c9cef9f60015d32b66dde75ef9b Jean Chalard2012-03-091-3/+4