aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Purge UnigramDictionarySatoshi Kataoka2013-06-034-1119/+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-039-8/+8
| | | | | Bug: 8550444 Change-Id: Ia83796d696e04f51adb39867dfd21d1ac993b63c
* Fix buildSatoshi Kataoka2013-06-031-1/+1
| | | | Change-Id: I2a876df097d59324aeb58eb83698ec622ac6191b
* Move obsolete files to obsolete dirSatoshi Kataoka2013-06-035-5/+6
| | | | | Bug: 8550444 Change-Id: Ie65eea25da4c41e1128d1d8d8643fb6afe8f41e4
* Purge DicTraverseWrapperSatoshi Kataoka2013-06-039-148/+37
| | | | | | bug: 8550444 Change-Id: Iad017e66ac579c6727b9f60ad9cda64e478200e5
* Move bigram_dictionarySatoshi Kataoka2013-06-034-2/+2
| | | | Change-Id: I2c243ac75bc02b912f6b0fabedd372148adf8076
* Create "src/utils" directoryKen Wakasa2013-06-0322-26/+25
| | | | Change-Id: I0b7c51d181edc4786e343f7a953367b040ee6b66
* Move suggest_options.h to suggest/coreKen Wakasa2013-06-033-3/+3
| | | | Change-Id: Ie95872a4c90ee3089183c1ebafb67243bd2688a4
* Merge "Use BinaryDictonaryInfo instead of raw pointers."Keisuke Kuroyanagi2013-06-0322-139/+571
|\
| * Use BinaryDictonaryInfo instead of raw pointers.Keisuke Kuroyanagi2013-06-0222-139/+571
| | | | | | | | | | | | 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-3121-149/+158
| | | | 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-3129-53/+60
| | | | Change-Id: I6fe71a540ad91ca46755be234abc8894242e2413
* Move additional_proximity_chars to the layout directoryKen Wakasa2013-05-305-4/+4
| | | | Change-Id: Ie892ea9f3199a66e9d62a92a0e1ab2dff62826c3
* Create a new directory for layout-related implementationsKen Wakasa2013-05-3023-122/+143
| | | | Change-Id: Ia227bb296f20dab0dfc03dfcde3a06c624eca76c
* Make DicTraverseSession having suggest options.Keisuke Kuroyanagi2013-05-299-30/+50
| | | | 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-242-8/+79
| | | | | Change-Id: I6da180cfa1b9e5aa39600e78e3bc41209a40f583 Signed-off-by: Keisuke Kuroyanagi <ksk@google.com>
* Be careful about the dictionary size in detection methodsJean Chalard2013-05-084-23/+42
| | | | | 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
* Use additional multi-word cost per language (for Russian)Satoshi Kataoka2013-04-1611-65/+69
| | | | | Bug: 7540133 Change-Id: I7eb7b8399746c15452ed2ed5069955e88fb546d3
* Enable touch coordinate correction for new algorithmSatoshi Kataoka2013-04-158-48/+94
| | | | | | Bug: 8505668 Change-Id: I07eb785c74c446777524104a3d2b61f0f591a498
* fix assertionSatoshi Kataoka2013-04-151-1/+1
| | | | Change-Id: I34ff470122aa0f34c66425d2eeae7590187d3074
* am 47bb8d7d: am 4fffa27d: Fix a native crash in AOSP LatinIMEKen Wakasa2013-04-111-2/+3
|\ | | | | | | | | * commit '47bb8d7d9cd2dcc8e80f90283e4d9b7d4f68e70b': Fix a native crash in AOSP LatinIME
| * Fix a native crash in AOSP LatinIMEKen Wakasa2013-04-121-2/+3
| | | | | | | | | | | | bug: 8597610 Change-Id: I585c629636a52a1ac45b8cc686bc94427bb601df
* | add a debug flag to evaluate the most probable stringSatoshi Kataoka2013-04-112-0/+6
| | | | | | | | Change-Id: I34dc08c14feb9cbc0304c1d0ff06922e3b65819d
* | Add ability to handle digraphs in gesture and tap typingTom Ouyang2013-04-102-4/+25
| | | | | | | | | | | | | | | | Example: Gesture the German word "ueber" and the system will now replace the transliteration "ue" with the correct u-umlaut. Bug: 8493920 Change-Id: I03e1d6311b4187b6c7f802d8fef43a50eee12721
* | Add mechanism to handle digraphs in DicNodeTom Ouyang2013-04-104-21/+114
| | | | | | | | | | | | | | | | This is needed to support for German umlaut handling for both gesture and typing input. Bug: 8493920 Change-Id: I292e2a4911c54aa5566c38411016a220bb35a1f4
* | Typing double letters via a 'circle' on the key.Keisuke Kuroynagi2013-04-103-14/+23
| | | | | | | | | | Bug: 8550980 Change-Id: I5e432dea0e025ccea196f80e90a6bf945488e130