aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* remove unnecessary condition check.Yusuke Nojima2011-08-261-2/+1
| | | | Change-Id: I6e5e3dee0ca3aae0088dcb309da8be16d3842d47
* Combine proximity and correctionssatok2011-08-241-30/+36
| | | | | | bug: 4170136 Change-Id: I0a6d54c769b05f7a67f2f472d48a3e54fe3af475
* Combine the skipped and transposed correctionsatok2011-08-235-84/+162
| | | | | | bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5
* Fix last excessive char correction handlingsatok2011-08-191-1/+6
| | | | Change-Id: Id1d46cd96e041fbbbee995093ef8ca56daa3b383
* Refactor correction.cppsatok2011-08-191-89/+89
| | | | Change-Id: I1275496e3e7d7124494994d3c52730ec8afdfad3
* Do the transposed correction and the excessive correction by one loopsatok2011-08-194-64/+165
| | | | Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199
* Improve fat finger correction.satok2011-08-173-103/+101
| | | | Change-Id: I37ed0dc6956f7e6fab5dcfd0483ab5691cd819d4
* Combilne normal correction and skip correctionsatok2011-08-157-15/+157
| | | | Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806
* Removed matchedChar countsatok2011-08-113-49/+28
| | | | Change-Id: I69e92026f802635f900b1e72d089afe4bda5fb0b
* Calculate the skip correction by one loopsatok2011-08-114-14/+18
| | | | Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24
* Improve skip correction algorithmsatok2011-08-115-58/+95
| | | | Change-Id: Ife45e3886137d60a4e903d4c6f7a9ef20c7e705a
* Add correction state.satok2011-08-105-47/+119
| | | | Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754
* Refactor CorrectionState to Correctionsatok2011-08-106-93/+93
| | | | Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b
* Refactor the correction algorithm related to missing character correctionsatok2011-08-094-30/+61
| | | | Change-Id: If68f2aaea7df48d013aea5401cee4ec0df32111a
* Move scoring part to the correction statesatok2011-08-054-182/+245
| | | | Change-Id: I2dc4a0869636fce5526f48b3a6267b6bdf61dbfb
* Change the prune conditionsatok2011-08-041-1/+2
| | | | Change-Id: I92aef12e0e1d89cfe1b346ddc6ef4df158ffe0b3
* Move the input index and output index to correction statesatok2011-08-044-83/+102
| | | | Change-Id: Idebdb59143f3367929df6a0475cefe941eb16d01
* Move code related to ranking algorithm to correction_state.cppsatok2011-08-035-79/+93
| | | | Change-Id: I52b34de45969fef82e46d9c10079c2d45e0b94eb
* Add bigram lookup implementation.Jean Chalard2011-08-024-163/+196
| | | | | Bug: 5046459 Change-Id: Id2c7686c5da078751ed587e559417e808779aa7a
* Move code related to ranking algorithm to the correction statesatok2011-08-024-194/+298
| | | | Change-Id: I2d9e2db81cf6597ca4e88d7bc6737ab3b52b34b2
* Remove old dictionary format codesatok2011-08-013-265/+0
| | | | Change-Id: Ic4b9e069c9bd5c088769519f44d0a9ea45acb833
* Add correction statesatok2011-08-017-97/+166
| | | | Change-Id: I0d281cede1590893bd1def005cf83c9431d12750
* Small native refactoring.Jean Chalard2011-07-263-82/+74
| | | | | | | | | | | | 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
* Some refactoringJean Chalard2011-07-261-5/+6
| | | | | | | | | | Getting the frequency of a terminal is not very useful, however getting its position will be very useful for retrieving bigrams later. Moreover, from the position it's easy to find out the frequency. Bug: 5046459 Change-Id: Ica53472c2038c7e407dbd1399d336511c731087f
* Some native cleanupJean Chalard2011-07-222-17/+18
| | | | | | | | 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
* Check the binary dictionary magic numberJean Chalard2011-07-202-6/+40
| | | | | | | ...and return NULL if it does not matched an expected value. Bug: 5052486 Change-Id: I1dc7955d2785ee080bc5c22398be9befe332f096
* (Step2)Move functions related to proximity to proximity_info.cppsatok2011-07-146-119/+150
| | | | Change-Id: Iae0eb2a5cd758bda820fa42b4bc3eb3d2665bf96
* Merge "(Step 1) Move proximity related parameters from unigram_dictionary to ↵satok2011-07-134-31/+51
|\ | | | | | | proximity_info"
| * (Step 1) Move proximity related parameters from unigram_dictionary to ↵satok2011-07-144-31/+51
| | | | | | | | | | | | proximity_info Change-Id: Ic630b35f4abffeb84c38bcf5935795b7ff07556a
* | Merge "Activate the implementation for the new dictionary format."Jean Chalard2011-07-131-0/+3
|\ \
| * | Activate the implementation for the new dictionary format.Jean Chalard2011-07-141-0/+3
| |/ | | | | | | | | Bug: 4392433 Change-Id: I20b05d012b1fb193002312792d0309d36c89d16a
* | Separate logging definitions in Csatok2011-07-141-4/+8
| | | | | | | | Change-Id: I1d79814d1fd74e92a280f355c535517618c51752
* | Fix build for profilingsatok2011-07-144-5/+13
|/ | | | Change-Id: I39cd0fa37fb738dcbbcf82839b6bb030e3af606b
* Merge "Add a flag for a profiling"satok2011-07-122-23/+33
|\
| * Add a flag for a profilingsatok2011-07-132-23/+33
| | | | | | | | Change-Id: Iae509a24fd0f0f416376c3f8051aa2eb92d48659
* | Merge "New dict format, step 7"Jean Chalard2011-07-124-68/+672
|\ \ | |/ |/|
| * New dict format, step 7Jean Chalard2011-07-134-68/+672
| | | | | | | | | | | | | | | | This actually implements the new dictionary format, but does not activate the implementation through #defines. Bug: 4392433 Change-Id: I9b26b9bcb4b823a36e0984799b69730acfc6f7f3
* | Compile code used in logging conditionally so that gcc does not complainDoug Kwan2011-07-082-0/+10
|/ | | | | | about unused-but-set variables. Change-Id: I141f438694a1854d54d08cb5a74c23222dd9d85e
* Move a function to make next commit more readableJean Chalard2011-06-301-2/+2
| | | | Change-Id: Ieaa935ff4d68ce88137dcc5c672a4149a4c9c64f
* Move a function out of a #endif to reduce a future commitJean Chalard2011-06-301-83/+41
| | | | Change-Id: Ic8f3160a96b6d79ba19ff9c8eda1692e94a38e98
* Rename parameters for future changeJean Chalard2011-06-302-12/+22
| | | | Change-Id: Id15a17340fb26f91c72687f30bef24b2d8b94940
* Internal cleanupJean Chalard2011-06-302-5/+5
| | | | | | Moving functions around, renaming parameters Change-Id: I3ab480f483d7d9700b9328cb07b16b51005098e5
* Cleanup.Jean Chalard2011-06-302-14/+13
| | | | | | Function renaming, moving around for future patch readability Change-Id: Id33b961cf2e899b5a3c9189951d2199aba801666
* Internal cleanup.Jean Chalard2011-06-302-20/+15
| | | | | | Function renaming, useless function supressing, fix comments Change-Id: I148acbaf367cd556a85b89016676b46cc971af81
* Internal cleanup.Jean Chalard2011-06-301-4/+0
| | | | | | Removed unused function prototypes. Change-Id: Ia56ea8e285deed17ce8377df855b045b7850d58d
* New dict format, step 6Jean Chalard2011-06-211-0/+130
| | | | | | | Copy the modified functions to be able to see the diff Bug: 4392433 Change-Id: Ic9b83b4b4b7b89cc922eed1825507d7d516aff24
* New dict format, step 5Jean Chalard2011-06-211-164/+172
| | | | | | | | | Move functions that will be modified and enclose those that will be replaced into #ifdefs. This change does not modify any code, only move some code around. Bug: 4392433 Change-Id: Ibefbda1eb8bdc8a0c72de47ad9c67a08d0aca960
* Clean up in LatinIME native codeKen Wakasa2011-06-1814-83/+75
| | | | Change-Id: I0062200a0181a491690115ac0fab8d11358e2f14
* Merge "New dict format, step 4"Jean Chalard2011-06-172-38/+49
|\
| * New dict format, step 4Jean Chalard2011-06-172-38/+49
| | | | | | | | | | | | | | | | | | 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