| Commit message (Expand) | Author | Age | Files | Lines |
* | Make DictionaryFactory.killDictionary public•••Change-Id: I9a0733392651714b3ba232cdb805565a5238eb93
|  Mohammadinamul Sheik | 2015-02-25 | 1 | -1/+1 |
* | Merge "Make LocaleUtils.constructLocaleFromString as @Nonnull" |  Tadashi G. Takaoka | 2014-11-28 | 1 | -19/+17 |
|\ |
|
| * | Make LocaleUtils.constructLocaleFromString as @Nonnull•••Change-Id: I82d574c67b25239510f3ecc8882efe46e40677eb
|  Tadashi G. Takaoka | 2014-11-21 | 1 | -19/+17 |
* | | Remove unused code from DictionaryFactory•••Change-Id: I666308ada968ee7993235ad98b92f2ad522af122
|  Tadashi G. Takaoka | 2014-11-21 | 1 | -52/+3 |
|/ |
|
* | [ML3] Put the locale in SuggestedWordInfo•••...and remove it from SuggestionResults.
Change-Id: Iae85ec7e82e2caf18cc6d7656aa46dc150707cdd
|  Jean Chalard | 2014-09-01 | 1 | -3/+3 |
* | Use Java 7 diamond operator•••Change-Id: If16ef50ae73147594615d0f49d6a22621eaf1aef
|  Tadashi G. Takaoka | 2014-05-24 | 1 | -2/+1 |
* | Reset to 9bd6dac4708ad94fd0257c53e977df62b152e20c•••The bulk merge from -bayo to klp-dev should not have been merged to master.
Change-Id: I527a03a76f5247e4939a672f27c314dc11cbb854
|  Ken Wakasa | 2013-12-13 | 1 | -0/+50 |
* | Use reentrant lock for main dictionaries.•••Bug: 10964805
Change-Id: Iaa9b79fc770d8ae2ec9d7c362c90c28bc9f65ea8
|  Keisuke Kuroyanagi | 2013-09-30 | 1 | -16/+15 |
* | Add a parameter isUpdatable to the constructor of BinaryDictionary.•••Bug: 6669677
Change-Id: I6bc25131afd97112e3bbde036a81ab559a9a6460
|  Keisuke Kuroynagi | 2013-06-25 | 1 | -3/+5 |
* | Move util classes to the latin/utils directory•••Change-Id: I1c5b27c8edf231680edb8d96f63b9d04cfc6a6fa
|  Ken Wakasa | 2013-06-24 | 1 | -0/+2 |
* | Make it easy to open several dictionaries from tests•••Bug: 9127175
Change-Id: I3f1840ee73b364df26dfddb5acb10001e0f2cb61
|  Jean Chalard | 2013-05-31 | 1 | -10/+13 |
* | Refactoring•••This creates a new DictionaryInfoUtils class and moves a bunch
of static methods there for later usage.
Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
|  Jean Chalard | 2013-01-29 | 1 | -47/+4 |
* | Fix Apache license comment•••Change-Id: Ic56167f952a7f4449da366e1e81610e72c966086
|  Tadashi G. Takaoka | 2013-01-21 | 1 | -8/+8 |
* | Remove BinaryDictionary.MAX_PREDICTION and MAX_SPACES, and rename MAX_WORDS t...•••Change-Id: Iab2a422b367e7521f346481c7fe5e2575f2e9de3
|  Ken Wakasa | 2013-01-11 | 1 | -8/+6 |
* | Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
|  Tadashi G. Takaoka | 2012-09-27 | 1 | -1/+1 |
* | Add CollectionUtils class to create generic collection easily•••Change-Id: I6b4de9187e122298e5e9cd8ddc9070d062df6a89
|  Tadashi G. Takaoka | 2012-08-22 | 1 | -1/+1 |
* | Move constants to a better place.•••Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
|  Jean Chalard | 2012-06-27 | 1 | -5/+5 |
* | 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
|  Jean Chalard | 2012-06-27 | 1 | -5/+6 |
* | Change JNI for Gesture•••Change-Id: I774a0052038d16677f60f7efa11fd266cb5f3088
|  Satoshi Kataoka | 2012-06-25 | 1 | -3/+3 |
* | Clean up some compiler warnings•••Change-Id: I604da15e65fc3cf807ec4033df4e4cd5ef0196fc
|  Tadashi G. Takaoka | 2012-05-25 | 1 | -1/+0 |
* | Don't auto-correct when there is no main dictionary.•••Bug: 6502485
Change-Id: I5803b0db8552867110587a1140fc03fc2e0eccef
|  Jean Chalard | 2012-05-16 | 1 | -5/+5 |
* | Remove LatinIME reference from DictionaryFactor class•••Change-Id: Iad10e71baa81a1b4eb3c84ead47d658d567b8201
|  Tadashi G. Takaoka | 2012-04-19 | 1 | -7/+8 |
* | Pass a parameter to the dict pack if we don't have a default dict•••Also, optimize quite a bit the code that decides whether we have
a default dict or not.
Bug: 5705834
Change-Id: Ied20fbcbbc42cbe8c01759d11b1804d1156c6960
|  Jean Chalard | 2012-04-12 | 1 | -42/+20 |
* | Read the dictionary resource in a more sensical place.•••We don't need to pass this down all the way from LatinIME any more.
It fetched be done exactly where it needs to be.
Change-Id: I9f277f9c4f9de70ae755a1334d86c67bbb24c988
|  Jean Chalard | 2012-04-11 | 1 | -14/+10 |
* | Add language suffix to main dictionary•••Bug: 6319377
Change-Id: Ie6a887fefa12e33c17bfeb5d22984e7c1a7bdb46
|  Tadashi G. Takaoka | 2012-04-11 | 1 | -44/+45 |
* | Change the flags to a boolean in constructors.•••Change-Id: I9939204f3b16346aaebd4d726315ba9c4faf910a
|  Jean Chalard | 2012-04-06 | 1 | -10/+11 |
* | Fix the locale of the flags in BinaryDicitonary for tests•••Bug: 6129372
Change-Id: I5611f88b10c44261b6145c9dc8615b80e4341e77
|  satok | 2012-04-05 | 1 | -2/+2 |
* | Fix the locale of flags in BinaryDictionary•••Bug: 6129372
Change-Id: I4958c2aabf651d7e26648a29b75fcc6c77813451
|  satok | 2012-04-04 | 1 | -3/+4 |
* | Add RunInLocale class to guard locale switching•••Bug: 6128216
Change-Id: I8d9c75c773c3de886183b291ada7a3836295839b
|  Tadashi G. Takaoka | 2012-04-03 | 1 | -38/+40 |
* | Small performance improvement by removing interface accesses.•••Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
|  Ken Wakasa | 2012-03-17 | 1 | -3/+3 |
* | Split Utils class to StringUtils, SubtypeUtils, and JniUtils•••Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
|  Tadashi G. Takaoka | 2012-03-08 | 1 | -2/+12 |
* | Make use of the FULL_EDIT_DISTANCE flag.•••In effect, this stops the spell checker from suggesting overly
long words.
More precisely, it takes advantage of the new facility that
takes into account the whole length of the dictionary word when
computing scores, so words much longer than the input word will
see their score demoted accordingly.
Bug: 5384578
Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
|  Jean Chalard | 2011-09-30 | 1 | -4/+21 |
* | Move locale-related utility methods to LocaleUtils.•••Change-Id: I7e9e6e5bc4486d8618d0213b112308c3d305c15e
|  Jean Chalard | 2011-08-29 | 1 | -7/+7 |
* | Fix an excessive fallback problem.•••LatinIME has several fallbacks to ensure a dictionary is used.
However, it should now be possible to deactivate the main dictionary
through the dictionary pack settings. In this case, Latin IME should
not fallback to the built-in dictionary.
Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
|  Jean Chalard | 2011-08-23 | 1 | -18/+4 |
* | Have the spell checker use the User dictionary.•••Bug: 5175868
Change-Id: I165eee4c865caa5ee1daf3e0b1acde8788b996ef
|  Jean Chalard | 2011-08-19 | 1 | -2/+2 |
* | Set the locale for opening an asset•••This is necessary because we don't know any more whether the
locale of the process is the expected one when the dictionary
is loaded asynchronously.
Bug: 5023141
Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
|  Jean Chalard | 2011-07-21 | 1 | -4/+14 |
* | Fallback to the included dict if the passed one is invalid•••If all dictionaries returned by the dictionary pack are invalid,
then fallback to the dictionary included in the resources for this
locale.
Bug: 5052486
Change-Id: Id875194ca56a74b2ed6f5b0b4fdd55475f6842c8
|  Jean Chalard | 2011-07-20 | 1 | -3/+15 |
* | 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
|  Jean Chalard | 2011-07-19 | 1 | -5/+15 |
* | Fix the available input locales and moved Recorrection•••Bug: 4409091
Change-Id: I6efd23ebb9528bf1bd35320057a0ea264c187451
|  satok | 2011-05-12 | 1 | -0/+19 |
* | 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
|  Jean Chalard | 2011-04-28 | 1 | -7/+10 |
* | Use the new Utils.setSystemLocale method in the new code.•••The change list that introduced this code was created at the same
time as the one that introduced the Utils.setSystemLocale method
and didn't use it yet. Fix this.
Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
|  Jean Chalard | 2011-04-27 | 1 | -7/+3 |
* | 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
|  Jean Chalard | 2011-04-27 | 1 | -0/+159 |