aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/BinaryDictionary.java (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug and Add large test for decaying dictionary.Keisuke Kuroyanagi2013-10-071-0/+4
| | | | | | | | - GC gets failure when the dictionary become empty. - Useless unigrams are sometimes not removed. Bug: 10197478 Change-Id: I8d1479c01efba61a81f03bc077da6bcb4797a940
* Implement the heuristic for auto-commit.Jean Chalard2013-10-011-15/+4
| | | | | Bug: 9059617 Change-Id: I066abf018df5aaeabf415425dd822ebe233e6008
* Merge "Quit blocking getSuggestion during GC."Keisuke Kuroyanagi2013-10-011-9/+0
|\
| * Quit blocking getSuggestion during GC.Keisuke Kuroyanagi2013-10-011-9/+0
| | | | | | | | | | | | Bug: 10831272 Change-Id: I995c619dc18a9120a47f547d31045cb73a9353ec
* | Create the wiring for auto-commit confidence computation.Jean Chalard2013-10-011-1/+2
|/ | | | | Bug: 9059617 Change-Id: I7e4e05ffa8c68cfebbe362a977fd176555cad12a
* Prepare dictionary decay.Keisuke Kuroyanagi2013-09-301-4/+10
| | | | | Bug: 6669677 Change-Id: I8fbae190dd44a6bdbee7e9b6d3a16208322727f7
* Add unigram/bigram counting.Keisuke Kuroyanagi2013-09-271-0/+12
| | | | | Bug: 6669677 Change-Id: I05ea2201d822dddf062b08c8467daa336760e16c
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-261-0/+17
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Clear traverse sessions when closing.Keisuke Kuroyanagi2013-09-251-11/+15
| | | | | Bug: 6669677 Change-Id: I859be934f0c60485e04cdc4cab288a18242fa04e
* Quit using ExpandableDictionary.Keisuke Kuroyanagi2013-09-241-3/+18
| | | | | Bug: 6669677 Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
* Merge "Add BinaryDictionary.getBigramProbabilityNative()."Keisuke Kuroyanagi2013-09-181-5/+17
|\
| * Add BinaryDictionary.getBigramProbabilityNative().Keisuke Kuroyanagi2013-09-181-5/+17
| | | | | | | | | | Bug: 10197478 Change-Id: Id16e3ee22a17679c46cc7a0199a9e28065177aa3
* | [AC9] Resize an arrayJean Chalard2013-09-171-1/+1
|/ | | | | | | | It's not easy for native code to only output the first result, so let's supply enough room for it to output all. Bug: 9059617 Change-Id: Ie93b7e54284c8c5d01fdc15846cf52d3442287b6
* Prepare dictionary saving in native code.Keisuke Kuroyanagi2013-09-171-0/+24
| | | | | | Bug: 6669677 Change-Id: I0787f66409e2b183c6328fa05805945520e1e93a
* [AC7] Actually auto-commit.Keisuke Kuroyanagi2013-09-171-1/+1
| | | | | Bug: 9059617 Change-Id: I7e5d89a9037b9181a0a6456c12043b4bfda8fe4b
* Merge "[AC4] Add native methods necessary for auto-commit"Jean Chalard2013-09-131-3/+25
|\
| * [AC4] Add native methods necessary for auto-commitJean Chalard2013-09-131-3/+25
| | | | | | | | | | Bug: 9059617 Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
* | Change cache capacity depending on the dictionary size.Keisuke Kuroyanagi2013-09-121-1/+3
|/ | | | | | Bug: 10699291 Change-Id: I7042d4c1307da2d991d4dd10d637f18026acb996
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-6/+5
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* [AC2] Reference a dict rather than a string in suggestion infosJean Chalard2013-08-201-1/+1
| | | | | Bug: 9059617 Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
* [AC1] Add a memory of where to cut the first word.Jean Chalard2013-08-201-1/+2
| | | | | Bug: 9059617 Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
* Refactor on UserHistoryDictionarySatoshi Kataoka2013-07-261-1/+1
| | | | | Bug: 9429906 Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
* Move settings related classes to "settings"Ken Wakasa2013-07-221-1/+2
| | | | Change-Id: Id170dbfe2dcfc93130b7be4a84615940403ec37f
* Add methods for dynamic updating binary dictionary.Keisuke Kuroynagi2013-07-041-4/+33
| | | | | Bug: 6669677 Change-Id: I7e681ceec2af712214a647630350cb20be6b0354
* Add jni methods for dynamically handling a dictionary.Keisuke Kuroynagi2013-06-261-1/+5
| | | | | Bug: 6669677 Change-Id: I8a26623adbb41a78e3c023c652be635c635e3b47
* Add a parameter isUpdatable to the constructor of BinaryDictionary.Keisuke Kuroynagi2013-06-251-4/+6
| | | | | Bug: 6669677 Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
* Allow mmapping dictionary file in writable mode in openNative.Keisuke Kuroynagi2013-06-251-2/+3
| | | | | Bug: 6669677 Change-Id: I447668932de118b158fa029ddc977b3f3cc06cb8
* Move util classes to the latin/utils directoryKen Wakasa2013-06-241-0/+4
| | | | Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
* Adding additional feature settings.Keisuke Kuroyanagi2013-05-281-0/+2
| | | | Change-Id: I9fec0c03b7da9ce0305b494193f4cfe3fca144f3
* Passing options to native suggestion method.Keisuke Kuroyanagi2013-05-241-5/+6
| | | | | Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
* Pass blockOffensiveWords as a parameterJean Chalard2013-05-011-6/+7
| | | | | Bug: 8773353 Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
* [ZF2] Read settings for profanity filtering.Jean Chalard2013-04-251-3/+6
| | | | | Bug: 7226877 Change-Id: Ie0c713e1eba1529c0b288a1e5011023a79bedd6b
* [ZF1] Check profanity in Java rather than in nativeJean Chalard2013-04-251-2/+12
| | | | | Bug: 7226877 Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
* Don't kill suggestions with native score < 1Jean Chalard2013-04-221-1/+0
| | | | Change-Id: I954856b7fec0b91e19a467f2a87978d49caa639d
* Break dependencies to allow offdevice tests to buildJean Chalard2013-03-191-2/+0
| | | | Change-Id: Ia9a2e8f0672b3f72943f26fb15de1d3c7c5ce7f1
* Merge the dictionary pack in Latin IME.Jean Chalard2013-03-191-2/+2
| | | | | Bug: 8161354 Change-Id: I17c23f56dd3bc2f27726556bf2c5a9d5520bd172
* Refactor parameters by naming conventionSatoshi Kataoka2013-03-181-2/+2
| | | | Change-Id: I8bda8075b33f656ecbec08320afcd864b620fe77
* Tiny cleanupJean Chalard2013-02-221-1/+0
| | | | Change-Id: I5d7150a4abb3a498e790f41af569093217cb8b43
* Remove MAX_PROXIMITY_CHARS_SIZE_INTERNALKen Wakasa2013-01-221-2/+2
| | | | Change-Id: I18a997503de4033b5341b564145bca862a872098
* Fix Apache license commentTadashi G. Takaoka2013-01-211-8/+8
| | | | Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
* Remove MAX_WORD_LENGTH_INTERNALKen Wakasa2013-01-151-20/+15
| | | | Change-Id: Ie11ff000675601acff5fbb00e9e9f48eb32c5071
* Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS ↵Ken Wakasa2013-01-111-19/+10
| | | | | | to MAX_RESULTS Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
* Privatize a few constants in BinaryDictionary.javaKen Wakasa2012-12-171-3/+3
| | | | Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
* Remove unused variablesKen Wakasa2012-11-161-3/+3
| | | | Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
* Use 32-bit code points for suggestions outputKen Wakasa2012-11-011-17/+19
| | | | | | | This is a multi-project commit with Ic43dd666 bug: 6526418 Change-Id: I39c1acb4e91d04cd8a4ec5a943c8cf575da75ebc
* Merge "Replace useless CharSequence to String"Tadashi G. Takaoka2012-10-221-13/+15
|\
| * Replace useless CharSequence to StringTadashi G. Takaoka2012-10-221-13/+15
| | | | | | | | Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
* | Add @UsedForTesting and @ExternallyReferenced annotationsTadashi G. Takaoka2012-10-221-2/+1
|/ | | | | Bug: 7268357 Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
* Make use of the NELEMS and KEYCODE_SPACE macro. Also, remove an unused ↵Ken Wakasa2012-10-091-8/+4
| | | | | | parameter. Change-Id: I3c7e6c59990c92b0d5e2fb80493e8673cdd37b09
* Throw illegal argument exception in BinaryDictionary::editDistanceSatoshi Kataoka2012-10-031-0/+3
| | | | | Bug: 7276803 Change-Id: Icd9bdec0a04179a29d00336819d205627f77b71a