aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/unigram_dictionary.cpp (follow)
Commit message (Expand)AuthorAgeFilesLines
* Demote words with a capitalized char•••Bug: 5371514 +1 4 -1 2 +2 0 -2 0 +3 0 -3 0 +4 1 -4 3 +5 0 -5 12 +6 3 -6 3 +7 12 -7 0 Change-Id: I6b46e43f9059f1e8a1cc02a626ea6eb8f1f9924f satok2011-10-031-1/+1
* Merge "Classify touches into three types."Yusuke Nojima2011-09-301-3/+3
|\
| * Classify touches into three types.•••Change-Id: I7c1d42835e0c15d596a1b66d421b0aa514ec0890 Yusuke Nojima2011-09-301-3/+3
* | Add a flag to demote completed suggestions•••Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3 satok2011-09-291-12/+18
|/
* Delete unused function and add TODO comment for a potential bug.•••Change-Id: I7b16de1bd6b278c51d56eb1904e186c3db3b7f3d Yusuke Nojima2011-09-141-14/+0
* Combine the skipped and transposed correction•••bug: 4170136 Change-Id: I7b50b40478abf27f51ec5e001815ff4882f3e5e5 satok2011-08-231-25/+10
* Do the transposed correction and the excessive correction by one loop•••Change-Id: Idc7a3451a65f7b980e5c499e9083f67646b3a199 satok2011-08-191-16/+9
* Combilne normal correction and skip correction•••Change-Id: Ide868d977c0f35900340c7be1b71d572c69a8806 satok2011-08-151-1/+2
* Calculate the skip correction by one loop•••Change-Id: Ie70829407cd58be2ffe75c7d649d86f62ee4df24 satok2011-08-111-8/+2
* Add correction state.•••Change-Id: I0a1419922e1ce7a15b566d1b6da3794f8e84c754 satok2011-08-101-25/+9
* Refactor CorrectionState to Correction•••Change-Id: I5f1ce35413731f930b43b1c82014e65d9eaa240b satok2011-08-101-29/+29
* Move scoring part to the correction state•••Change-Id: I2dc4a0869636fce5526f48b3a6267b6bdf61dbfb satok2011-08-051-151/+70
* Change the prune condition•••Change-Id: I92aef12e0e1d89cfe1b346ddc6ef4df158ffe0b3 satok2011-08-041-1/+2
* Move the input index and output index to correction state•••Change-Id: Idebdb59143f3367929df6a0475cefe941eb16d01 satok2011-08-041-57/+52
* Move code related to ranking algorithm to correction_state.cpp•••Change-Id: I52b34de45969fef82e46d9c10079c2d45e0b94eb satok2011-08-031-54/+43
* Move code related to ranking algorithm to the correction state•••Change-Id: I2d9e2db81cf6597ca4e88d7bc6737ab3b52b34b2 satok2011-08-021-180/+55
* Remove old dictionary format code•••Change-Id: Ic4b9e069c9bd5c088769519f44d0a9ea45acb833 satok2011-08-011-249/+0
* Add correction state•••Change-Id: I0d281cede1590893bd1def005cf83c9431d12750 satok2011-08-011-71/+40
* 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-79/+1
* Some refactoring•••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 Jean Chalard2011-07-261-5/+6
* 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-16/+18
* (Step2)Move functions related to proximity to proximity_info.cpp•••Change-Id: Iae0eb2a5cd758bda820fa42b4bc3eb3d2665bf96 satok2011-07-141-104/+28
* Merge "(Step 1) Move proximity related parameters from unigram_dictionary to ...satok2011-07-131-23/+13
|\
| * (Step 1) Move proximity related parameters from unigram_dictionary to proximi...•••Change-Id: Ic630b35f4abffeb84c38bcf5935795b7ff07556a satok2011-07-141-23/+13
* | Fix build for profiling•••Change-Id: I39cd0fa37fb738dcbbcf82839b6bb030e3af606b satok2011-07-141-4/+4
|/
* Merge "New dict format, step 7"Jean Chalard2011-07-121-68/+413
|\
| * 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-68/+413
* | Compile code used in logging conditionally so that gcc does not complain•••about unused-but-set variables. Change-Id: I141f438694a1854d54d08cb5a74c23222dd9d85e Doug Kwan2011-07-081-0/+8
|/
* Move a function out of a #endif to reduce a future commit•••Change-Id: Ic8f3160a96b6d79ba19ff9c8eda1692e94a38e98 Jean Chalard2011-06-301-83/+41
* Rename parameters for future change•••Change-Id: Id15a17340fb26f91c72687f30bef24b2d8b94940 Jean Chalard2011-06-301-6/+16
* Internal cleanup•••Moving functions around, renaming parameters Change-Id: I3ab480f483d7d9700b9328cb07b16b51005098e5 Jean Chalard2011-06-301-2/+2
* Cleanup.•••Function renaming, moving around for future patch readability Change-Id: Id33b961cf2e899b5a3c9189951d2199aba801666 Jean Chalard2011-06-301-4/+4
* Internal cleanup.•••Function renaming, useless function supressing, fix comments Change-Id: I148acbaf367cd556a85b89016676b46cc971af81 Jean Chalard2011-06-301-18/+12
* New dict format, step 6•••Copy the modified functions to be able to see the diff Bug: 4392433 Change-Id: Ic9b83b4b4b7b89cc922eed1825507d7d516aff24 Jean Chalard2011-06-211-0/+130
* New dict format, step 5•••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 Jean Chalard2011-06-211-164/+172
* Merge "New dict format, step 4"Jean Chalard2011-06-171-29/+42
|\
| * 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-29/+42
* | New dict format, step 3 - followup•••Make the passing of an argument clearer Bug: 4392433 Change-Id: Id82662ff4dc25282f70a08bee77378fee2b4b590 Jean Chalard2011-06-171-2/+1
|/
* Fix a bug where bigram search would never return•••Bug: 4690487 Change-Id: Ie8f3f651508cc48bbb043a0b308f7e0d1524371c Jean Chalard2011-06-171-4/+5
* 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-10/+17
* New dict format, step 2•••Move some methods around and make static some methods Bug: 4392433 Change-Id: I2bbe98aec118a416d21d1e293638e1d324505b9b Jean Chalard2011-06-161-3/+45
* 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-13/+13
* Allow reading a binary dictionary even without proximity info.•••This prepares the way for spell checking, which is to be done without context so without proximity info. Bug: 4176026 Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4 Jean Chalard2011-06-021-1/+1
* Fix a bug on the calculation of the freq on the mistyped space error correction•••Bug: 4402942 Change-Id: I0b611e3d0e8c25ca528ef7408c3949200e5cad85 satok2011-05-181-7/+16
* Enable fast power•••Change-Id: I00a91381f63cde62d9e7cf7e17f75869294cf2df satok2011-04-271-1/+1
* Handle overflow properly in multiplyRate•••Bug: 3401513 Change-Id: I8dd2523caa58bb51c378a01e160a58f9106ce9b8 satok2011-04-261-17/+44
* Fix a bug that 2 length words were demoted.•••Change-Id: I4a3558d0f1f1b0a9d6a36c3f75db3089b0566d7f satok2011-04-201-2/+5
* Demote a word with mistyped space and missing space according to the length o...•••Change-Id: Ifa4338c5f43b37e6bcd0700767ef2178189de3af satok2011-04-191-5/+50
* Promote the correction of words with a missing space character•••Change-Id: I37ba618b54f7115163a3e9c6c555485e7024dc92 satok2011-04-181-1/+7
* Promote a word with a proximity character•••Bug: 4293295 Change-Id: Ib0ec8aff087c71c4fbe983f3f5bc78e9c7868fd8 satok2011-04-141-4/+4