History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f3204eebb19f0f8fae9d6d81e7e2b430f29829a0 04-Oct-2013 Jean Chalard <jchalard@google.com> Set the shortcut frequency correctly.

14 is the right value.

Bug: 11076722
Change-Id: I95d404b540f7fbe4932d1f8498cde23f1df0314f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
24aad5a4d545e743fe43953c1a9d8141c022d355 20-Aug-2013 Jean Chalard <jchalard@google.com> [AC4] Add native methods necessary for auto-commit

Bug: 9059617
Change-Id: I7a47b0675446fc4f39628c60d16de9aea90d1b4d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
e5a35711b854aedeeea2f45105b941b9deee49bc 06-Sep-2013 Satoshi Kataoka <satok@google.com> Check contents in user history dictionary tests

Bug: 10667710

Change-Id: I45ebb08cb4ef9a9f6d2da31e2c50e740f88209c2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
fe87f5f41744a633a2ed91af9b171bda2637649e 28-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Pass additionalFeaturesOptions for getSuggestions().

This fixes null pointer exceptions that are caused when
getSuggestion() is called from spell checker.

Change-Id: Ifc9e7abb900e1a4646e33c91022effde439673e4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
6e04d6593239e841f5dac0d3f32d613967c11e22 26-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Make DynamicPred...Base extend ExpandableBinaryDictionary.

Bug: 6669677
Change-Id: I06afad35d3eb73510c34d10cd4116f5bcf934f7c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
87a72f50c23a4ef357ae623eabc2af16d02466ae 23-Aug-2013 Keisuke Kuroyanagi <ksk@google.com> Introduce DynamicDictionaryWriter for dynamic dictionary.

Bug: 6669677
Change-Id: Ifcbeb88b908f2301ac062b411a95c8b38d24b90e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
1b50a42b7c80f3cd355b818cf02e6e843a636deb 23-Aug-2013 Yuichiro Hanada <yhanada@google.com> Fix addWord.

Change-Id: Ib71dbd5954f44ca80733fa4b1048c829e1df138a
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
e8ef09567077211da034a77b457fd5f87e70f6f0 20-Aug-2013 Jean Chalard <jchalard@google.com> [AC2] Reference a dict rather than a string in suggestion infos

Bug: 9059617
Change-Id: Ic17bc0fd5d812268fd37d7fd35b4e9ebfb95fa5e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ef1e363016623ccf409c8c270f2c1e35a67734c9 19-Aug-2013 Jean Chalard <jchalard@google.com> [AC1] Add a memory of where to cut the first word.

Bug: 9059617
Change-Id: I931b6d1eb49f9f7dd7d5b18956e35751d1b2b631
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ffcbbaf12788a9fc9398607a548e552d7d2bf05e 25-Jul-2013 Satoshi Kataoka <satok@google.com> Refactor on UserHistoryDictionary

Bug: 9429906
Change-Id: I576a91643bdaf5017cc826ac2e07a74a9a275d60
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
d0ca62678de4b07c28adeec329bec0274b6a1d86 05-Jul-2013 Ken Wakasa <kwakasa@google.com> Update ExpandableDictionary.BASE_CHARS[]

This should be the same as CharUtils::BASE_CHARS[] in the native code.

Change-Id: I72ed4a43fd5c26a4439ef791b6b1cf703845c3a1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
e28eba5074664d5716b8e58b8d0a235746b261eb 23-Jun-2013 Ken Wakasa <kwakasa@google.com> Move util classes to the latin/utils directory

Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
2dbb5957e3c8354fa9bcb1e08c7ce81387b7fe25 01-May-2013 Jean Chalard <jchalard@google.com> Pass blockOffensiveWords as a parameter

Bug: 8773353
Change-Id: Ic1019742ce7ff6e4f7fff4d2729f8ab52d841488
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
33306acfa4bac666290323712b6d0a3ccbedffee 26-Mar-2013 Satoshi Kataoka <satok@google.com> Fix possible SIOOBE

Bug: 8461021

