Commit Graph

29285 Commits (b6a19229ba6c996c18232a66c33293d343601fcf)

Author SHA1 Message Date
Jean Chalard a8ffdf0288 Merge "Split the header into a separate file." 2013-12-11 03:37:05 +00:00
Jean Chalard 83c879ad67 Fix typos.
One of these cost me a day and a half searching for a bug :(

Change-Id: I20f0b727f7c02e2754aaaf6a05b74c9cf9e6375e
2013-12-11 12:06:05 +09:00
Jean Chalard 3839defc90 Split the header into a separate file.
Bug: 11281748
Change-Id: Ia2490d18bf159990310e10ed45fb6b3a0dee1c5f
2013-12-11 12:03:40 +09:00
Keisuke Kuroyanagi 499371a5ef Remove PersonalizationDictinoary.
Now, PersonalizationPredictionDictionary can be used not only
for prediction but also for suggestions.
We should rename PersonalizationPredictionDictionary to
PersonalizationDictionary.

Change-Id: Ifcf4459072f3523e3f3dc783f12e15b89cdbb12d
2013-12-11 11:09:52 +09:00
Keisuke Kuroyanagi 7c8075c2ac Uncapitalized words for personalization dictionary.
Bug: 11736529
Change-Id: I62a7469afe03092ec992bfb190f717223a8c556f
2013-12-10 19:19:18 +09:00
Keisuke Kuroyanagi 6038895611 Discard useless bigrams when overflowing.
Bug: 11734037
Change-Id: I339999dffc1902f62e0a6706d969c8f410bb656f
2013-12-10 18:49:28 +09:00
Keisuke Kuroyanagi 962d2c083a Discard useless unigrams when overflowing.
Bug: 11734037
Change-Id: I5f991dd1f8fa79fd0c442be323d20c76b47ae22e
2013-12-10 18:37:06 +09:00
Keisuke Kuroyanagi 2fdb62a6a2 Start using historical info for decaying.
Bug: 11073222

Change-Id: Iad5f42d7268939df35589c4900bf6f4425adaa3f
2013-12-10 17:53:06 +09:00
Keisuke Kuroyanagi 26266bd53b Update historical info for GC.
Bug: 11073222

Change-Id: I08a61c02f9f5d527897095eee2de395f86050e2d
2013-12-09 21:02:41 +09:00
Keisuke Kuroyanagi ebb57c02c2 Move probability updating during GC to PtNodeWriter.
Bug: 11073222

Change-Id: Id452f953c4f72c4e83f6866a87be5f3766d00a31
2013-12-09 20:39:06 +09:00
Keisuke Kuroyanagi 88af9eb862 Add willBecomeNonTerminal flag.
willBecomeNonTerminal flag is used during GC to indicate
the PtNode is no longer terminal, even though the PtNode has
terminal attributes.

Bug: 11073222
Change-Id: I2514bc4106fa7539201979affcfb713d2b8430a3
2013-12-09 09:23:02 +00:00
Keisuke Kuroyanagi 3ce4c17d00 Update has shortcut targets and has bigrams flags.
Bug: 11073222
Change-Id: I75db86c485138dd86256989f28e15abed58d154d
2013-12-09 18:01:41 +09:00
Keisuke Kuroyanagi 51b5936cb0 Merge "Support current time controlling for testing." 2013-12-09 08:13:45 +00:00
Keisuke Kuroyanagi 4c46faa074 Support current time controlling for testing.
Bug: 11073222
Change-Id: I8a0e96ea6711f1f1165209873d8d6a2a77008541
2013-12-09 16:58:43 +09:00
Keisuke Kuroyanagi db3b4c30fd Merge "Use FormatSpec.VERSION4 instead of 4 for unit tests." 2013-12-09 07:53:35 +00:00
Keisuke Kuroyanagi ddef88d0bf Use FormatSpec.VERSION4 instead of 4 for unit tests.
Bug: 10197478
Change-Id: I330bfa3f45b9e282b49ccde7868d49676506f268
2013-12-09 16:38:28 +09:00
Keisuke Kuroyanagi 5ea2f2972e Merge "Start updating historical information." 2013-12-09 07:22:29 +00:00
Keisuke Kuroyanagi 6c1382b4ae Start updating historical information.
Bug: 11073222

Change-Id: Ic74951f46af05d3edfe08fca37352c5d5c1047e0
2013-12-09 16:02:07 +09:00
Keisuke Kuroyanagi 8317acad48 Create dictionary with historical info for testing.
Bug: 11073222
Change-Id: I3573badceaceb9f4660884a4b23c337c63103701
2013-12-09 15:48:30 +09:00
Keisuke Kuroyanagi 0a213fd625 Merge "Start to support adding shortcuts." 2013-12-09 05:35:29 +00:00
Keisuke Kuroyanagi 5f88c1e0f1 Start to support adding shortcuts.
Bug: 11073222
Bug: 11956652

Change-Id: Iea81603a140697594cfea4f4939e82cd1d3963ca
2013-12-09 13:05:44 +09:00
Keisuke Kuroyanagi 291db3d4b0 Introduce HistoricalInfo.
Bug: 11073222
Change-Id: I5220656a333c93d10163bd3dff71d011c8f6d965
2013-12-09 12:08:06 +09:00
Keisuke Kuroyanagi c980b1bfa7 Move NOT_A_TIMESTAMP to defines.h
Bug: 11073222
Change-Id: Id47af32f40b1a82fdf45628f2d0e37b99dca3921
2013-12-08 21:28:46 +09:00
Tadashi G. Takaoka a2bbb1213d Remove obsolete warning message
This is a follow up of I5655c5703b.

Change-Id: I4a61689eb275b54648c6112c9f8709e4a9c35a5e
2013-12-07 18:59:13 +09:00
Ken Wakasa f925b1e34a Fix offdevice TRT build
Change-Id: Idc2f3897e592433c13361bd8af94530d81621764
2013-12-06 19:46:33 +09:00
Tadashi G. Takaoka 4d02aa4e8c Add punctuations letters to period key on tablet
Bug: 11918360
Change-Id: I5655c5703bfcb541c9ff4b7e0da2f9b8e14947d0
2013-12-06 18:24:20 +09:00
Tadashi G. Takaoka 637ecce74c Merge "Consolidate multiple locales' period key definition" 2013-12-06 09:21:26 +00:00
Jean Chalard 90c9199753 Merge "[RF4] Actually remove ver4 dicts" 2013-12-06 08:54:33 +00:00
Keisuke Kuroyanagi fc16c320c6 Merge "Add a jni method to fetch unigram information." 2013-12-06 08:53:21 +00:00
Keisuke Kuroyanagi 9fb28f78f7 Add a jni method to fetch unigram information.
Bug: 11956652

Change-Id: I59f1823bbc0146f6d2f34cbed8166bb6de197208
2013-12-06 17:17:38 +09:00
Jean Chalard c5db41a9d5 [RF4] Actually remove ver4 dicts
And fix a couple bugs.

Bug: 11281748
Change-Id: If07953a4b1ff9eb1165af03fdb332d7e47cd8f32
2013-12-06 17:07:59 +09:00
Tadashi G. Takaoka 5bf55a86d0 Return null if "!text/" reference is an empty text
Change-Id: I01826f3e09527348fb4cba3302a9394ff34f424a
2013-12-06 16:51:11 +09:00
Tadashi G. Takaoka aab0140390 Consolidate multiple locales' period key definition
Bug: 11918360
Change-Id: If59043709a433a57846de07e150bf9c14b614d52
2013-12-06 15:25:47 +09:00
Jean Chalard a72e8f1ede [RF3] Cleanups
Make the version number a single number on native and java side.
Also, remove the hasValidContents method. It's useless since the
native code already checks this when creating the dictionary (I
wish I had known that when I added it).

Bug: 11281748
Change-Id: I572d37429972b2f280e4bdb748b709e5d0d7737e
2013-12-06 14:53:03 +09:00
Jean Chalard cb27d955f3 Merge "[RF2] Some refactoring and some cleanup" 2013-12-06 04:30:25 +00:00
Jean Chalard b8481456f2 [RF2] Some refactoring and some cleanup
Bug: 11281748
Change-Id: Iff45fdf6b23f77c08271a169c7d7ca45912c85e8
2013-12-06 13:06:49 +09:00
Tadashi G. Takaoka 08b84a6bed Fix background of ".com" key on tablet symbols
Bug: 12023755
Change-Id: I9eb8c1e5c637ddc6f0f36b783fcb289b5865ac22
2013-12-06 12:16:25 +09:00
Keisuke Kuroyanagi f2d689c4da Merge "Implement shortcut adding method." 2013-12-05 11:56:41 +00:00
Keisuke Kuroyanagi bc33efa4bd Implement shortcut adding method.
Bug: 11073222
Change-Id: Ia98bf40bd5263caad8b65680eabcf429328290a9
2013-12-05 20:12:10 +09:00
Tadashi G. Takaoka 6300168cb8 Fix puctuations more keys on Spanish/Phone
Bug: 11918360
Change-Id: I01e1c1e2a1953855bd2b009fc2d82e18cdde7140
2013-12-05 18:54:29 +09:00
Tadashi G. Takaoka 4cd86d3bb4 Cleanup exclamation and questuion keys
Bug: 11918360
Change-Id: I00731a273beea6dbc300dc215996dcadd97f17e2
2013-12-05 18:53:32 +09:00
Tadashi G. Takaoka 624fcde18b Cleanup comma key of Arabic/Farsi
Bug: 11918360
Change-Id: I4ab373d8fc012fd77a388a067d7f5d99d8247299
2013-12-05 18:15:45 +09:00
Tadashi G. Takaoka 3064b831e6 Merge "Separate symbols comma-period from main keyboard ones" 2013-12-05 09:02:00 +00:00
Tadashi G. Takaoka 72ce5fdcf6 Remove puctuationKeyStyle key style definition
This change also separates period key definition from row_qwerty4.

Bug: 11918360
Change-Id: I7156be7098987f8447698a57af84e2ea3fc595f6
2013-12-05 17:31:06 +09:00
Tadashi G. Takaoka e7296d4bf4 Separate symbols comma-period from main keyboard ones
Bug: 11918360
Change-Id: Ia96230d1eb692bbc61842f1cd12ba980d5487017
2013-12-05 13:52:03 +09:00
Tadashi G. Takaoka c8a7a7dce3 Merge "Fix size of AOSP launcher icon" 2013-12-05 04:51:24 +00:00
Tadashi G. Takaoka f6b479d482 Add exclamation/question marks to Hebrew tablet keyboard
Bug: 11918360
Change-Id: I226f8fbb2177f472f69b56faca2a141687734494
2013-12-05 12:47:47 +09:00
Tadashi G. Takaoka 401951849f Fix size of AOSP launcher icon
Bug: 11975011
Change-Id: I5463d4a9f386ca053a81883c2e0b3f999e4bdbb2
2013-12-05 10:01:14 +09:00
Keisuke Kuroyanagi 5b0ca975c4 Merge "Support controlling some unigram flags in addUnigramWord." 2013-12-04 11:43:46 +00:00
Keisuke Kuroyanagi aa191c5995 Support controlling some unigram flags in addUnigramWord.
Bug: 11073222
Change-Id: I717fae2faf22316782b42a78c48d7066f6950496
2013-12-04 20:22:01 +09:00