aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/personalization (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make contacts dict and user dict version 4.Keisuke Kuroyanagi2014-01-171-7/+0
| | | | | Bug: 12515251 Change-Id: I0b332e03b9102957bffaea56d4de17b9ee3cef23
* Update personalization dict via dictionary facilitator.Keisuke Kuroyanagi2014-01-153-108/+0
| | | | Change-Id: I512c41e12d8d31f03b5df6ad03bf7711611c80f5
* Move LanguageModelParams class to utility packageTadashi G. Takaoka2014-01-152-2/+2
| | | | | | This change must be checked in together with Ic82d951237. Change-Id: I2ab451330f85a0147563b805682f26edecb71a29
* Check corpus handles during startup for personalization.Keisuke Kuroyanagi2014-01-101-1/+1
| | | | | Bug: 12479792 Change-Id: I62fd75d4bebd28afebd9631e865f5d59385511e7
* Prepare using dictionaryFacilitator for amanatto updates.Keisuke Kuroyanagi2014-01-071-2/+6
| | | | | Bug: 11736529 Change-Id: I0d9d9b1c1108b11064163df7c2089f53e92cd7ad
* Update personalized dict only when single subtype is used.Keisuke Kuroyanagi2014-01-071-1/+1
| | | | | Bug: 12424891 Change-Id: If041d1ab45988dbf9b878ae3367fee0fbc8a8988
* Remove personalized dicts when the option is turned off.Keisuke Kuroyanagi2013-12-254-4/+52
| | | | | | Bug: 11757851 Change-Id: I94f32859d862fe41e39845ab2bfc2d396c6aea0f
* Enable Personalized dictionaries based on the setting.Keisuke Kuroyanagi2013-12-171-2/+2
| | | | | Bug: 11757851 Change-Id: I83e484195f036e35cbae21fe63148bc9c22bfad7
* Make required binary dictionary version use FormatSpec.*Keisuke Kuroyanagi2013-12-161-1/+1
| | | | Change-Id: Ifb17d6551bc5071553e32a5640dd166c39374461
* Remove flags from Java side.Jean Chalard2013-12-131-2/+0
| | | | | | | | | | | | This simplifies the code quite a bit. - GERMAN_UMLAUTS are now handled through a key-value attribute. The dictionary generator does not need to know about it any more. - FRENCH_LIGATURES are deprecated as we handle them with shortcuts now. - CONTAINS_BIGRAMS is deprecated. Bigram processing is always applied regardless of this flag. Bug: 11281748 Change-Id: If567e52e245a9342adc7f3104a0f7d8d782df8c1
* Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20cKen Wakasa2013-12-138-469/+160
| | | | | | The bulk merge from -bayo to klp-dev should not have been merged to master. Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
* Fix: Suggested words from user history are invalid.Keisuke Kuroyanagi2013-10-221-9/+0
| | | | | | | | - Suggestions form user history can contain invalid words. - isValidWord always returns false. Bug: 11139426 Change-Id: I6075b275603332ddb00f4a9284afcaa82d824270
* Set the shortcut frequency correctly.Jean Chalard2013-10-072-5/+11
| | | | | | | 14 is the right value. Bug: 11076722 Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
* Fix UserHistoryDictionaryTests.Keisuke Kuroyanagi2013-10-031-0/+1
| | | | | | | Bug: 6669677 Bug: 10667710 Change-Id: I6cdc6a6c9cacc7f276fda3a26ec31e3eb928471c
* Try decaying user history at hourly intervals.Keisuke Kuroyanagi2013-10-023-1/+82
| | | | | | Bug: 6669677 Change-Id: Ib465fa7e1a7f289a07843535ba89d0dd5259e803
* Implement simple dictionary decay.Keisuke Kuroyanagi2013-09-301-2/+9
| | | | | | | | | | Groundwork and implement simple decay. Increment probability when typed and decrement probability at GC. Bug: 6669677 Change-Id: Ib12caead0cbeef4ce7808fe8ac0b00ee331523fe
* Merge "Set header attributes for ExpandableBinaryDictionary."Keisuke Kuroyanagi2013-09-295-20/+19
|\
| * Set header attributes for ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-09-285-20/+19
| | | | | | | | | | | | Bug: 6669677 Change-Id: I2462777eaa07600f1c774226adfc4f351882f523
* | Fix PrioritizedSerialExecutor.Yuichiro Hanada2013-09-271-4/+4
|/ | | | | | | | It was possible that fetchNextTasks() would be called by multiple threads concurrently. If it happens, some tasks in the task queues might be ignored. Change-Id: Idc81c43c45e382da3850cc55b9a42c281548d2a8
* Create empty dictionary file in native code.Keisuke Kuroyanagi2013-09-265-17/+32
| | | | | Bug: 6669677 Change-Id: I46d23deee1fd091678f4593561cb8687eb815212
* Quit using ExpandableDictionary.Keisuke Kuroyanagi2013-09-241-5/+5
| | | | | Bug: 6669677 Change-Id: Ie90417fa9b726454fe729a665fcd549efabb9e94
* Low memory mode in UserHistorySatoshi Kataoka2013-09-241-7/+24
| | | | | Bug: 8967766 Change-Id: Id40f54f4d9f43d1f796377983a5fc0ca3417e133
* Add getDictDecoder.Yuichiro Hanada2013-09-121-7/+9
| | | | | Bug: 9618601 Change-Id: I173100ac704c03f7d5d0d53477e83cab5d1110d4
* Use PrioritizedSerialExecutor instead of ReentrantReadWriteLock.Yuichiro Hanada2013-09-102-2/+2
| | | | Change-Id: I003b769e408ebd692085a7e17fed6d9396876202
* Check contents in user history dictionary testsSatoshi Kataoka2013-09-093-6/+11
| | | | | | Bug: 10667710 Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
* Pass additionalFeaturesOptions for getSuggestions().Keisuke Kuroyanagi2013-08-281-2/+2
| | | | | | | This fixes null pointer exceptions that are caused when getSuggestion() is called from spell checker. Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
* Fix: Wrong file name for dynamic prediction dictionary.Keisuke Kuroyanagi2013-08-281-1/+1
| | | | | Bug: 6669677 Change-Id: Id6f06a7423600d3f0604fab43d855826c20d0545
* Make DynamicPred...Base extend ExpandableBinaryDictionary.Keisuke Kuroyanagi2013-08-266-258/+64
| | | | | Bug: 6669677 Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
* Introduce DynamicDictionaryWriter for dynamic dictionary.Keisuke Kuroyanagi2013-08-231-0/+159
| | | | | Bug: 6669677 Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
* Add DictDecoder.readDictionaryBinary.Yuichiro Hanada2013-08-231-4/+6
| | | | | Bug: 10434720 Change-Id: I14690a6e0f922ed1bab3a4b6c9a457ae84d4c1a4
* Refactor personalization dictionarySatoshi Kataoka2013-08-232-9/+7
| | | | | Bug: 9429906 Change-Id: I1fa4b045b21687e96de101a97e9593b0884d626f
* Register personalization dictionarySatoshi Kataoka2013-08-224-21/+84
| | | | | Bug: 9429906 Change-Id: Ic754dd8da67446dfb1ebf44aa3d5ab0804298ca0
* Move findWordByBinaryDictReader to BinaryDictIOUtilsTests.Yuichiro Hanada2013-08-221-18/+4
| | | | Change-Id: I443238fd816dea9650dcbbeb3ea757f9674fa52f
* Merge "Fix build"Satoshi Kataoka2013-08-211-2/+0
|\
| * Fix buildSatoshi Kataoka2013-08-211-2/+0
| | | | | | | | Change-Id: I0c0be463552a37cecfb9a403e0723b1799fb8120
* | Merge "Add onDestroy to PersonalizationDictionarySessionRegister"Satoshi Kataoka2013-08-211-0/+5
|\|
| * Add onDestroy to PersonalizationDictionarySessionRegisterSatoshi Kataoka2013-08-211-0/+5
| | | | | | | | | | Bug: 9429906 Change-Id: Ibf8efd7302da2c27ac59e62b0393f1eec03dc136
* | Rename BinaryDictDecoder to Ver3DictDecoder.Yuichiro Hanada2013-08-201-3/+3
|/ | | | Change-Id: Ibf9b95b658df6e2c2218bdb62e2380f326a03832
* Add a functionality to clear and flush prediction dictionarySatoshi Kataoka2013-08-202-0/+21
| | | | | Bug: 9429906 Change-Id: I84ec444e9d46a0080dc3450b8ab32bfb99407cfe
* [Refactor] Rename BinaryDictReader and BinaryDictDecoder.Yuichiro Hanada2013-08-191-3/+3
| | | | | | | BinaryDictReader -> BinaryDictDecoder. BinaryDictDecoder -> BianryDictDecoderUtils. Change-Id: Iadf2153b379b760538ecda488dda4f17225e5f37
* Consolidate onDictionaryClosedSatoshi Kataoka2013-08-192-4/+5
| | | | | Bug: 9429906 Change-Id: I51eef4c321cc268eac1c8dfd6561ab6e716a1fb0
* Rename Personalization dictionary register functionsSatoshi Kataoka2013-08-191-0/+7
| | | | | Bug: 9429906 Change-Id: Ibdce8db61ab6cc5922765e7ed8b7f2c718759de8
* Merge "Prepare ExpandableBinaryDictionary to make it updatable"Keisuke Kuroyanagi2013-08-191-1/+3
|\
| * Prepare ExpandableBinaryDictionary to make it updatableKeisuke Kuroyanagi2013-08-161-1/+3
| | | | | | | | | | | | Bug: 6669677 Change-Id: Iaa6100f58de78d104e19c7a3c41d67e7826264f9
* | Fix unit test.Yuichiro Hanada2013-08-192-2/+4
| | | | | | | | Change-Id: Ib104d5de71c2ab1a07921b407c74c21b0409d9af
* | Limit the number of waiting UpdateBinaryTask to at most 1.Yuichiro Hanada2013-08-162-2/+15
| | | | | | | | Change-Id: Ia588d8f29ab58983ea5321ff8c63ad273c33eab3
* | Add hex string utilsSatoshi Kataoka2013-08-161-0/+3
|/ | | | | Bug: 9429906 Change-Id: I3267d1d86122ab471c3e63008c73e9f9b758fc8e
* tiny refactorSatoshi Kataoka2013-08-151-2/+2
| | | | Change-Id: I776432b6c41cf8dee71fbd1565a6f3da9d762f9e
* Add a method to import one bigram and string utilitiesSatoshi Kataoka2013-08-141-1/+11
| | | | | Bug: 9429906 Change-Id: I73bbf65985196d62470552c576bb076a7cb95008
* Add BinaryDictReader.Yuichiro Hanada2013-08-131-16/+5
| | | | | | Bug: 9618601 Change-Id: Ief07fa0c3c4f7f5999a3fafcef4e47b6b6fd8143