Change-Id: I8b0385610b80b5a672ec380935c485a0e01ae984
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
96b22200beb98fd1a6288f4cf53e38611a09cdd0 17-Dec-2012 Ken Wakasa <kwakasa@google.com> Privatize a few constants in BinaryDictionary.java

Change-Id: I7defaf1f577fd67e678cac83ff935e8181dd0a48
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
fe9ec6bc7d58464f3117c3fe9372c2994861998b 16-Nov-2012 Ken Wakasa <kwakasa@google.com> Remove unused variables

Change-Id: Ia5079368a1bc86ccdf0052445dc6945041c0abca
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
240871ecafde7834ebb4270cd7758fc904a5f3a7 29-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Move code point constants from Keyboard to Constants class

Change-Id: Iee01d4d2b916d0b584531104ac865ae6e6370a3d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
7f77aed5070981ffa5ccb88b233664962c712f40 22-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Merge "Replace useless CharSequence to String"
15f6d4ae34664ea3d92827a2c3003198c0bac70b 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Add @UsedForTesting and @ExternallyReferenced annotations

Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
bc464e2952e102219f0b977fc1e9140ad5bd03e4 03-Oct-2012 Tadashi G. Takaoka <takaoka@google.com> Replace useless CharSequence to String

Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
a28a05e971cc242b338331a3b78276fa95188d19 27-Sep-2012 Tadashi G. Takaoka <takaoka@google.com> Cleanup: Make some classes as final

Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
07d485d7051a27e727163dc406cb0ef9a5eae2cc 22-Aug-2012 Jean Chalard <jchalard@google.com> Merge "Fix a silly bug." into jb-mr1-dev
32f6503a27fd91ae2e72ab49b0f67dcb0ee76566 21-Aug-2012 Jean Chalard <jchalard@google.com> Fix a silly bug.

This would prevent user history to work at all.

Bug: 7023638
Change-Id: I5d8867a07fb8859325d274e956ae667c094d0ac1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
5f282ea9e4a4590fcbab6e27d5fca7dacbb40a6a 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Add CollectionUtils class to create generic collection easily

Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ac78633be28e8990fc3b3a8de192c80966e746e3 21-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Rename and consolidate some constants

Change-Id: I7863936cca18b28bf0117afcbcf544a5fd7f185d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
4c976aceeef7238cabbbb29f5793b4e805d087e5 03-Aug-2012 Jean Chalard <jchalard@google.com> Fix an OOB exception

Not sure exactly how this can happen, but at least this should
prevent us from crashing.

Bug: 6920884
Change-Id: I451864756b48c5cb5e98b06edee917d88766d77f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
f5943153ad2ba611feec916119dca2343a1ef6de 09-Jul-2012 Jean Chalard <jchalard@google.com> Cleanup old methods (A90)

Change-Id: I5435cef8ac6be523934ffa394952cb120c8e89d6
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
b30d2185f24e3d531f5d46249e7c97391705e469 09-Jul-2012 Jean Chalard <jchalard@google.com> Implement the common Dictionary interface (A89)

This will de-duplicate a lot of existing code.

Change-Id: Idaffb2fde23b9741f057bcb2ecb3dde9d12ea5c5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
a69f12a246b6c047faf7002a57b1cebc3721d731 09-Jul-2012 Jean Chalard <jchalard@google.com> Reduce method visibility (A88)

Change-Id: I29d6afbcba0998558c9b19287a460d9f0e410994
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
0f57bdc0e5d1ecebc00bff36d5ce544f343b5589 09-Jul-2012 Jean Chalard <jchalard@google.com> Factorize code (A87)

