aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* | Merge "Add method to get dictionary flags from DicTraverseSession"Tom Ouyang2013-04-096-6/+17
|\ \ | |/ |/|
| * Add method to get dictionary flags from DicTraverseSessionTom Ouyang2013-04-086-6/+17
| | | | | | | | | | | | | | | | | | This is needed for the traversal algorithm to know which digraphs (if any) are associated with the current dictionary. Bug: 8493920 Change-Id: I6ae088b55e50c0c2c7066d045b304c5068e23390
* | Fix touch coordinate calibrationSatoshi Kataoka2013-04-0910-32/+51
|/ | | | | | | TRT: I3b5f3ed07eabc59306a17 Bug: 8505668 Change-Id: I574d25a4e9886c521f013f9a8ffc09cc145fc0fc
* Tiny clean up in MakefileKen Wakasa2013-04-081-5/+2
| | | | Change-Id: Iff6f363894f01a4c30c795fe88892c2bb8e0a856
* Cleanup the include pathsKen Wakasa2013-04-0820-61/+69
| | | | Change-Id: Ic93d39e230170cfc9f5be6d81d42006e1a61e347
* Suppress bigram native logSatoshi Kataoka2013-04-081-3/+3
| | | | Change-Id: I0b3900e0a205b6925ab9a2be55d375f6b14c803c
* Cleanup suggest interfaceSatoshi Kataoka2013-04-089-162/+71
| | | | Change-Id: Ibe334a1d3ab3af69acfa64412c80f0ea24cd2c46
* Merge "Add DigraphUtils class"Tom Ouyang2013-04-055-29/+153
|\
| * Add DigraphUtils classTom Ouyang2013-04-045-29/+153
| | | | | | | | | | | | | | | | Add a new DigraphUtils class to manage digraph handling for both gesture and typing input. Bug: 8493920 Change-Id: I3a509e1311b9039653f9f488d3c28bb54205f416
* | am d0c383e1: am 5a4949c2: Merge "Force inlining Correction::isSingleQuote" ↵Ben Cheng2013-04-042-2/+2
|\ \ | | | | | | | | | | | | | | | | | | into jb-mr2-dev * commit 'd0c383e1473c1b302038f4145ba5192fd9af9a5f': Force inlining Correction::isSingleQuote
| * \ Merge "Force inlining Correction::isSingleQuote" into jb-mr2-devBen Cheng2013-04-042-2/+2
| |\ \ | | |/ | |/|
| | * Force inlining Correction::isSingleQuoteBen Cheng2013-04-042-2/+2
| | | | | | | | | | | | | | | | | | | | | Also, only apply -Winline with GCC 4.6. There are some copy constructors that GCC 4.7/4.8 fail to inline. Change-Id: I97906045224e89377e8ea6add07a79fa088648af
* | | Add flag to turn on new suggest implementation for typingTom Ouyang2013-04-044-14/+42
| | | | | | | | | | | | | | | | | | Bug: 8277656 Change-Id: I974f560050cc5339d110b97620df1c5b496977fe
* | | Move suggest logic to AOSPSatoshi Kataoka2013-04-036-3/+727
|/ / | | | | | | | | | | Bug: 8197301 Change-Id: I2d0ffbbc9d4d57ebfc2fe43e6cb75e8b44dae466
* | Move typing policy to AOSPSatoshi Kataoka2013-04-0210-1/+704
| | | | | | | | | | Bug: 8197301 Change-Id: Ife9b41a465d7b8d707623a6d3e4c1c88c3c3c4ab
* | Move policy and session to AOSPSatoshi Kataoka2013-04-0110-1/+1032
| | | | | | | | | | Bug: 8197301 Change-Id: I742ff0d939f9ad1ee2cd8b959b6c5ee2757fd177
* | Move dicnode to AOSPSatoshi Kataoka2013-04-0115-1/+2308
| | | | | | | | | | | | Bug: 8187060 Change-Id: I72398fa45b12683bd46d23c5ca69e6bcd5ca2b7e