aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/defines.h (follow)
Commit message (Expand)AuthorAgeFilesLines
* Tweak the demotion rate for a word with missing letter•••Bug: 4027223 Change-Id: Ie9a5552d2f41d60f433573fde52efc097f5143bf satok2011-03-071-1/+1
* A bug fix for the mistyped space algorithm•••Bug: 3311719 -- also fixed compiler warnings Change-Id: I6941c0d02f10d67af88bc943748dde8d8783fabb satok2011-03-041-1/+1
* Merge "Demote skipped characters matched words with respect to length." into ...Jean Chalard2011-03-041-1/+1
|\
| * 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-1/+1
* | Add the suggestion algorithm of words with space proximity•••Bug: 3311719 Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b satok2011-03-041-0/+3
* | Fix a bug with umlaut processing.•••Issue: 3275926 Change-Id: Ibcb00aaea3ff05ad59ad4e8e54dd3caab5ab9bca Jean Chalard2011-03-041-0/+4
|/
* Add proximity info to native•••Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b satok2011-02-231-0/+2
* Force autocorrection of matching words with different accents.•••When entering a word without accents the user expects the system to add accents automatically if there is no other matching word. This patch ensures the accented version is promoted accordingly and autocorrection really takes place. Issue: 3400015 Change-Id: I8cd3db5bf131ec6844b26abecc1ecbd1d6269df4 Jean Chalard2011-02-221-3/+3
* Remove next letters frequency handling•••Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2 Tadashi G. Takaoka2011-02-171-0/+3
* 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-0/+4
* 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-0/+1
* Load main dic in native•••Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66 Ken Wakasa2011-01-071-21/+28
* Add profiler for native dictionary code•••Change-Id: I2569756c9ef4fa677ae52f2ccfcb90d2115d129f satok2011-01-051-1/+59
* Suggest words with excessive chars out of proximity chars•••Bug: 3273807 Change-Id: Ib8f48e562bcf4c2aac0ad5cb46809fd5f539a322 satok2010-12-131-1/+5
* Suggest words with transposed chars•••Bug: 3193883 Change-Id: I884b669258bfc522bc04e14f22a7646164a4cac5 satok2010-12-101-2/+12
* 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-0/+2
* Suggest words with missing space•••Bug: 3193883 Change-Id: I8d25f3e1d4db10be733d85edfa4f55a094feef80 satok2010-12-091-3/+9
* Suggest excessive characters•••bug: 3193883 Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07 satok2010-12-081-3/+6
* Fix a crash when MAX_WORD_LENGTH is too short.•••Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77 satok2010-12-061-1/+5
* Trim the flow of getWordRec•••Change-Id: Ic0cfa64ee1e55682ca73681c585db6a5cb510900 satok2010-12-061-0/+2
* Breakdown getWordRec and add comments•••Change-Id: I88bad8a4a8177e3540b995b664c47b86d6904027 satok2010-12-031-0/+2
* Refactor: Move utility functions and no suggestion functions from unigram_dic...•••Change-Id: I6f695e4f5852547d2c00de5ee54a650fef9accbe satok2010-12-021-0/+53