aboutsummaryrefslogtreecommitdiffstats
path: root/native/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename variables with obscure names.Jean Chalard2011-02-222-34/+37
| | | | | | | | | 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
* Force autocorrection of matching words with different accents.Jean Chalard2011-02-223-14/+98
| | | | | | | | | | | 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
* Remove next letters frequency handlingTadashi G. Takaoka2011-02-174-12/+13
| | | | | Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
* Promote full matches with differing accents.Jean Chalard2011-01-273-21/+39
| | | | | | | | | | | 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
* Handle the last char correctly in excessive char correction algortihm.satok2011-01-271-3/+6
| | | | | | bug: 3278422 Change-Id: I651d3cb0130ab9834ed9d7a97f41360c6eaa9de1
* Fix auto-correction threshold and promote full matched wordssatok2011-01-273-7/+14
| | | | | | | | | | 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
* Load main dic in nativeKen Wakasa2011-01-076-48/+64
| | | | | | | Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
* Supress overflow at mulitplying demotion ratesatok2011-01-051-7/+14
| | | | Change-Id: I2003c5f88a5062b11e2f21522095bb94b1eb4efd
* Add profiler for native dictionary codesatok2011-01-052-4/+77
| | | | Change-Id: I2569756c9ef4fa677ae52f2ccfcb90d2115d129f
* Suggest words with excessive chars out of proximity charssatok2010-12-133-46/+61
| | | | | | Bug: 3273807 Change-Id: Ib8f48e562bcf4c2aac0ad5cb46809fd5f539a322
* Suggest words with transposed charssatok2010-12-103-46/+110
| | | | | | Bug: 3193883 Change-Id: I884b669258bfc522bc04e14f22a7646164a4cac5
* Limit the suggestions with an excessive character by filtering proximity ↵satok2010-12-102-4/+30
| | | | | | | characters Change-Id: Iad26dad545f1a431aa0fa53f99198b27defd03a3 ug: 3269482
* Fix a bug that We can't suggest words with missing space if one of the words ↵satok2010-12-093-54/+94
| | | | | | | starts with a capitalized character. Bug: 3268825 Change-Id: I0634a243ad1e45dd096b30824b463c366a2e7f0f
* Suggest words with missing spacesatok2010-12-095-84/+164
| | | | | | Bug: 3193883 Change-Id: I8d25f3e1d4db10be733d85edfa4f55a094feef80
* Suggest excessive characterssatok2010-12-083-31/+58
| | | | | | bug: 3193883 Change-Id: Iea7a0fce7ce62d8779a7c7e4613d50db30d82b07
* Make no-recursive getWordRecsatok2010-12-072-10/+68
| | | | Change-Id: Id90f3ca86ef490834cefa92f0d6958b1289fc633
* Fix a crash when MAX_WORD_LENGTH is too short.satok2010-12-063-4/+15
| | | | Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
* Breakdown getWordRecsatok2010-12-063-64/+109
| | | | Change-Id: I4fef02c227fb858334dbe2eabf2762d5b6e1d919
* Trim the flow of getWordRecsatok2010-12-063-38/+45
| | | | Change-Id: Ic0cfa64ee1e55682ca73681c585db6a5cb510900
* Breakdown getWordRecsatok2010-12-032-63/+72
| | | | Change-Id: I8556efb1dd053eff9a9681971cbe1014abf0333f
* Breakdown getWordRec and add commentssatok2010-12-034-35/+70
| | | | Change-Id: I88bad8a4a8177e3540b995b664c47b86d6904027
* Detach bigram functionarities from unigram_dictionarysatok2010-12-026-290/+280
| | | | Change-Id: Ie35164a5f293e5370885a1ba13d6ed7caf6000ec
* Refactor: Move utility functions and no suggestion functions from ↵satok2010-12-026-200/+220
| | | | | | unigram_dictionary.cpp to dictionary.cpp Change-Id: I6f695e4f5852547d2c00de5ee54a650fef9accbe
* Fix parameters of native functions and refactor Dictionarysatok2010-12-026-656/+826
| | | | | | - created bigram/unigram dictionary classes Change-Id: I233a28ed8d611870db3f4cf8f25fc45b5d41529b
* Move a logic for finding words with a missing character to the native code.satok2010-12-012-41/+72
| | | | Change-Id: I58338643830ff4f9708f78a9c26f75c8bf2ebf45
* Add an easy way to output native debug logssatok2010-12-011-3/+9
| | | | Change-Id: Ieff2b8e60c5e7dedb7f86e17f7c37b349a912ab4
* - separate dict (uses xml)Jae Yong Sung2010-07-282-6/+31
| | | | | | | | | | - retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
* added bigram predictionJae Yong Sung2010-07-132-10/+294
| | | | | | | | | - after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
* Get rid of dependency on native AssetManager API. Confirmed the native code ↵Ken Wakasa2010-04-271-8/+2
| | | | | | builds with the NDK r3. Change-Id: I0d2d3a0e262847d6948a0336a35440e21e312ad2
* Get rid of code taken from bionic to avoid license issue.Ken Wakasa2010-04-231-20/+13
| | | | Change-Id: If96f4247edbc7b1e9f7418d2ddef191618a54ae3
* A part of efforts of unbundling LatinIME: Get rid of ICU dependency in the ↵Ken Wakasa2010-04-213-3/+934
| | | | | | | | | native code. This is actually a back merge from the LatinIME sandbox. Please refer to http://arvarest.i.corp.google.com:8080/#change,77 Change-Id: I3ff3781903d5c642c662c2d744f808be7e4d8997
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-093-0/+572
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986