aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Fixes in close() in BinaryDictionary.Ken Wakasa2011-01-171-1/+1
| | | | | | | Avoid using 'synchronized' in finalizer as well. bug: 3340837 Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
* Clean up: Update variable names to comply with spec of ApplicationInfo.Ken Wakasa2011-01-092-11/+11
| | | | | | | | | ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well. The spec just says it's "Full path to the location of this package". Also, added error handling in loadDictionary(). Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
* Load main dic in nativeKen Wakasa2011-01-077-68/+172
| | | | | | | 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
* Consolidate main dictionary files.Ken Wakasa2011-01-051-5/+12
| | | | | | | | | This change is a preparation for upcoming optimizations on dictionary file loading. * We can consolidate dictionary files because we are no longer relying on Asset Manager. * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file. * Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor. Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
* Manual merge from gingerbread-plus-aospJean-Baptiste Queru2010-12-291-0/+2
|\ | | | | | | Change-Id: If048354f9b80bcaa1e97df5c31c3df80231eb612
| * Don't use stale NDK libraries for IABruce Beare2010-12-271-0/+2
| | | | | | | | | | | | | | | | IA builds will break (due to the bionic _dso_handle bug) if stale libraries are used. For now, just guard the defns against IA builds. Change-Id: Ic9df6e0de78a0e221b95370ba6f01ce07714edde Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
* | 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
* | Merge "Breakdown getWordRec"satok2010-12-032-63/+72
|\ \
| * | Breakdown getWordRecsatok2010-12-032-63/+72
| | | | | | | | | | | | Change-Id: I8556efb1dd053eff9a9681971cbe1014abf0333f
* | | Just code cleanup.Ken Wakasa2010-12-031-46/+30
|/ / | | | | | | Change-Id: I796b47aa168b3b2cc29de65fc7dc5dab5a7f4b17
* | 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-028-668/+840
| | | | | | | | | | | | - 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-012-4/+21
|/ | | | Change-Id: Ieff2b8e60c5e7dedb7f86e17f7c37b349a912ab4
* Revert https://android-git.corp.google.com/g/#change,63791 as library ↵Ken Wakasa2010-09-031-2/+2
| | | | | | | | loading issue seems to have been fixed now. bug: 2963855 Change-Id: Iafdfda801083f85126c443508755e3cc711fbf52
* Fix UnsatisfiedLinkError for Latin IME. Don't use old NDK version in a ↵Amith Yamasani2010-08-311-2/+2
| | | | | | | | platform build. Also added a clean step, since it's only a Makefile change. Change-Id: Ide1684a5f34e99496e969edb8443dc4545b57306
* DO NOT MERGE. Backport LatinIME from master to Gingerbreadsatok2010-08-206-101/+1289
| | | | | | TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
* For issue #2651381, allow library prelinking.Dan Bornstein2010-05-051-2/+0
| | | | Change-Id: If7015f2fa5932f69807797ffcc496550d5cb1630
* Don't let the native code target be included twice when unbundling.Amith Yamasani2010-03-095-0/+822
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986