aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Header cleanupKen Wakasa2012-08-011-1/+2
| | | | Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
* Move flags belonging to BinaryFormat to the right place.Jean Chalard2012-08-015-81/+80
| | | | | | | | | | These masks and flags are constants that are an integral part of the format. They belong in BinaryFormat and have nothing to do in UnigramDictionary. This needs I6751dda4 to not break the build Bug: 6429243 Change-Id: Ic1c842b3245f7fdc25aa8d1459c5bb07b262e265
* Cleanup headersKen Wakasa2012-07-3113-26/+21
| | | | Change-Id: I9124366b2000cad54966fb6936bb4691bbf115a3
* Misc cleanupsKen Wakasa2012-07-305-10/+5
| | | | Change-Id: I28308f12c3064299acefc346b72279036c3726a7
* Fix native debug logKen Wakasa2012-07-271-8/+6
| | | | Change-Id: If19f808522a5a35fa06c2825fcd0d92e6e4a0631
* Cosmetic fixes and style fixesKen Wakasa2012-07-2525-262/+235
| | | | Change-Id: I69c42ff945cdf0d5205c6ca61d6861a0479492dc
* Add wrapper for incremental decoder.Tom Ouyang2012-07-192-0/+114
| | | | Change-Id: Ie11e2b83c2602c0d5a2739a7d4f4994f80d7e298
* Add values for suggestion types (A120)Jean Chalard2012-07-123-4/+16
| | | | | | Also, use it in getBigrams. Change-Id: Ia0be9b57d1b7effcd8a936e01e957d1195b39c68
* Pass an array to output suggestion types (A119a)Jean Chalard2012-07-127-14/+15
| | | | | | | | This needs the matching A119b change to not break the build. The array is passed, but not used yet. Bug: 6166228 Change-Id: Ia91d658461d989ee8c94e9b31bb06f4a36f4c5b6
* Resolve a TODO: bury some implementation detail in native (A110)Jean Chalard2012-07-121-0/+1
| | | | | | | The fact that prediction does not accept a null argument is an implementation detail, it should not be visible to Java code. Change-Id: I3a156b323b6db9353de898d33f3f7c81751cecb1
* Remove a useless parameter (A106)Jean Chalard2012-07-123-6/+4
| | | | Change-Id: Ic0ecea22212fd1a098a3a168da460374e446f4a3
* Remove a constant parameter (A105)Jean Chalard2012-07-122-8/+8
| | | | Change-Id: I8a09fa2f0649880c943364699a07652e47dede22
* Make a constant really constant (A104)Jean Chalard2012-07-124-6/+7
| | | | Change-Id: Ied1f9f96a574b1e6a8ee0a71bfb1604d9c962e1c
* Search bigrams for the lower case version of the word (A46)Jean Chalard2012-07-045-13/+34
| | | | | | | ...if there aren't any for the exact case version. Bug: 6752830 Change-Id: I2737148b01ba04a64febe009ceb2ef53c265d224
* Cleanup gesture code overlaySatoshi Kataoka2012-07-0414-326/+98
| | | | Change-Id: I6ab1462f62b2d53a157494d27342a832ec1f15f7
* Makefile and source code structure update for LatinIME AOSP buildKen Wakasa2012-07-0214-107/+105
| | | | Change-Id: Ia2ab54651ef96521fce01fe4755147909b818803
* Merge "Add a new define for gesture"Satoshi Kataoka2012-06-281-0/+2
|\
| * Add a new define for gestureSatoshi Kataoka2012-06-281-0/+2
| | | | | | | | Change-Id: I6e0d8de75e129a6d1a33f7c7d5f5fa8c11dd2006
* | Merge "Cleanup the dictionary type."Jean Chalard2012-06-273-4/+4
|\ \
| * | Cleanup the dictionary type.Jean Chalard2012-06-273-4/+4
| |/ | | | | | | | | | | | | Stop storing an int in each of the different class types, and just store a string in the top class. Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
* / Add skeleton implementations for gestureSatoshi Kataoka2012-06-277-0/+167
|/ | | | Change-Id: I169034eba2001b98bad8f8a05372426c3ff8774e
* Change native functions' interface for gestureSatoshi Kataoka2012-06-276-3/+32
| | | | Change-Id: I106a858f0be7452dd89f425805a6f72aa88c3f65
* Add skeleton classes for gestureSatoshi Kataoka2012-06-268-7/+236
| | | | Change-Id: I6ada110a934b0dafc57d0dcd87723275fa733548
* Change JNI for GestureSatoshi Kataoka2012-06-251-5/+9
| | | | Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
* Make native bigram dictionary constsatok2012-06-146-75/+62
| | | | Change-Id: Id883f2d69483c9234877ad42446a582258e1cf91
* Move correction state to stack memorysatok2012-06-1415-26/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | *Before (0) 13.18 (0.01%) (1) 93025.41 (62.06%) (2) 10.75 (0.01%) (3) 10.50 (0.01%) (4) 117.50 (0.08%) (5) 55678.98 (37.14%) (6) 9.09 (0.01%) (20) 883.84 (0.59%) Total 149898.24 (sum of others 149749.25) *After (0) 17.41 (0.01%) (1) 92673.41 (61.95%) (2) 10.62 (0.01%) (3) 10.37 (0.01%) (4) 120.96 (0.08%) (5) 55741.18 (37.26%) (6) 11.01 (0.01%) (20) 862.72 (0.58%) Total 149595.52 (sum of others 149447.68) Change-Id: Ia5a25a544fc388e4dab1e08d8f78d5117b249cf3
* Fix debug buildsatok2012-06-132-2/+2
| | | | Change-Id: I48a87967ac741455502ac1a18465ae6ed7ef0d12
* Refactor step3: const unigram_dictionarySatoshi Kataoka2012-06-082-47/+46
| | | | | | - make all functions in unigram_dictionary const Change-Id: I94a64865aa793435e6c81890e68d999f6374074e
* refactor native step 2Satoshi Kataoka2012-06-088-196/+175
| | | | | | - proximity_info is now stateless Change-Id: I62725bfe05b161fa8fc050ea6b50867e10a354e2
* Separate state from proximity_info step1Satoshi Kataoka2012-06-077-307/+471
| | | | | | Bug: 6548943 Change-Id: I7b4fbe20615a28151a74875be43b9f4a20e0dce9
* am fb3fdf15: Merge "Enhance the safety net in multiple word suggestions" ↵Satoshi Kataoka2012-05-312-5/+45
|\ | | | | | | | | | | | | into jb-dev * commit 'fb3fdf15040cb67c311047dea0144fa5aa071185': Enhance the safety net in multiple word suggestions
| * Enhance the safety net in multiple word suggestionsSatoshi Kataoka2012-05-312-5/+45
| | | | | | | | | | | | Bug: 6576793 Change-Id: I97100b482d3cf4e1b417c197b5d1e971a72b998d
* | am 6cbe204f: Fix the performance issue on suggesting ↵Satoshi Kataoka2012-05-305-15/+66
|\| | | | | | | | | | | | | aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa * commit '6cbe204fce109fab652da15f4c8ea1ae35fca3e7': Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
| * Fix the performance issue on suggesting aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaSatoshi Kataoka2012-05-305-15/+66
| | | | | | | | | | | | Bug: 6576793 Change-Id: I46f56654cd25dc28668ad75ac71e0e3beb8cdcf3
* | am 62cd919d: Remove a compiler warning.Jean Chalard2012-05-291-1/+1
|\| | | | | | | | | * commit '62cd919dca9ef85cdd045b539b3ef85e921c6e4c': Remove a compiler warning.
| * Remove a compiler warning.Jean Chalard2012-05-301-1/+1
| | | | | | | | Change-Id: Id2c949d03a2e38787cbf3c8f99313bcfe8610a1f
* | am 51705efc: Merge "Add a JNI to get the frequency" into jb-devSatoshi Kataoka2012-05-294-6/+19
|\| | | | | | | | | * commit '51705efc96c1c555cf9e0f557ea8cdc1c1c97781': Add a JNI to get the frequency
| * Merge "Add a JNI to get the frequency" into jb-devSatoshi Kataoka2012-05-294-6/+19
| |\
| | * Add a JNI to get the frequencySatoshi Kataoka2012-05-294-6/+19
| | | | | | | | | | | | | | | Bug: 4192129 Change-Id: I3f220f5a10114d4eb23956148076cf76220bda0f
* | | am b074dfea: Merge "Add a comment on a caveat for future reference." into jb-devJean Chalard2012-05-291-0/+5
|\| | | | | | | | | | | | | | * commit 'b074dfead504fba4039e4eaaded07c10244ff292': Add a comment on a caveat for future reference.
| * | Add a comment on a caveat for future reference.Jean Chalard2012-05-291-0/+5
| | | | | | | | | | | | Change-Id: I328a0cd4346275aac960e1369bf370688a004e11
* | | am bfba64bc: Merge "Compute the correct frequency for bigram prediction" ↵Jean Chalard2012-05-292-4/+9
|\| | | | | | | | | | | | | | | | | | | | into jb-dev * commit 'bfba64bcfd70ce8e3932d52c4b9f3182d33e1f55': Compute the correct frequency for bigram prediction
| * | Compute the correct frequency for bigram predictionJean Chalard2012-05-292-4/+9
| | | | | | | | | | | | Change-Id: I3196f48a0ca2ed5e94f430254d58e65d341398c8
* | | am 8f9f55dd: Merge "Fix a bug where the bigram freq would be underevaluated" ↵Jean Chalard2012-05-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | into jb-dev * commit '8f9f55dd9d27f6c759c12416c872138b9b4661dc': Fix a bug where the bigram freq would be underevaluated
| * | Fix a bug where the bigram freq would be underevaluatedJean Chalard2012-05-291-1/+1
| | | | | | | | | | | | | | | | | | The difference in score is not large, but it's still a bug Change-Id: Ie22c2b6e1206e829c1c8af096469df05af14d47b
* | | am 22cf6958: Merge "Split a method to reconstruct freq from uni/bi freq" ↵Jean Chalard2012-05-291-7/+12
|\| | | | | | | | | | | | | | | | | | | | into jb-dev * commit '22cf695834009929a6c0fbcd75a9ff56efa04d83': Split a method to reconstruct freq from uni/bi freq
| * | Split a method to reconstruct freq from uni/bi freqJean Chalard2012-05-291-7/+12
| | | | | | | | | | | | | | | | | | This has no impact at all on the logic. Change-Id: I3788c8335cc193433ad9a7512b211a49bb2ffb02
* | | am bf61bba3: Merge "Fix two small possible bugs." into jb-devJean Chalard2012-05-292-2/+2
|\| | | | | | | | | | | | | | * commit 'bf61bba35feda09a2ad08475481ce042879ff5bb': Fix two small possible bugs.
| * | Fix two small possible bugs.Jean Chalard2012-05-292-2/+2
| |/ | | | | | | | | | | | | None of these had any real impact, but they were potential liabilities for the future Change-Id: I2de581f8b638e423d47a6d99b1a3c96af4c6150d
* | am a0ac31fc: Fix the issue on multiple words suggestionsatok2012-05-233-3/+9
|\| | | | | | | | | * commit 'a0ac31fcaa01c21592a6e7af243c14dada65cf3e': Fix the issue on multiple words suggestion