aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused macros in defines.hKen Wakasa2013-06-111-13/+0
| | | | | bug: 8550444 Change-Id: I77ae6bd607032def05044e3045aa7cc3746b0a5b
* Remove unused methods.Keisuke Kuroynagi2013-06-1115-1656/+178
| | | | | | Bug: 8550444 Change-Id: Ie627084143846407ca36df82c2a7f904a0e6f49c
* Introduce BinaryDictionaryHeader to access binary dictionary header.Keisuke Kuroynagi2013-06-1116-231/+420
| | | | | | | | BinaryDictionaryHeader abstracts header structure and access header information via only its instance. Bug: 6669677 Change-Id: Ib5ab0e8fef12265ddabc1d0165548b69953bba6a
* Cleanups in JNI related codeKen Wakasa2013-06-041-5/+0
| | | | | | | | | | Removed the malloc version in binary dictionary support -- this has not really been tested well so far, and the mmap version has been working pretty well after all. Several cosmetic fixes etc. Change-Id: Iad0da58b300b769fb5946a3e73fc96f56215980e
* Clean up macro variablesKen Wakasa2013-06-044-34/+58
| | | | Change-Id: I0d9983c1a766b97182953328fa45f488e110bc01
* Remove a bunch macros that are no longer usedKen Wakasa2013-06-032-33/+2
| | | | | bug: 8550444 Change-Id: Ib775c0bed27c499dc131c54dfaff34c5a8169276
* Merge "Purge WordsPriorityQueue"Satoshi Kataoka2013-06-033-347/+0
|\
| * Purge WordsPriorityQueueSatoshi Kataoka2013-06-033-347/+0
| | | | | | | | Change-Id: If14034c09d0dd335c84dd3a6ea2775655eefd38f
* | Follow up to I907150be994c4f9ffc030c063de521eeb177d3e1Ken Wakasa2013-06-032-2/+7
|/ | | | Change-Id: I8779d397b0ebe2abbf7c3fbc1a79a1a0939c04f0
* Fix buildSatoshi Kataoka2013-06-031-0/+1
| | | | Change-Id: I907150be994c4f9ffc030c063de521eeb177d3e1
* Purge UnigramDictionarySatoshi Kataoka2013-06-033-1118/+0
| | | | | Bug: 8550444 Change-Id: I899f3bdce977c521515e548ca0c4ee6d29d6450b
* Migrate used functions in UnigramDicitonarySatoshi Kataoka2013-06-032-28/+34
| | | | | Bug: 8550444 Change-Id: Ic1ed2d85537cd47cf18a8373203f331abb7508f6
* Move obsolete files to obsolete dir 2Satoshi Kataoka2013-06-037-5/+5
| | | | | Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
* Move obsolete files to obsolete dirSatoshi Kataoka2013-06-034-4/+4
| | | | | Bug: 8550444 Change-Id: Ie65eea25da4c41e1128d1d8d8643fb6afe8f41e4
* Purge DicTraverseWrapperSatoshi Kataoka2013-06-036-139/+27
| | | | | | bug: 8550444 Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
* Move bigram_dictionarySatoshi Kataoka2013-06-033-1/+1
| | | | Change-Id: I2c243ac75bc02b912f6b0fabedd372148adf8076
* Create "src/utils" directoryKen Wakasa2013-06-0321-24/+23
| | | | Change-Id: I0b7c51d181edc4786e343f7a953367b040ee6b66
* Move suggest_options.h to suggest/coreKen Wakasa2013-06-032-2/+2
| | | | Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4
* Merge "Use BinaryDictonaryInfo instead of raw pointers."Keisuke Kuroyanagi2013-06-0320-135/+564
|\
| * Use BinaryDictonaryInfo instead of raw pointers.Keisuke Kuroyanagi2013-06-0220-135/+564
| | | | | | | | | | | | Bug: 6669677 Change-Id: I9792a872f1609de7c1ba0fc08d916047d6724c0b
* | Move dictionary format independent probability calculation methods to ↵Keisuke Kuroyanagi2013-06-015-50/+93
|/ | | | | | | ProbabilityUtils. Bug: 6669677 Change-Id: Idc09a2fbb04e4d843e11313011178022177616aa
* Move char_utils to the dictionary directoryKen Wakasa2013-05-3120-148/+157
| | | | Change-Id: Id397485407fe63600c9bb5c80d223042942b4d8a
* Move "#define LOG_TAG" before include defines.h.Keisuke Kuroyanagi2013-05-302-4/+4
| | | | Change-Id: Iacd2c2ea3878ad2cde5df36b15e1359d10244f60
* Move some dictionary related implementations to the dictionary directoryKen Wakasa2013-05-3127-49/+54
| | | | Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
* Move additional_proximity_chars to the layout directoryKen Wakasa2013-05-304-3/+3
| | | | Change-Id: Ie892ea9f3199a66e9d62a92a0e1ab2dff62826c3
* Create a new directory for layout-related implementationsKen Wakasa2013-05-3021-117/+136
| | | | Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
* Make DicTraverseSession having suggest options.Keisuke Kuroyanagi2013-05-297-23/+42
| | | | Change-Id: I2b802c06634e5226c763fd838f3fc0918fc4a161
* Specify OOV for the OOV word correctionSatoshi Kataoka2013-05-271-0/+4
| | | | | Bug: 9127749 Change-Id: I9ff0590428888afe57a009a1cbf8f008011b1544
* Passing options to native suggestion method.Keisuke Kuroyanagi2013-05-241-0/+65
| | | | | Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
* Be careful about the dictionary size in detection methodsJean Chalard2013-05-083-22/+40
| | | | | Bug: 8857618 Change-Id: I29345ec96d53da601571ba73197a6485643a10a7
* Checking key edit distance of candidate words for gesture scoring.Keisuke Kuroynagi2013-05-074-42/+197
| | | | | bug: 8616704 Change-Id: I98c3248877b1e3e722a6c00a2851e543e5fcbe11
* Fix exact match profanitySatoshi Kataoka2013-05-071-2/+7
| | | | | | | | | | Bug: 8661070 This is a revival version of I421bed14cc71af771510142365 No diff in the test Change-Id: I96bc9cec531682cce78bcf83223dcd2395b2be77
* Revert "Fix exact match profanity"Ken Wakasa2013-05-021-2/+2
| | | | | | This reverts commit df2eae6e69948e99618a28d087b847c70582efd8 Change-Id: I42635cc09ad3ea4c177d02e0b7607fb7aa78506c
* Fix exact match profanitySatoshi Kataoka2013-05-011-2/+2
| | | | | Bug: 8661070 Change-Id: I421bed14cc71af7715101423652d706e33958445
* Reduce MAX_NORM_DISTANCE_FOR_EDIT in typing model after recent logic ↵Tom Ouyang2013-04-293-3/+3
| | | | | | | | | | improvements After recent logic improvements we can now safely reduce MAX_NORM_DISTANCE_FOR_EDIT. This leads to better regression test performance and faster runtime speed. Bug: 8633962 Change-Id: Ie0db73680b32687ff4d8ea5dfae47dee5c7c66a3
* Fix: Demote first char capitalized new words.Keisuke Kuroynagi2013-04-304-11/+16
| | | | | | Bug: 8680578 Change-Id: I84bcdf3a20428c7561f600332bfef4685c72b67f Signed-off-by: Keisuke Kuroynagi <ksk@google.com>
* Improve bigram frequency lookupTom Ouyang2013-04-2611-106/+217
| | | | | | Bug: 8592527 Change-Id: I1908bcb552279b9acb140fe4d8d26b10ed9eda72
* A small follow-up to I8d03bae3264974eff7b790e27c073b0a8758d17aKen Wakasa2013-04-271-1/+1
| | | | Change-Id: Id3727f075e74c0102edcb51eabcfdbef745b94b7
* Just cosmetic cleanupsKen Wakasa2013-04-268-38/+31
| | | | Change-Id: I3dc8a4bb3f89f4a18cfffd5f13a71503738452e6
* Always consider corrections of intentional omissions (e.g., apostrophe)Tom Ouyang2013-04-253-4/+12
| | | | | | | Example: "thts" -> "that's" Bug: 8721815 Change-Id: I8c1efbf651d2569ba3600516cc7447d46bf30fa4
* [ZF1] Check profanity in Java rather than in nativeJean Chalard2013-04-252-8/+15
| | | | | Bug: 7226877 Change-Id: Ib6c32bfee9977c27dbf7e1e590b2b00d9ceb7301
* Fix exact match checking for words with digraph.Keisuke Kuroynagi2013-04-259-102/+115
| | | | | Bug: 8624690 Change-Id: I8946d6618609c8e0cb638aa96992b51b435232c7
* Fix proximity/edit correction detection that affects the terminal cost.Keisuke Kuroynagi2013-04-243-18/+25
| | | | | Bug: 8624690 Change-Id: If59305674a781e0fcc284d236e3d8ba9cdf9ed08
* Merge "Check bigrams for lowercased previous word if original is not found"Tom Ouyang2013-04-243-11/+9
|\
| * Check bigrams for lowercased previous word if original is not foundTom Ouyang2013-04-223-11/+9
| | | | | | | | | | Bug: 8592527 Change-Id: I70c4b81263d8b2cb7050364c124589f66900cfce
* | Fix autocompletion lookahead handlingTom Ouyang2013-04-222-3/+3
|/ | | | | Bug: 8689370 Change-Id: I056b1788764bd5c4d8ad9da86e790562d2781f06
* Fix a small bugJean Chalard2013-04-224-3/+12
| | | | | | | Tests results in Ibcd6c110f1d5582425f9592c42e31152131ef80c Bug: 7226877 Change-Id: I8d03bae3264974eff7b790e27c073b0a8758d17a
* Remove duplicate new-word bigram cost (part 1)Tom Ouyang2013-04-174-31/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removes a duplicate application of the new word bigram cost and updates only the related parameters (those associated with multi-word suggestions). Note: test results will improve after full optimization. [Category diff] +1 357 -1 485 +2 16 -2 20 +3 20 -3 16 +4 198 -4 226 +5 510 -5 443 +6 518 -6 368 +7 394 -7 455 [Weighted category diff] +1 482 -1 532 +2 22 -2 22 +3 22 -3 22 +4 233 -4 381 +5 578 -5 500 +6 617 -6 498 +7 522 -7 521 Bug: 8633962 Change-Id: I3c3ecc9460e8e03e44925e11b2d4b037a6c3b99e
* Make digraph lookups case insensitiveTom Ouyang2013-04-161-1/+3
| | | | | | | | Example: Be able to gesture dictionary words that start with an upper-case German umlaut (e.g., Übermensch). Bug: 8493920 Change-Id: I3253bcd236d34c0af60116e5b41e359f2715bf97
* Update SORTED_CHAR_MAPKen Wakasa2013-04-162-10/+183
| | | | | | | bug: 7873416 bug: 8493920 Change-Id: Ifddb04cad90da71df5d34dd7076850dbcf51fba4