aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/unigram_dictionary.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Add the suggestion algorithm of words with space proximity•••Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b satok2011-03-041-0/+4
* | Fix a bug with umlaut processing.•••Issue: 3275926 Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca Jean Chalard2011-03-041-1/+2
|/
* Use translation of fallback umlauts digraphs for German.•••For German : handle "ae", "oe" and "ue" to be alternate forms for umlaut-bearing versions of "a", "o" and "u". Issue: 3275926 Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c Jean Chalard2011-03-031-5/+25
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-2/+6
* Rename variables with obscure names.•••The `snr' variable has a very obscure name. Rename it to `matchWeight'. Also, the `toLowerCase' function is error-prone, since it actually returns a lower case version of the BASE char, that is without diacritics. Hence, rename it to `toBaseLowerCase' and update variables with similar names. Change-Id: Ibdbe73018a33ee864db59a51d664c3b104d5fb3f Jean Chalard2011-02-221-1/+1
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-2/+2
* Promote full matches with differing accents.•••Stop considering accented characters as different from their base character for proximity scoring. Also give a huge boost (basically overriding frequency) to a word fully matched with only differing accents. Bug: 2550587 Change-Id: I2da7a71229fb3868d9e4a53703ccf8caeb6fcf10 Jean Chalard2011-01-271-3/+10
* Fix auto-correction threshold and promote full matched words•••Bug: 3374359 Bug: 3278422 "zbe" will be auto corrected to "be" by fixing s-line "teh" will be auto corrected to "the" by promotion of full matched words Change-Id: I314c632820e4e0b1501edeca60ada205d291451f satok2011-01-271-1/+1
* Load main dic in native•••Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66 Ken Wakasa2011-01-071-2/+2
* Suggest words with excessive chars out of proximity chars•••Bug: 3273807 Change-Id: Ib8f48e562bcf4c2aac0ad5cb46809fd5f539a322 satok2010-12-131-5/+7
* Suggest words with transposed chars•••Bug: 3193883 Change-Id: I884b669258bfc522bc04e14f22a7646164a4cac5 satok2010-12-101-8/+14
* Limit the suggestions with an excessive character by filtering proximity char...•••Change-Id: Iad26dad545f1a431aa0fa53f99198b27defd03a3 ug: 3269482 satok2010-12-101-1/+2
* Fix a bug that We can't suggest words with missing space if one of the words ...•••Bug: 3268825 Change-Id: I0634a243ad1e45dd096b30824b463c366a2e7f0f satok2010-12-091-4/+4
* Suggest words with missing space•••Bug: 3193883 Change-Id: I8d25f3e1d4db10be733d85edfa4f55a094feef80 satok2010-12-091-6/+13
* Suggest excessive characters•••bug: 3193883 Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07 satok2010-12-081-8/+9
* Make no-recursive getWordRec•••Change-Id: Id90f3ca86ef490834cefa92f0d6958b1289fc633 satok2010-12-071-3/+13
* Breakdown getWordRec•••Change-Id: I4fef02c227fb858334dbe2eabf2762d5b6e1d919 satok2010-12-061-3/+6
* Trim the flow of getWordRec•••Change-Id: Ic0cfa64ee1e55682ca73681c585db6a5cb510900 satok2010-12-061-8/+6