History log of /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ecab6aff5908bfd5b34670d2e2bb3696627fa47c 24-Oct-2014 Jean Chalard <jchalard@google.com> Remove Dict dependency on WordComposer and ProximityInfo

Bug: 18108776
Change-Id: I9b399a44241e05a7add9bb8094263aa76de37880
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
bb0eca57054758ef17b032d2654c1fc5f6b32101 29-Sep-2014 Keisuke Kuroyanagi <ksk@google.com> Rename PrevWordsInfo to NgramContext.

Bug: 14425059
Change-Id: Id06a71681fa8b5e589e29fba10fe5c1cfed66984
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
6da9b21191dc7d6049d96945366ec7e605e716e6 12-Sep-2014 Jean Chalard <jchalard@google.com> [ML8] Add a language weight

...and rename an improperly named normalization value

Bug: 11230254
Change-Id: I0f5633148a9f66dbfd7d28540b8a8985131c4549
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
576c96af95d7f1df869224ada78933d968e9a9c3 01-Sep-2014 Jean Chalard <jchalard@google.com> [ML3] Put the locale in SuggestedWordInfo

...and remove it from SuggestionResults.

Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
b8a9479b57007edb5cb12c628797f89a8164f596 08-Jul-2014 Keisuke Kuroyanagi <ksk@google.com> Move phrase gesture from additional features to public.

Bug: 15758242
Change-Id: I703dc2703afdf9402c5d2ac27411b74ece993dba
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
1910392eeddf2c9f4c1d34925e64f8d8772e7dc4 09-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Add Dictionary.isInDictionary().

Bug: 13142176
Bug: 15428247
Change-Id: If2d1c1fea7a69e41809a828da8dd032211ad144e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
166d8c2293eee268c62ecfba65d2d89d35d97540 06-Jun-2014 Keisuke Kuroyanagi <ksk@google.com> Make Distracter filter use getMaxFrequencyOfExactMatches().

Bug: 13142176
Bug: 15428247

Change-Id: I5c23fbea2851f891f76f19d9da2cb70ae964569b
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
a91561aa58db1c43092c1caecc051a11fa5391c7 23-May-2014 Tadashi G. Takaoka <takaoka@google.com> Use Java 7 diamond operator

Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
83c40a2301a0b5a42a75eecada48e7887a7c940e 19-May-2014 Keisuke Kuroyanagi <ksk@google.com> Use PrevWordsInfo instead of String in Java side.

Bug: 14119293
Bug: 14425059

Change-Id: I3d5da84881a49a04550180dd9aac2c37da2ed762
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
09c72207c634ec5e1350aff23f7abe7bb47e5671 16-May-2014 Keisuke Kuroyanagi <ksk@google.com> Make session id mandatory for getSuggestions.

Bug: 15008504
Change-Id: Ic4a17a4b7242118ae74fd89c695da2bb52204fb2
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
18f21f96e052b63b7eec273b18129fdee740f0e0 02-Apr-2014 Keisuke Kuroyanagi <ksk@google.com> Add languageWeight as an argument of getSuggestions.

Bug: 8187060
Change-Id: I8ae20c957a8e127b76c83cc3a65ff052d43bf2b5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.java
8aa9963a895f9dd5bb1bc92ab2e4f461e058f87a 21-Jan-2013 Tadashi G. Takaoka <takaoka@google.com> Fix Apache license comment

Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
b6ca354431367b625daf9fff5fbe4b1f5ef996ab 06-Jan-2013 Ken Wakasa <kwakasa@google.com> Small code cleanups

Multi-project commit with I249d5fbe

Change-Id: Ia28c4e970992aa1299a30e604eaa5d096655c3a5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.java
dba77186f78a9c8b449cc0def5153586ef3f81f9 06-Aug-2012 Tadashi G. Takaoka <takaoka@google.com> Fix duplicate getSuggestions() call for main dictionary

Change-Id: I092480063452505cdf03dbd83b9c64e535822931
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.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/DictionaryCollection.java
6080f6878b10916013a8a5e1d5f58f8041452c56 16-Jun-2012 Kurt Partridge <kep@google.com> Remove non-dictionary words and digit touch data.

Output to the ResearchLogger is now queued and only flushed if the word
the user was working on is a dictionary word.

multi-project commit with Ic713ec00777fbdcf4a937b3c77b995257e100fc7

Bug: 6188932
Change-Id: I9de15227ff51be23083d9096f1c1b3d83802fff7
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.java
f0e12a969974987f1b97929886c6ebe6a685c538 16-May-2012 Jean Chalard <jchalard@google.com> Don't auto-correct when there is no main dictionary.

Bug: 6502485
Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.java
660776e09b9a3b321074a94721d901a035ca1b9f 16-Mar-2012 Ken Wakasa <kwakasa@google.com> Small performance improvement by removing interface accesses.

Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
db5aedb5a5eea5224e5a732b689c97eead2e35f4 10-Nov-2011 Jean Chalard <jchalard@google.com> Add an option to use contacts or not while spell checking

Bug: 5447495
Change-Id: Iffb09895676c3dd1a79d1699b0eac865282508d4
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.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/DictionaryCollection.java
f6f0e63d79eabcd4f0cce9d697066028aed2f00a 22-Jul-2011 Jean Chalard <jchalard@google.com> Do not register null pointers as dictionaries

Bug: 5062425
Change-Id: I025991424de40c2b31b90238f99ef160e7efd92e
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
44861474fbea784f12fe86bc56d30d5d9be4ad81 19-Jul-2011 Jean Chalard <jchalard@google.com> Add a number of NULL pointer guards.

None of these are expected to actually be null, but those are
included for peace of mind and foolproofing against future
code changes.

Bug: 4580040
Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
516f18f97e7f89c1b328773834f2a133787fb071 16-Jun-2011 Jean Chalard <jchalard@google.com> Small performance fix.

This improves performance by not allocating an iterator.

Change-Id: I5511fd8b8d3aa826917620c0af994dbaf1562bb1
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
d8f52a4f18d22aa150846b01017410ce70bbad6f 27-Apr-2011 Jean Chalard <jchalard@google.com> Improve the architecture to support multiple dictionaries.

This change enables the interface to get multiple dictionaries from a
dictionary pack. It only implements it to the end in the case of the
proprietary method, as the open method needs still some working out,
and the "inside the package" method does not need it.

This change goes together with Iaa95bf36, and breaks the build
without it.

Bug: 1752028

Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java
4250eb27f54f8fedc388fe4825b0646a88778744 26-Apr-2011 Jean Chalard <jchalard@google.com> Create a dictionary collection and a dictionary factory.

The dictionary collection is a class complying to the Dictionary
interface that acts as a front end to a collection of arbitrarily many
dictionaries of any type.
The dictionary factory is a helper class for creating various
dictionaries and get some meta information about them.

At the same time, this change makes the BinaryDictionary class
not a singleton any more.

This also needs I9afe61a9 to not break the build.

Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/DictionaryCollection.java