Why was this copy-pasted :(

Change-Id: I6a537c56425ad039d7301a5fe1e0485784f07914
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
4e42e378fa41cfacf2c393a9428d75f6c6a0d7a8 09-Jul-2012 Jean Chalard <jchalard@google.com> Move stuff around for readability (A86)

Change-Id: I5f4a18e43f3012acf96978d625325bf7c69c9c80
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
71538b08e4e08d556f700ad344562ca2c7b74d82 29-Jun-2012 Satoshi Kataoka <satok@google.com> Add input pointers

Change-Id: I95300bf0a847fb86d026e846ff4ad723bb45284f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
24eec0fa680f97e64d1fa0df754acbad95ed9a76 27-Jun-2012 Jean Chalard <jchalard@google.com> Remember the source dictionary for each suggestion.

Change-Id: I3c63372bd5572a479a67eaecfe8c8ea1cabc70d9
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
05efe576f976f5fa280f8d523f2935c15cbb9bd1 27-Jun-2012 Jean Chalard <jchalard@google.com> Cleanup the dictionary type.

Stop storing an int in each of the different class types, and
just store a string in the top class.

Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
2f1b6c9ea438841fc2a7262a0593739c3dc82782 21-Jun-2012 Jean Chalard <jchalard@google.com> Remove the callback argument to getBigrams() (A16)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I7457ac04f8cd4019fb86c986725aae3de1b1a65e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
60eed92dc37e59403142ac35bdf676ae7ceac298 21-Jun-2012 Jean Chalard <jchalard@google.com> Remove the callback argument to getWords() (A15)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I919bf70a1213ab5d7c7a9e5715bd72a6e257148b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
2225b3bace388ba0b8789254da09fb9f6a6250e3 21-Jun-2012 Jean Chalard <jchalard@google.com> Do away with Utils#addAllSuggestions (A14)

It's not used any more.

Change-Id: Id9da40fdbf7078f3ac647d1368237d6601f5a2ba
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
d82898c5a91f8aa69d5dc594b7a9290b8be1247a 12-Jun-2012 Jean Chalard <jchalard@google.com> Change the return type of getWords and getBigrams (A8)

This only returns stuff, but it doesn't change yet how the data
is really passed. It merely adds a way of getting the same data.
Later, the old way will be removed.

Change-Id: If3a064de362175fc5a6781b7a97b65d8730aaf3c
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
d7b9e8f503cd0f4616506ed891efd468dfdbef0e 12-Jun-2012 Jean Chalard <jchalard@google.com> Remove another dependency to WordCallback (A4)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: I5b277124dc9244e78c4a1f4d542a55071eb479bd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
73680097996ea2ddbca3f84144a00ce3ba66b763 25-Jun-2012 Satoshi Kataoka <satok@google.com> Change JNI for Gesture

Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
7c406ed655be0b6a12c1792d810504a32ec878fd 12-Jun-2012 Jean Chalard <jchalard@google.com> Tentatively remove a dependency on WordCallback (A3)

Bug: 6252660
Bug: 6166228
Bug: 2704000
Bug: 6225530
Change-Id: Id5a59eaec2aeefa0ba4524420a8e035d383f6545
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
7214617622fce8f3fea6620e782c16336260a2a3 08-Jun-2012 Jean Chalard <jchalard@google.com> Remove a slew of Eclipse warnings.

Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
c88f61215c5b9ca6e0cc3f776e3b7da19eec9cae 29-May-2012 Satoshi Kataoka <satok@google.com> Set level 1 as the initial value of the valid words

Bug: 4192129
Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
fd53b8cc2b78acd7e33f4dc39cfc2faaea92f0f8 18-May-2012 satok <satok@google.com> Forget user history

Bug: 4192129

Change-Id: Ic98398e5383093a1c24373849eadc48fc4d3626f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
93ebf74bae44728e0d5f7e738ea28376187a876e 25-May-2012 Tadashi G. Takaoka <takaoka@google.com> Clean up some compiler warnings

Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
c54d558e2e70bdfb2c1078cae7b88440d421dc67 23-May-2012 satok <satok@google.com> Cancel adding user history bigram when autocorrection is cancelled

Bug: 6465474
Change-Id: Ifbfe0ddc2ce5fab070939ede3db7bf03a8535a45
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
19ad9bf1457af47d98d6464392ca2e1c431f9d1f 11-May-2012 Jean Chalard <jchalard@google.com> Read and use user dictionary shortcuts.

Bug: 4646172

Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ac27e4544b5b5ff7b4f365a4bde5c288d511ae13 16-Apr-2012 Jean Chalard <jchalard@google.com> Pass the previous word to getSuggestions

This is a preparative change to bug#6313806

Change-Id: I1be9ec49b21005c1f45ce459fa93712bc74ef3f0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
209dd09e5a534b5819c70fbc5cc1ef056f77d1a3 02-Apr-2012 satok <satok@google.com> Come back the proximity correction to ExpandableDictionary

Bug: 6242539
Change-Id: Ic0467d54c9d85d0653812d4e127328878ef15b94
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
9611b281e18ac71d825ff5bc771a111423772cb3 28-Mar-2012 satok <satok@google.com> Fix AIOOBE

Bug: 6236912
Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
01ab7c8b59a7f12862fbd95fb252e56719f1757f 27-Mar-2012 satok <satok@google.com> ongoing cleanup 2

Change-Id: I66b61cbe491cf8375144e834390beae3209a777d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
6e082cb30dbe1a8cc314b474dc1377b85fdb25c2 25-Jan-2012 Jean Chalard <jchalard@google.com> Convert an internal enum into an int of same underlying value.

Goes together with Id4f4e066

Bug: 5922118
Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
2d74806262431ce25b159e1ec5c6ac4a26007c3e 15-Dec-2011 Tadashi G. Takaoka <takaoka@google.com> Change visibility to avoid synthetic accessor method

Change-Id: Ie93c7437fb9a3fe63adaa48c2d4a723f96c0a0e1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ab72a97d7ce44230a0c824797d1675a5ca354a56 04-Oct-2011 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused import

This change also gets rid of several compiler warnings.

Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
f019d505d7da97c03c321eef02c4879c4e0448f6 29-Aug-2011 Jean Chalard <jchalard@google.com> Fix a bug with synchronicity of spell checking/user dict

This fixes a race condition that would end up with the spell
checker not finding some words in the user dictionary when it
just booted.

Bug: 5194627
Change-Id: I1ba911cc53e6ae3b111d54a6f91d1d5feef3f5de
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
150bad6fd4b401177c480acf5640b4db0f821886 18-Aug-2011 Jean Chalard <jchalard@google.com> Have the spell checker use the User dictionary.

Bug: 5175868
Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
043f7841985916717f4fa821fe3e423daf3ff2f5 03-Aug-2011 Jean Chalard <jchalard@google.com> Create a way to pass the proximity info to the dictionary

This is a preparative change for inserting the spell checker.

Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ed8c29568dd0fba78fe7c7a9edec60ef6347d2a6 23-May-2011 Jean Chalard <jchalard@google.com> Squash case for bigram insertion/lookup.

Bug: 4464446
Change-Id: If7b6d73fb408d53f941c82ed4f47221e85c845d8
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
0730bbfbf5e37bbcb5c287aeff71b304c833a36e 28-Apr-2011 Jean Chalard <jchalard@google.com> Straighten out magic space vs real spaces behavior.

Picking a suggestion inserts a space after the word. This change makes
this space a magic space.

Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE
and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code,
and remove a useless import directive in some unrelated file.

Bug: 4319740

Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
3e2368286294077421240b89e7e3cadb435ce4e0 06-Apr-2011 Jean Chalard <jchalard@google.com> Reinforce user-history based bigram use.

- Have user-history based bigrams used as soon as they are entered,
not after 6 times.
- Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
has no effect on main dict bigrams which already have this limit)
- Some TODO resolving

