aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Rename BinaryDictionaryBigramsReadingUtils to ↵Keisuke Kuroynagi2013-06-243-57/+56
| |/ |/| | | | | | | | | | | BinaryDictionaryTerminalAttributesReadingUtils and remanme the class methods Bug: 6669677 Change-Id: I960dcf51a950ead2c3d7b9dedcde0a450569cbe9
* | Merge "Give the best score to the most probable exact match."Keisuke Kuroynagi2013-06-243-1/+27
|\ \ | |/ |/|
| * Give the best score to the most probable exact match.Keisuke Kuroynagi2013-06-213-1/+27
| | | | | | | | | | Bug: 9490364 Change-Id: If7fe5da190516d4b5f7a41b752ef5960205a5899
* | Merge "Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic ↵Keisuke Kuroynagi2013-06-211-0/+11
|\ \ | | | | | | | | | dictionaries."
| * | Add ByteArrayUtils::readSignedInt24andAdvancePosition to read dynamic ↵Keisuke Kuroynagi2013-06-211-0/+11
| | | | | | | | | | | | | | | | | | | | | dictionaries. Bug: 6669677 Change-Id: I75eeedbb50868432f6a7ff5fa63624d03e788356
* | | Change method name of getDepth and getTotalLength.Keisuke Kuroynagi2013-06-203-24/+24
|/ / | | | | | | Change-Id: I4b3aa54e17d7de7c31f956dc9d59941d79856fd7
* / Initialize inputStatusG at the constructor.Keisuke Kuroynagi2013-06-191-0/+5
|/ | | | | | Bug: 9490519 Change-Id: I1806f765f7a0b5335df253b2618b40cfd17aab14
* Check compound distance of node and prune useless node after creating new word.Keisuke Kuroynagi2013-06-181-1/+7
| | | | | | | | | | | Before: 136309.89 ms After: 73133.95 ms Bug: 8591918 Change-Id: If029b768e2b459c0e566188bcf425f71b2df866d
* Support multi words input for gesture.Keisuke Kuroynagi2013-06-174-10/+17
| | | | | | Bug: 8591918 Change-Id: I344f936907a385cc6c3c8a2215a6603938483401
* Support keys that have uncommon width.Keisuke Kuroynagi2013-06-145-65/+86
| | | | | | Bug: 8591918 Change-Id: I1e01e1560200333f9e35993af0aa7e5a17e6944f
* Use bloom filter in multi bigram map.Keisuke Kuroynagi2013-06-145-46/+119
| | | | | | | | | | | | | Evaluated with previous word "this". without bloom filter (use only hash_map): Total 147792.34 (sum of others 147771.57) with bloom filter: Total 145900.64 (sum of others 145874.30) always read binary dictionary: Total 148603.14 (sum of others 148579.90) Bug: 8592527 Change-Id: I821dc39454543826adb73b9eeeef6408fad8ae28
* Introduce BinaryDictionaryBigramsIterator to access bigrams attributes in ↵Keisuke Kuroynagi2013-06-149-101/+298
| | | | | | | | binary dictionaries. Bug: 6669677 Change-Id: Ifb1adebc5305a930c80396f6b4ec31d84400a9dc
* 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