aboutsummaryrefslogtreecommitdiffstats
path: root/native (follow)
Commit message (Collapse)AuthorAgeFilesLines
* am 9ce2d0bb: am 06e62ab2: am cc47075c: Merge "Remove uses of libcxx.mk."Dan Albert2015-03-271-3/+0
|\ | | | | | | | | * commit '9ce2d0bb3702f2854e612cb743f4c508dd590981': Remove uses of libcxx.mk.
| * Remove uses of libcxx.mk.Dan Albert2015-03-271-3/+0
| | | | | | | | | | | | This is a no-op. Change-Id: I982883f994303ba622546b5c6cd0e935a354cde8
* | Move dictionary code to top level dictionary dir.Keisuke Kuroyanagi2014-12-17164-531/+531
| | | | | | | | | | Bug: 18725954 Change-Id: Ia442ba4b5d84311057d83edf6e7aeb151d6a820b
* | Remove needless include.Keisuke Kuroyanagi2014-12-151-1/+0
| | | | | | | | | | Bug: 18725954 Change-Id: I3c823fda1b7daf41d82b118d9495f5f2356a1a5e
* | Add missing error check in TrieMap.Keisuke Kuroyanagi2014-12-151-0/+6
| | | | | | | | | | Bug: 18725954 Change-Id: I8fcb0d15dda3f823a4575fe707bcdec57ff5e89b
* | Remove dependency on jni.h from WordProperty.Keisuke Kuroyanagi2014-12-156-121/+101
| | | | | | | | | | Bug: 18725954 Change-Id: Ic97d3a56b036ff042322c9f794504064046fd7d7
* | Merge "Quit auto-correct explicit accented letters to base letters."Keisuke Kuroyanagi2014-12-095-8/+30
|\ \
| * | Quit auto-correct explicit accented letters to base letters.Keisuke Kuroyanagi2014-12-095-8/+30
| | | | | | | | | | | | | | | Bug: 7677193 Change-Id: I66eddbf27a9db8682c0347a1be19922792a3bea7
* | | Merge "Enable Quadgram for personalized dicts."Keisuke Kuroyanagi2014-12-036-9/+12
|\ \ \ | |/ / |/| |
| * | Enable Quadgram for personalized dicts.Keisuke Kuroyanagi2014-11-256-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before: Total words: 1134659, Success Num: 944709, Success Percentage: 83.259% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880% After: Total words: 1134665, Success Num: 945026, Success Percentage: 83.287% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112% Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446% Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808% Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
* | | Merge "Use enum to specify ngram type."Keisuke Kuroyanagi2014-11-2514-251/+218
|\| |
| * | Use enum to specify ngram type.Keisuke Kuroyanagi2014-11-2514-251/+218
| | | | | | | | | | | | Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
* | | Merge "Implement ArgumentsParser::parseArguments and add tests."Keisuke Kuroyanagi2014-11-255-24/+195
|\ \ \ | |/ / |/| |
| * | Implement ArgumentsParser::parseArguments and add tests.Keisuke Kuroyanagi2014-11-215-24/+195
| | | | | | | | | | | | | | | Bug: 10059681 Change-Id: I6511a46c879d7a52d0bb4fcab445a66bc40db98c
* | | Fix the base character of D with strokeJean Chalard2014-11-191-1/+6
| | | | | | | | | | | | | | | Bug: 18436480 Change-Id: Ic92cae7c85c07c8f62a5b6e69d2b71e204aff50d
* | | Merge "Add unit tests for ArgumentsParser.validateSpecs()."Keisuke Kuroyanagi2014-11-174-3/+91
|\| |
| * | Add unit tests for ArgumentsParser.validateSpecs().Keisuke Kuroyanagi2014-11-184-3/+91
| | | | | | | | | | | | | | | Bug: 10059681 Change-Id: I3ba5d856ad679e32dd3360863335c436ad6e7301
* | | Revert "Follow up to https://android-review.googlesource.com/114561"Ken Wakasa2014-11-171-3/+0
|/ / | | | | | | | | | | This reverts commit 64d3f78ee5d9dabf7df6106241dfae3334b34714 per https://android-review.googlesource.com/114664 Change-Id: I2acab828d41e79847db72f8d2677c12173a323b6
* | Follow up to https://android-review.googlesource.com/114561Ken Wakasa2014-11-171-0/+3
| | | | | | | | | | | | | | Looks like unbundled builds need to use --hash-style=sysv for the sake of compatibility Change-Id: Ia7b3a1cc3b2c91a8628551888a74925926dff855
* | Define arguments for commands in dicttoolkit.Keisuke Kuroyanagi2014-11-1516-9/+455
| | | | | | | | | | Bug: 10059681 Change-Id: I1ceaeeaa9e2055c357fe969818498de9d6288862
* | Merge "Add OffdeviceIntermediateDictHeader."Keisuke Kuroyanagi2014-11-133-1/+52
|\ \
| * | Add OffdeviceIntermediateDictHeader.Keisuke Kuroyanagi2014-11-133-1/+52
| | | | | | | | | | | | | | | | | | | | | Used to have header information in OffdeviceIntermediateDict. Bug: 10059681 Change-Id: I966c26e514ddd229cf5597d3b96941234c530863
* | | Merge "Utf8Utils for dicttoolkit."Keisuke Kuroyanagi2014-11-134-2/+265
|\| |
| * | Utf8Utils for dicttoolkit.Keisuke Kuroyanagi2014-11-134-2/+265
| | | | | | | | | | | | | | | Bug: 10059681 Change-Id: Ie484ba8096823792f0ac663524d1c02d1be070e9
* | | Merge "Introduce OffdeviceIntermediateDict for dicttolkit."Keisuke Kuroyanagi2014-11-116-1/+391
|\| |
| * | Introduce OffdeviceIntermediateDict for dicttolkit.Keisuke Kuroyanagi2014-11-126-1/+391
| | | | | | | | | | | | | | | Bug: 10059681 Change-Id: Ib6e9019502b59dd959c04c8f4996ca932c2b1ba8
* | | Implement IntArrayView::split for dicttoolkit.Keisuke Kuroyanagi2014-11-112-0/+70
| | | | | | | | | | | | | | | Bug: 10059681 Change-Id: Ic29e79d049bb532727cf5cb1e529fec5d35156ed
* | | Merge "Implement help command for dicttoolkit."Keisuke Kuroyanagi2014-11-1010-1/+52
|\ \ \
| * | | Implement help command for dicttoolkit.Keisuke Kuroyanagi2014-11-1110-1/+52
| | | | | | | | | | | | | | | | | | | | Bug: 10059681 Change-Id: I0cadf1f80103136cdac5c00b6fca4d81b4bf7384
* | | | Merge "Use reference instead of pointer for WordProperty()."Keisuke Kuroyanagi2014-11-105-13/+18
|\ \ \ \ | | |/ / | |/| |
| * | | Use reference instead of pointer for WordProperty().Keisuke Kuroyanagi2014-11-105-13/+18
| |/ / | | | | | | | | | Change-Id: Idf03e97661d64186c752e35964d641a5528be5b1
* / / Make profiler use getTimeInMicroSec().Keisuke Kuroyanagi2014-11-114-77/+100
|/ / | | | | | | | | Bug: 17797064 Change-Id: Ie992c9454edfc3bf93d5ea367c3a4427b513a205
* | Add CommandExecutor for dicttoolkit.Keisuke Kuroyanagi2014-11-0914-28/+399
| | | | | | | | | | Bug: 10059681 Change-Id: I90334caaf37c84ce7d1b93d12efbfb5f244a9420
* | Introduce CommandUtils for dicttoolkitKeisuke Kuroyanagi2014-11-087-3/+165
| | | | | | | | | | Bug: 10059681 Change-Id: Ic6947e76d77dc87bf88dc3a2b749e41fae7553b7
* | Fix: BoS prediction after inputting just once.Keisuke Kuroyanagi2014-11-011-2/+10
| | | | | | | | Change-Id: Ib69569ab6b6edfcc8c1d2c621b95de4127789ab6
* | Merge "Update v4 format version from 402 to 403."Keisuke Kuroyanagi2014-10-317-25/+25
|\ \
| * | Update v4 format version from 402 to 403.Keisuke Kuroyanagi2014-10-317-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without personalization: Total words: 1134774, Success Num: 899230, Success Percentage: 79.243% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165% Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563% Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953% Before: Total words: 1134646, Success Num: 925194, Success Percentage: 81.540% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116% Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493% Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019% After Total words: 1134659, Success Num: 944746, Success Percentage: 83.263% Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111% Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469% Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222% Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
* | | Merge "Add hacks for better handling count value during migration."Keisuke Kuroyanagi2014-10-312-1/+4
|\| |
| * | Add hacks for better handling count value during migration.Keisuke Kuroyanagi2014-10-312-1/+4
| | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ib050574aa7c4babd4285322a11c3af9be9fbab1e
* | | Merge "Change v403 historical info format."Keisuke Kuroyanagi2014-10-316-11/+9
|\| |
| * | Change v403 historical info format.Keisuke Kuroyanagi2014-10-316-11/+9
| | | | | | | | | | | | | | | | | | count -> 2B, level -> 0B. Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
* | | Merge "Initial commit for native dicttoolkit."Keisuke Kuroyanagi2014-10-318-0/+284
|\ \ \
| * | | Initial commit for native dicttoolkit.Keisuke Kuroyanagi2014-10-318-0/+284
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 10059681 Change-Id: Ib730af8ebc944e08aaada869c0626724a499747c
* | | | Further fixes to treat 0-frequency wordsAdrian Velicu2014-10-317-12/+47
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, when both legitimate 0-frequency words (such as distracters) and offensive words were encoded in the same way, distracters would never show up when the user blocked offensive words (the default setting, as well as the setting for regression tests). When b/11031090 was fixed and a separate encoding was used for offensive words, 0-frequency words would no longer be blocked when they were an "exact match" (where case mismatches and accent mismatches would be considered an "exact match"). The exact match boosting functionality meant that, for example, when the user typed "mt" they would be suggested the word "Mt", although they most probably meant to type "my". For this reason, we introduced this change, which does the following: * Defines the "perfect match" as a really exact match, with no room for case or accent mismatches * When the target word has probability zero (as "Mt" does, because it is a distracter), ONLY boost its score if it is a perfect match. By doing this, when the user types "mt", the word "Mt" will NOT be boosted, and they will get "my". However, if the user makes an explicit effort to type "Mt", we do boost the word "Mt" so that the user's input is not autocorrected to "My". Bug: 11031090 Change-Id: I92ee1b4e742645d52e2f7f8c4390920481e8fff0
* | | Block offensive words in multi-word suggestionsAdrian Velicu2014-10-313-13/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | If the user has chosen to block offensive words and types "aaaxbb", where "aaa" is an offensive word and "bb" is not, we should not suggest "aaa bb". Bug: 11031090 Change-Id: Ie23b8dd5d347bc26b1c046c3f5e8dfbc259bf528
* | | Merge "Using "blacklist" flag as "possibly offensive""Adrian Velicu2014-10-318-26/+26
|\ \ \
| * | | Using "blacklist" flag as "possibly offensive"Adrian Velicu2014-10-318-26/+26
| | | | | | | | | | | | | | | | | | | | Bug: 11031090 Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
* | | | Fix: native unit test build.Keisuke Kuroyanagi2014-10-311-2/+2
|/ / / | | | | | | | | | Change-Id: Id2bd4b60d6a4023815a630ebb3059a435b72c193
* | | Enable count based dynamic ngram language model for v403.Keisuke Kuroyanagi2014-10-306-89/+128
| | | | | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Icc15e14cfd77d37cd75f75318fd0fa36f9ca7a5b
* | | Add DynamicLanguageModelProbabilityUtils.Keisuke Kuroyanagi2014-10-303-0/+152
| | | | | | | | | | | | | | | Bug: 14425059 Change-Id: Ia58ab3f0ead02798046d182a9464dcbd95f086bc