aboutsummaryrefslogtreecommitdiffstats
path: root/native/jni/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Introduce SuggestionResults and use it for predictions.Keisuke Kuroyanagi2014-03-077-80/+231
| | | | | | Bug: 8187060 Bug: 13333066 Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
* Merge "Use unique_ptr."Keisuke Kuroyanagi2014-03-0717-205/+120
|\
| * Use unique_ptr.Keisuke Kuroyanagi2014-03-0717-205/+120
| | | | | | | | Change-Id: Id92a5b07da4f7f95e2cd293ce8dc1a5f979b7853
* | Address warnings pointed out by clangKen Wakasa2014-03-072-5/+2
| | | | | | | | Change-Id: I7943f6c7f9ba08f283a3116adc2af29495f04a21
* | Revert "Revert "Use std::min() and std::max()""Keisuke Kuroyanagi2014-03-0717-46/+63
| | | | | | | | | | | | This reverts commit f63000abeabfaabde5c1ea2201d63d0c4850f1e2. Change-Id: I6056d176a13c6ecad38e658ab8778bd898291d02
* | Fix: point to line segment distance can be NaN.Keisuke Kuroyanagi2014-03-071-0/+4
|/ | | | Change-Id: I7db6bfea925a0eda82bfb1f7b5e1110b193dabdb
* Merge "Use nullptr instead of 0 for pointers."Keisuke Kuroyanagi2014-03-0710-25/+27
|\
| * Use nullptr instead of 0 for pointers.Keisuke Kuroyanagi2014-03-0710-25/+27
| | | | | | | | Change-Id: Ic9425de07b896f940ca11c51968c637ebb897514
* | Revert "Use std::min() and std::max()"Ken Wakasa2014-03-0717-63/+46
| | | | | | | | | | | | | | | | | | | | This somehow breaks TRT. bug: 13350753 This reverts commit cf612a3abfd0cc244f8449db2cf11a0a7c680a2f. Change-Id: I812f067e7cc8106b054527732dc6fe4efd7cc0fe
* | Use std::min() and std::max()Ken Wakasa2014-03-0617-46/+63
| | | | | | | | Change-Id: I2992fa16692ace2a6febedc4393812faf763638f
* | Use C++11 deleted functions to implement DISALLOW_ macrosYohei Yukawa2014-03-061-3/+3
|/ | | | | | | With C++ deleted functions, compilers can generate more descriptive error messages when we are doing something disallowed. Change-Id: I48d23e5eced545732558e56f5ff9ff70c95a6ff0
* Switch to C++11Ken Wakasa2014-03-062-11/+6
| | | | Change-Id: Ib2970327c36422d7b11103d52ba7e9e52db5554f
* Fix: Bug of I39e905b6ddfc8d3.Keisuke Kuroyanagi2014-03-061-3/+6
| | | | | | | primaryKey have to be the first elemnet of the proximities. Bug: 13315755 Change-Id: I6c94408a2ef2750fa85ff12b93bed8b8d874717e
* Merge "Create suggest/core/result directory."Keisuke Kuroyanagi2014-03-063-2/+2
|\
| * Create suggest/core/result directory.Keisuke Kuroyanagi2014-03-063-2/+2
| | | | | | | | | | | | Bug: 8187060 Bug: 13333066 Change-Id: I185c93bd4542d997be101b61561a00d69111c00d
* | Fix: The top left key is a proximity of nonexistent keys.Keisuke Kuroyanagi2014-03-051-0/+3
|/ | | | | Bug: 13315755 Change-Id: I39e905b6ddfc8d3510c408a3bea853390a75d088
* Add header attributes for evaluation.Keisuke Kuroyanagi2014-02-288-48/+108
| | | | | Bug: 13197276 Change-Id: Ib5247da691ff24a73e13485288237ccc51bb54f0
* Use MAX_PROBABILITY for the limit of probabilities.Keisuke Kuroyanagi2014-02-262-6/+6
| | | | | Bug: 13197276 Change-Id: Ic3f855e566603b395395dff1f860f3d76ecb019c
* Merge "Create more aggressive probability tables."Keisuke Kuroyanagi2014-02-262-6/+44
|\
| * Create more aggressive probability tables.Keisuke Kuroyanagi2014-02-262-6/+44
| | | | | | | | | | | | Bug: 13197276 Change-Id: I1451dcbe61088d7301bbef5ceedc72f5649e6764
* | Stop dividing unigram probability by 2 for backoff.Keisuke Kuroyanagi2014-02-262-6/+7
|/ | | | | Bug: 13197276 Change-Id: I8eaa24b6f710383a8d257e3ec28c37a1a1da8e31
* Merge "Read and write forgetting curve header attributes."Keisuke Kuroyanagi2014-02-262-7/+28
|\
| * Read and write forgetting curve header attributes.Keisuke Kuroyanagi2014-02-262-7/+28
| | | | | | | | | | Bug: 13197276 Change-Id: I6c38a127e1745903594b7bf0ec80ef179e794feb
* | Merge "Check header attributes for forgetting curve."Keisuke Kuroyanagi2014-02-2613-61/+96
|\|
| * Check header attributes for forgetting curve.Keisuke Kuroyanagi2014-02-2613-61/+96
| | | | | | | | | | Bug: 13197276 Change-Id: Ib360010f309fd1ed3e81cf23aa10c1cfe82781a6
* | Add boundary check for ver4 bigram/shortcut reading.Keisuke Kuroyanagi2014-02-262-0/+20
|/ | | | | Bug: 13185316 Change-Id: I5236222e2a5acda69821062a140c9e36a3024bd2
* Fix: -1 can be used as a code point of most probable string.Keisuke Kuroyanagi2014-02-241-1/+10
| | | | | Bug: 11797518 Change-Id: Id2e8bce92d000f39d506af7cb844447696bcc019
* Add boundary check for ver2 dict reading.Keisuke Kuroyanagi2014-02-211-0/+15
| | | | | Bug: 12916055 Change-Id: I78ad1f98a5401f920dcfc3379aa431eb2311ae02
* Record reading error during traversing dictionaries.Keisuke Kuroyanagi2014-02-207-16/+59
| | | | | Bug: 12916055 Change-Id: I439f21aa87cfa1f71e0354370a1514af03d68f6c
* Fix: crash when opening a broken dictionary.Keisuke Kuroyanagi2014-02-193-7/+13
| | | | | Bug: 13085169 Change-Id: Icfb6184dfefc6a336432203c071d9e30ae8bf990
* Merge "Fix: using wrong method to call ArrayList.add."Keisuke Kuroyanagi2014-02-191-4/+4
|\
| * Fix: using wrong method to call ArrayList.add.Keisuke Kuroyanagi2014-02-191-4/+4
| | | | | | | | | | bug: 13072808 Change-Id: I60dc5ae1e535f2f0b3784a12c40ac082560a436f
* | Merge "Make dotted i the base character of dotless i."Jean Chalard2014-02-171-1/+2
|\ \
| * | Make dotted i the base character of dotless i.Jean Chalard2014-02-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is already the case for the capital version, and natives Turkish speakers seem to think it should be the case. An important reason to make it so is that the Turkish keyboard has only the dotless i as a "more keys" key, so it's really hard to type words with a dotless i without this, especially those with several of them. Bug: 11519119 Change-Id: I4df2a289783e4eb3c1291b8ad0a2ba5947bf7671
* | | Implement PatriciaTriePolicy::getNextWordAndNextToken().Keisuke Kuroyanagi2014-02-153-21/+52
| |/ |/| | | | | | | Bug: 12810574 Change-Id: Id1d44f90de9455d9cbe7b6e0a161cae91d6d422c
* | Merge "Implement PatriciaTriePolicy::getWordProperty()."Keisuke Kuroyanagi2014-02-142-4/+61
|\ \ | |/ |/|
| * Implement PatriciaTriePolicy::getWordProperty().Keisuke Kuroyanagi2014-02-142-4/+61
| | | | | | | | | | Bug: 12810574 Change-Id: I7bcccfd3641ebbcf2b8d857d33bb4734c42af5eb
* | Fix reading uninitialized memory in BloomFilter.Keisuke Kuroyanagi2014-02-141-0/+2
| | | | | | | | | | | | Bug: 12967899 Change-Id: I180b9d728c887c480b6d956bbc4599079c1c359f
* | Fix reading uninitialized memory.Keisuke Kuroyanagi2014-02-139-29/+29
|/ | | | | | Bug: 12967899 Change-Id: Ia17e4ca9dd8c1e0b24b0fb7e73d07b97c5d81c0c
* Create Ver2PtNodeArrayReader.Keisuke Kuroyanagi2014-02-104-84/+106
| | | | | Bug: 12810574 Change-Id: I7708d24d735680b2fe9e6700316076018e88c98d
* Stop passing buffer directly to DynamicPtReadingHelper.Keisuke Kuroyanagi2014-02-104-18/+12
| | | | | Bug: 12810574 Change-Id: I656d99f504d8cf4e057080713b174943afd9dd4c
* Create Ver2ParticiaTrieNodeReader.Keisuke Kuroyanagi2014-02-107-68/+179
| | | | | | Bug: 12810574 Change-Id: I7d3298b5f419d557755ae433c8b8cc0d145f4cc3
* Refactoring: extract PtNode array reading logic form helper.Keisuke Kuroyanagi2014-02-1010-58/+211
| | | | | Bug: 12810574 Change-Id: I2d2660871862f11630c3ad7bf04bb49ade57c1e7
* Implement getHeaderInfoNative.Keisuke Kuroyanagi2014-02-068-36/+56
| | | | | | Bug: 11281877 Bug: 12810574 Change-Id: Ia3d85ae2cfdb486e74b8636a62431eae883c85da
* [HD04] Make the locale mandatory.Jean Chalard2014-02-058-6/+59
| | | | | Bug: 11281748 Change-Id: I69281b0053bec404c3e3c713ade3f65a140f51b1
* Merge "Check isEligibleForAutoCommit when batch input is ended."Keisuke Kuroyanagi2014-02-051-1/+1
|\
| * Check isEligibleForAutoCommit when batch input is ended.Keisuke Kuroyanagi2014-02-051-1/+1
| | | | | | | | | | Bug: 11951198 Change-Id: Ibbe09fa38eaa3ebf8f9b69f744a29db7ac598975
* | Merge "Don't boost exact matches for personalized dicts."Keisuke Kuroyanagi2014-02-045-7/+17
|\ \ | |/ |/|
| * Don't boost exact matches for personalized dicts.Keisuke Kuroyanagi2014-02-045-7/+17
| | | | | | | | | | Bug: 12800726 Change-Id: Ia3a2f82db6cdc9645cad0e329c0b79328d7452cc
* | Implement Ver4PatriciaTriePolicy::getNextWordAndNextToken.Keisuke Kuroyanagi2014-02-044-5/+54
| | | | | | | | | | Bug: 12810574 Change-Id: Idea44f03c477964f58e65fbf2b55e3fcd77a2934