bug: 4192129

Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
e7a2512aa3666e1b891dc7dfc5a0cb28fd66bea9 15-Mar-2011 Tadashi G. Takaoka <takaoka@google.com> Add Utils.equalsIgnoreCase methods

This change also corrects usage of "frequency", "priority" and "score"
* Frequency is the relative probability in dictionary.
* Score is the relative probability in suggestions.
* Priority is kind a sorted score.

Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
eaecb56f948a4979e72346f6c5c64b56f7bc7bbf 05-Mar-2011 Jean Chalard <jchalard@google.com> Merge "Demote skipped characters matched words with respect to length." into honeycomb-mr1
07a8406bc184a354ea47fb6352e48df39e35310e 03-Mar-2011 Jean Chalard <jchalard@google.com> Demote skipped characters matched words with respect to length.

Words that matched user input with skipped characters used to be demoted
in BinaryDictionary by a constant factor and not at all in those dictionaries
implemented in java code. To represent the fact that the impact of a skipped
character gets larger as the word is shorter, this change will implement a
demotion that gets larger as the typed word is shorter. The demotion rate
is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
It implements it for both BinaryDictionary and java dictionaries.

Bug: 3340731
Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
baf263caf4681052fa627abe26efc9abfef40080 05-Mar-2011 Ken Wakasa <kwakasa@google.com> Fix a NPE caused by a null typedWord

bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
887f11ee43ad621aa6ad93d535ab7f48dec73fc7 10-Feb-2011 Tadashi G. Takaoka <takaoka@google.com> Remove next letters frequency handling

Bug: 3428942
Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
255c044b0e7632e3bb8bb85ea0672425f30a3a88 09-Jan-2011 Ken Wakasa <kwakasa@google.com> Fix StringIndexOutOfBoundsException

bug: 3325065
Change-Id: Ic3d2dca5b2aa1681d472c7f96b31737e15f4952d
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
e26ef1bccddc942fdaeada3409c8e8ff18a35008 10-Dec-2010 Tadashi G. Takaoka <takaoka@google.com> Remove Tutorial class and unused debug feature

This change also cleanups compiler warnings.

Bug: 2897373
Change-Id: If972cf45c1eb40436adbddbf71969e5409f4c9c5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
fa086c90760bc2bedf0b74eacb0fed3bf7ebc2b7 29-Nov-2010 Tadashi G. Takaoka <takaoka@google.com> Cleanup unused Java import

This change also fixes wrong file mode.

Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
ac093396ba20437a240dbcf4e2b35f9d5355bd6c 04-Aug-2010 Jae Yong Sung <jysung@google.com> -UserBigram
-UnitTest for UserBigram
-Changes for number of bigrams to load

Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
80aa14fd432cf7d2c67f2fcfcc57c80f29f8eb64 26-Jul-2010 Jae Yong Sung <jysung@google.com> - separate dict (uses xml)
- retrieve bigrams that only starts with character typed and neighbor keys
- contacts bigram
- performance measure

bug: 2873133

Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
b9c57e6540502ef3b2941235bbbede4dedfdcfb7 16-Jul-2010 satok <satok@exia.tok.corp.google.com> Merge remote branch 'goog/master'

Conflicts:
java/res/xml/prefs.xml
java/src/com/android/inputmethod/latin/BinaryDictionary.java
java/src/com/android/inputmethod/latin/Dictionary.java
java/src/com/android/inputmethod/latin/ExpandableDictionary.java
java/src/com/android/inputmethod/latin/LatinIME.java
java/src/com/android/inputmethod/latin/Suggest.java
tests/src/com/android/inputmethod/latin/tests/SuggestTests.java
937d5ad0131267aa4273f3e5d75b203a1f263c18 01-Jul-2010 Jae Yong Sung <jysung@google.com> added bigram prediction
- after first character, only suggests bigram data (but doesn't autocomplete)
- after second character, words from dictionary gets rearranged by using bigram
- compatible with old dictionary
- added preference option to disable bigram

Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
4ee3676cf38f3f9b2587f37e259b6d7511ef4ab1 02-Jun-2010 satok <satok@google.com> Check suggested words whether they are from mainDic or not

- Added counters for suggestions by dictionarys
- Added a counter for cancelled suggestions

Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
283a77f633e92ed7dbe96b083c921fc244bbe880 10-Mar-2010 Amith Yamasani <yamasani@google.com> Load UserDictionary and AutoDictionary in a background thread.

This is to avoid ANRs during bootup, as some of the providers
may not have been initialized yet.

Refactored the ContactsDictionary and moved the async loading
code to ExpandableDictionary to share with the other dicts.

Bug: 2501133
Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java
07b1603a3f9611f6d15dd7fcedf883d6ef8e5817 09-Mar-2010 Amith Yamasani <yamasani@google.com> Don't let the native code target be included twice when unbundling.

Move java code to a different directory so that the unbundled
version doesn't try to compile the native code again.

Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ExpandableDictionary.java