aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/unigram_dictionary.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Implement multi words suggestions step1•••Change-Id: I96e8e1b0d9ccc0ed13d53c40300d8c19bcb7af5b satok2012-01-301-1/+8
* Merge missing space and mistyped space correction algorithm•••Change-Id: Idd64d38d3d29be24748f9c0359667883698a5756 satok2012-01-271-12/+5
* Merge multiple words suggestions algorithm•••Change-Id: I70d85b90ddaa28a41e9679f445bc14ef9ff50f16 satok2012-01-261-3/+4
* Refactor words priority queue•••Change-Id: I14b7ef39263ad2b1d5ec087bc80b7b8d7c30abe7 satok2012-01-261-0/+6
* Cleanup unused code•••Change-Id: I6c840f9ed170919e48d1c576cd0a48777ad44030 satok2012-01-261-4/+0
* Do other error correction for the second word of two word correction•••result: I4e0b68a12190933f9 Change-Id: I98afce6fe4d5bde97392146d204370ba31a72566 satok2012-01-251-6/+10
* Prepair for advanced two words error correction•••Change-Id: I4c8a21f0f6e349ddafd9b402583321a60855cfe8 satok2012-01-171-0/+4
* Store suggestions for each input length for missing space algorithm etc.•••Change-Id: Ief8f6ddd29e043744863e5b9be3a51a70987291c satok2012-01-161-5/+4
* Merge "Fix indentations."Ken Wakasa2012-01-051-5/+2
|\
| * Fix indentations.•••Change-Id: I25c26e2fe50427d11d97b6204174a4f651963d24 Ken Wakasa2012-01-061-5/+2
* | Add methods to read shortcuts from the binary dict (A2)•••This contains stubs only, it does not work yet, however it doesn't break anything. Change-Id: If912ae84ff3ccd7a2d6588ffd6fbb9974f87ef3d Jean Chalard2012-01-061-1/+3
|/
* Add a forgotten constant•••This fixes the build. A constant was used before it was declared in another file. Change-Id: I72dfca2f76f0c3b7dd64072d062cd48c9bfcbd56 Jean Chalard2011-12-271-0/+6
* Prepare for proximity + two word correction No2•••Change-Id: Idfa1413e853299f1db459ef07da3efa932047981 satok2011-12-191-2/+2
* Prepare for proximity + two words suggestion•••Change-Id: I3637f9bec1f4a3c5953498c4562e1f17a7bf593c satok2011-12-161-8/+15
* Add words priority queue pool•••Change-Id: I152df7b876a1756b69ded2ca4fb3ee26b38c971f satok2011-12-151-6/+7
* Add a functionality to limit the max correction errors•••Before ==== test finished, terminate logcat ===== (0) 121.97 (0.28%) (1) 42032.07 (95.46%) (2) 11.03 (0.03%) (3) 12.19 (0.03%) (4) 10.02 (0.02%) (5) 1417.41 (3.22%) (6) 258.43 (0.59%) (20) 50.20 (0.11%) Total 44033.07 (sum of others 43913.32) After ==== test finished, terminate logcat ===== (0) 110.81 (0.29%) (1) 36416.11 (94.47%) (2) 10.06 (0.03%) (3) 9.45 (0.02%) (4) 9.83 (0.03%) (5) 1535.52 (3.98%) (6) 290.25 (0.75%) (20) 40.57 (0.11%) Total 38546.83 (sum of others 38422.60) Change-Id: Iffd24ce0b2dc422c8c6085d5be5f6bfdaf59ca7d satok2011-12-151-0/+4
* Unbundle members in unigram_dictionary•••Change-Id: Id737d943d20e3de3db568162caf40d3e956c7fae satok2011-12-141-24/+26
* Use priority queue for native string buffer•••+1 2 -6 2 Performance before ==== test finished, terminate logcat ===== (0) 100.34 (0.26%) (1) 37149.26 (95.30%) (2) 8.43 (0.02%) (3) 11.18 (0.03%) (4) 9.92 (0.03%) (5) 1330.60 (3.41%) (6) 250.46 (0.64%) (20) 12.41 (0.03%) Total 38982.50 (sum of others 38872.59) after ==== test finished, terminate logcat ===== (0) 97.65 (0.26%) (1) 35427.43 (95.32%) (2) 10.30 (0.03%) (3) 8.95 (0.02%) (4) 11.01 (0.03%) (5) 1224.67 (3.30%) (6) 243.76 (0.66%) (20) 40.91 (0.11%) Total 37167.04 (sum of others 37064.68) Change-Id: Id4d3b88a9cdef765affc52973aeac951ecc6a8ca satok2011-12-131-8/+6
* Remove NULL from native/src•••Change-Id: I5299af7773d28fd12faebbfe644829a401ae5644 Tadashi G. Takaoka2011-10-281-4/+0
* Add a flag to demote completed suggestions•••Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3 satok2011-09-291-7/+8
* Combine the skipped and transposed correction•••bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5 satok2011-08-231-2/+1
* Add correction state.•••Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754 satok2011-08-101-7/+4
* Refactor CorrectionState to Correction•••Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b satok2011-08-101-7/+7
* Move scoring part to the correction state•••Change-Id: I2dc4a0869636fce5526f48b3a6267b6bdf61dbfb satok2011-08-051-7/+5
* Move the input index and output index to correction state•••Change-Id: Idebdb59143f3367929df6a0475cefe941eb16d01 satok2011-08-041-8/+4
* Move code related to ranking algorithm to correction_state.cpp•••Change-Id: I52b34de45969fef82e46d9c10079c2d45e0b94eb satok2011-08-031-10/+7
* Move code related to ranking algorithm to the correction state•••Change-Id: I2d9e2db81cf6597ca4e88d7bc6737ab3b52b34b2 satok2011-08-021-8/+7
* Remove old dictionary format code•••Change-Id: Ic4b9e069c9bd5c088769519f44d0a9ea45acb833 satok2011-08-011-13/+0
* Add correction state•••Change-Id: I0d281cede1590893bd1def005cf83c9431d12750 satok2011-08-011-21/+13
* Small native refactoring.•••Move a purely dictionary-format-related function that is needed both by unigrams and bigrams to the binary format handling file. Also remove the empty UnigramDictionary::getBigrams placeholder function, on grounds that it should be in the BigramDictionary class. Bug: 5046459 Change-Id: I8a67a25f72122e2fa0b19ae1d936db25eb0b20ba Jean Chalard2011-07-261-3/+0
* Some native cleanup•••Take a function that does not need to be a member and make it static inline. Also replace the return value of -1 by a #define'd constant. Change-Id: I92e0deaa1df65998b76aba6329a4c8eb4d287485 Jean Chalard2011-07-221-1/+0
* (Step2)Move functions related to proximity to proximity_info.cpp•••Change-Id: Iae0eb2a5cd758bda820fa42b4bc3eb3d2665bf96 satok2011-07-141-13/+0
* (Step 1) Move proximity related parameters from unigram_dictionary to proximi...•••Change-Id: Ic630b35f4abffeb84c38bcf5935795b7ff07556a satok2011-07-141-8/+8
* New dict format, step 7•••This actually implements the new dictionary format, but does not activate the implementation through #defines. Bug: 4392433 Change-Id: I9b26b9bcb4b823a36e0984799b69730acfc6f7f3 Jean Chalard2011-07-131-0/+47
* Move a function to make next commit more readable•••Change-Id: Ieaa935ff4d68ce88137dcc5c672a4149a4c9c64f Jean Chalard2011-06-301-2/+2
* Rename parameters for future change•••Change-Id: Id15a17340fb26f91c72687f30bef24b2d8b94940 Jean Chalard2011-06-301-6/+6
* Internal cleanup•••Moving functions around, renaming parameters Change-Id: I3ab480f483d7d9700b9328cb07b16b51005098e5 Jean Chalard2011-06-301-3/+3
* Cleanup.•••Function renaming, moving around for future patch readability Change-Id: Id33b961cf2e899b5a3c9189951d2199aba801666 Jean Chalard2011-06-301-10/+9
* Internal cleanup.•••Function renaming, useless function supressing, fix comments Change-Id: I148acbaf367cd556a85b89016676b46cc971af81 Jean Chalard2011-06-301-2/+3
* Internal cleanup.•••Removed unused function prototypes. Change-Id: Ia56ea8e285deed17ce8377df855b045b7850d58d Jean Chalard2011-06-301-4/+0
* Clean up in LatinIME native code•••Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14 Ken Wakasa2011-06-181-3/+1
* New dict format, step 4•••Consolidate terminal cases, streamline the word adding process and create the entrances for adding alternate spellings with an empty implementation. Bug: 4392433 Change-Id: I781c93ec49945d71c7c20624c86596aa49add4c8 Jean Chalard2011-06-171-9/+7
* Fix a bug where bigram search would never return•••Bug: 4690487 Change-Id: Ie8f3f651508cc48bbb043a0b308f7e0d1524371c Jean Chalard2011-06-171-1/+1
* New dict format, step 3•••Some refactoring and add of a parameter that will be necessary. Bug: 4392433 Change-Id: I17f001a7efd4f69f4c35f94ee1ca8e97391b81d5 Jean Chalard2011-06-161-2/+3
* New dict format, step 2•••Move some methods around and make static some methods Bug: 4392433 Change-Id: I2bbe98aec118a416d21d1e293638e1d324505b9b Jean Chalard2011-06-161-2/+2
* New dict format, step 1•••This renames some variables and removes dependancies to values that will disappear Bug: 4392433 Change-Id: I79a44462d6bf25248cc2de0d63d7918fc6925d68 Jean Chalard2011-06-161-3/+10
* Fix a bug on the calculation of the freq on the mistyped space error correction•••Bug: 4402942 Change-Id: I0b611e3d0e8c25ca528ef7408c3949200e5cad85 satok2011-05-181-1/+1
* A bug fix for the mistyped space algorithm•••Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb satok2011-03-041-2/+2
* Merge "Demote skipped characters matched words with respect to length." into ...Jean Chalard2011-03-041-3/+4
|\
| * Demote skipped characters matched words with respect to length.•••Words that matched user input with skipped characters used to be demoted in BinaryDictionary by a constant factor and not at all in those dictionaries implemented in java code. To represent the fact that the impact of a skipped character gets larger as the word is shorter, this change will implement a demotion that gets larger as the typed word is shorter. The demotion rate is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2. It implements it for both BinaryDictionary and java dictionaries. Bug: 3340731 Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89 Jean Chalard2011-03-051-3/+4