| Commit message (Expand) | Author | Age | Files | Lines |
... | |
* | Move some auto-correction logic to where it belongs•••Change-Id: I897c5ec3a630a4a6bfc593906df4d3fc7b244482
|  Jean Chalard | 2012-03-09 | 1 | -4/+20 |
* | Reduction, step 8•••Change-Id: I54334039597e235e24f169e34c1d44109180ee88
|  Jean Chalard | 2012-03-09 | 1 | -15/+11 |
* | Reduction, step 7•••Change-Id: I177ef2f29c8b6000c5e3d021c016c5d216fe3fc6
|  Jean Chalard | 2012-03-09 | 1 | -21/+17 |
* | Reduction, step 6•••Change-Id: I22ad4cea0e0cac23813da7e788f5c94974ce0ebf
|  Jean Chalard | 2012-03-09 | 1 | -1/+3 |
* | Reduction, step 5•••Change-Id: Iac52e62c2bdffad14f916f69eade2b785bb41767
|  Jean Chalard | 2012-03-09 | 1 | -11/+3 |
* | Reduction, step 4•••Change-Id: Ib27dc6e9486c3f0f2ec1e94a88a52d12c1af2d38
|  Jean Chalard | 2012-03-09 | 1 | -21/+3 |
* | Reduction, step 3•••Change-Id: I0e08b102c9539d97c473505b9d42176c4a7c8853
|  Jean Chalard | 2012-03-09 | 1 | -36/+7 |
* | Reduction, step 2•••Change-Id: I06e117df43d25dbaf9fc7a7366efd9355a6215ce
|  Jean Chalard | 2012-03-09 | 1 | -63/+9 |
* | Reduction, step 1•••Change-Id: Ic3ed04300cfd4c0b69b93b27379aca4093b32f67
|  Jean Chalard | 2012-03-09 | 1 | -7/+7 |
* | Separate bigram prediction from suggestion process•••Change-Id: Ibdef206fbd6688a45cebbd7fb8a9f6cd175d03b0
|  Jean Chalard | 2012-03-09 | 1 | -0/+150 |
* | Export some more logic out of Latin IME•••Change-Id: Ib264533a05e9e09347bf254789e6ab5beec92400
|  Jean Chalard | 2012-03-09 | 1 | -10/+7 |
* | Export some logic out of LatinIME•••Hopefully that will end in Suggest/SuggestedWords being autonomous
and won't need the logic spoon-fed to them
Change-Id: I915661bce13c69c8a5b8e5d4a8c41e18fea594cf
|  Jean Chalard | 2012-03-09 | 1 | -2/+12 |
* | Merge "Remove useless tests (B5)" |  Jean Chalard | 2012-03-08 | 1 | -10/+5 |
|\ |
|
| * | Remove useless tests (B5)•••WordComposer#getTypedWord() may not return null. Don't test for it.
Change-Id: I6aff14892503d0c275a3328c404ed99d2f40a687
|  Jean Chalard | 2012-03-09 | 1 | -10/+5 |
* | | Merge "Optimize and clean up (B2)" |  Jean Chalard | 2012-03-08 | 1 | -5/+10 |
|\| |
|
| * | Optimize and clean up (B2)•••Stop parameters from escaping and don't do useless work and
simplify the code.
Yay.
Change-Id: I0dfc3e14b1cb50e0730f6d9c1d52b54516baa90e
|  Jean Chalard | 2012-03-09 | 1 | -5/+10 |
* | | Limit escape of parameters•••Change-Id: I3a7ab069042d5542ab2e033d1eeb13d718cd7698
|  Jean Chalard | 2012-03-09 | 1 | -6/+3 |
|/ |
|
* | Merge "Make AutoCorrection static and non-instantiable (A5)" |  Jean Chalard | 2012-03-08 | 1 | -4/+1 |
|\ |
|
| * | Make AutoCorrection static and non-instantiable (A5)•••This needs change Ic6756baa to not break the build
Change-Id: I1c772dd99d63fec5d3ad67a0eb7fbc28ec7a0f0f
|  Jean Chalard | 2012-03-08 | 1 | -4/+1 |
* | | Merge "Move a memory in the container class (A4)" |  Jean Chalard | 2012-03-08 | 1 | -2/+5 |
|\| |
|
| * | Move a memory in the container class (A4)•••This allows us to make AutoCorrection a purely static class.
Change-Id: I15b81bd7f3d6ea487154a5b09a81bc323be82ce1
|  Jean Chalard | 2012-03-08 | 1 | -2/+5 |
* | | Merge "Remove an unused method" |  Jean Chalard | 2012-03-08 | 1 | -14/+0 |
|\ \ |
|
| * | | Remove an unused method•••Who would have guessed this wasn't being called at all.
Change-Id: Ib74a212356ea44e9bf149619ed5464c14684a1ba
|  Jean Chalard | 2012-03-09 | 1 | -14/+0 |
* | | | Merge "Stop uselessly remembering a value (A2)" |  Jean Chalard | 2012-03-08 | 1 | -1/+5 |
|\ \ \
| |/ /
|/| /
| |/ |
|
| * | Stop uselessly remembering a value (A2)•••The value is only used in debug mode, and it can be recomputed
at the time.
This change does not impact the logic. There is however a side
effect: in debug mode, the normalized score will be displayed
also when the word comes out of the whitelist or is a valid word.
It's actually a good thing.
The end purpose is to make all methods in AutoCorrection static.
Change-Id: I1642b1fdfa6ae62b8aa2fed94a8a26ff4a7e4d0e
|  Jean Chalard | 2012-03-08 | 1 | -1/+5 |
* | | Split Utils class to StringUtils, SubtypeUtils, and JniUtils•••Change-Id: I09e91675fe7d573dad8c933ad513b21d7e409144
|  Tadashi G. Takaoka | 2012-03-08 | 1 | -3/+47 |
|/ |
|
* | Integrate the logic to calculate the proximities•••Bug: 4343280
Change-Id: I0f6a7e6912ed4abea07c10d266da4c7ccb0dae76
|  satok | 2012-03-06 | 1 | -1/+0 |
* | Convert an internal enum into an int of same underlying value.•••Goes together with Id4f4e066
Bug: 5922118
Change-Id: I1e39dd01c67e9284d9d7fe008d868847e69986d7
|  Jean Chalard | 2012-01-26 | 1 | -6/+6 |
* | Fix SuggestTests•••We need revised scoring test because dictionary look up algorithm has
been changed significantly since this SuggestTests was made.
Change-Id: I69d527a6bfa24ed0dc189fddad1afab0566c6eb8
|  Tadashi G. Takaoka | 2012-01-13 | 1 | -1/+1 |
* | Stop a flag from escaping.•••The ultimate intent is to close it up in the settings, as it does not
change while typing, only when the keyboard is open again.
Change-Id: I12ff56e7482c1584877fe5531473bf03e95a60f6
|  Jean Chalard | 2011-12-09 | 1 | -15/+8 |
* | Remove a useless method•••Change-Id: Ib6a0ee21bfe2000231f9ba7bcad4b18ae57e4249
|  Jean Chalard | 2011-12-08 | 1 | -4/+0 |
* | Keep count of the trailing single quotes for suggestions•••Bug: 5665809
Change-Id: I4d9100dbe980861ccb55c78464524be670cac1f7
|  Jean Chalard | 2011-11-29 | 1 | -11/+19 |
* | Special case quotes at start and end of words•••Single quote at start of word is not considered a part of a
word any more.
Single quote at the end of a word now behave like capitalization:
lookup in the dictionary is done *disregarding* a final quote,
and it is forcefully added back into the suggestions afterwards.
Bug: 5566368
Change-Id: I14dd3815f4b743edba56d64a3abdf4b73d863a6a
|  Jean Chalard | 2011-11-21 | 1 | -13/+30 |
* | Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
|  Tadashi G. Takaoka | 2011-10-28 | 1 | -2/+3 |
* | Use the whitelist as a dictionary in the spell checker.•••Bug: 5402436
Change-Id: If89b8bbdebf6751697c4788270d01d4639cff665
|  Jean Chalard | 2011-10-07 | 1 | -3/+3 |
* | Make the whitelist an instanciable class.•••This goes together with I6b8628b9acc32449e4147a2a754b222fbb76c754
or it will break the build
Bug: 5402436
Change-Id: I07c6266b713773a8de80bb22afdd4c566261f78a
|  Jean Chalard | 2011-10-06 | 1 | -8/+10 |
* | Remove code related to AutoText•••Bug: 5245751
Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
|  satok | 2011-10-03 | 1 | -34/+6 |
* | Avoid returning an object that's still used internally•••There is no definite path known for this to end up being
touched by other classes, but we could imagine through
some way or some other it ends up shoved in the stringbuilder
pool, leading to catastrophic results.
Hopefully related to
Bug: 5248688
Change-Id: Ib8abfc31263cbf31d515ed607ced5d8253971938
|  Jean Chalard | 2011-09-15 | 1 | -4/+2 |
* | Fix a bug where autotext would occasionally not work•••Autotext correction would check whether the first suggestion
so far was the same as what Autotext would return, and if it
was indeed the same, would not send its result as
autocorrect. However, the first suggestion is not guaranteed
to have a high enough score to trigger autocorrection, and
there would be cases where a word in autotext would not get
autocorrected because the word came out of bigram
suggestions. These occurrences would be extremely rare, as
they would require concomitant insert between autotext for
one char and bigram suggestion. It is, in fact, probably
limited to the capitalization of "I".
This did not happen in gingerbread because gingerbread would
not register 1-letter words as valid bigrams.
This fix works by just always sending the result of autotext
regardless of whether it is already the first suggestion or
not. This is okay because duplicates are removed afterwards
anyway - and this processing is absolutely necessary because
the autotext'd word may actually be somewhere else in the
suggestion, so it made really no sense checking for only the
first one.
Please note that there is also a race condition that can
result in "i" not being converted to "I": at the moment,
Latin IME relies on having the suggestions evaluated
at the time autocorrection is performed, but when typing
very, very fast, those messages may have been canceled.
This is not limited to the autocorrection of "i", but
affects all autocorrections. It requires a nearly
inhumane typing speed to trigger, but hitting "i" and
space in turn as fast as one can it's possible to
reproduce occasionally.
Bug: 5135113
Change-Id: I530ea6212487300001a2c0fc5b25a5c7716bdf63
|  Jean Chalard | 2011-09-01 | 1 | -15/+5 |
* | Fix a bug with the string pool.•••This also adds some optional debug code to detect more easily possible
future occurrences of the same problem.
Bug: 5195017
Change-Id: I2558b468e46f7090de868f1ec2dc9e24895d670f
|  Jean Chalard | 2011-08-23 | 1 | -1/+8 |
* | Move the dupes-removing method to the Utils class•••This is preparation for bug: 5175740
Change-Id: I18b2042317f740cb1e021d3dfbf90ecfbb1a1d37
|  Jean Chalard | 2011-08-19 | 1 | -28/+1 |
* | Make the string builder pool in Suggest a singleton.•••This is internal refactoring, done as preliminary work to fix
Bug: 5175740
Change-Id: I21bd4c001c27e7b925ddb87a152105b4dcab320a
|  Jean Chalard | 2011-08-18 | 1 | -40/+14 |
* | Refactor string removal to make it static•••The next step is to move this over to the Utils class.
The ultimate goal is to make use of the duplicate removal code
also in the spell checker as per
Bug: 5175740
Change-Id: Ica36691b843b0713b832c56ffc65e5b2ec427c4a
|  Jean Chalard | 2011-08-18 | 1 | -7/+8 |
* | Stop reloading contacts when not appropriate.•••A recent change had the contacts reloaded every time a new field
is touched. This change not only fixes the problem, but also removes
reloading contacts when changing language, which should make language
switch within LatinIME lighter.
Bug: 5125034
Change-Id: Ia61c4f75a8617113cdce88a2e2c6fdf073146a2d
|  Jean Chalard | 2011-08-09 | 1 | -1/+7 |
* | Correction mode should not rely on the existence of the main dic•••bug: 5114094
Change-Id: I2088918ec2c9ad6f8db13b55e58d3e73e180aef8
|  Ken Wakasa | 2011-08-08 | 1 | -0/+2 |
* | Create a way to pass the proximity info to the dictionary•••This is a preparative change for inserting the spell checker.
Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
|  Jean Chalard | 2011-08-04 | 1 | -6/+10 |
* | Load the binary dictionary asynchronously.•••This should help with LatinIME opening performance.
It should not be merged before Ia9e4741f (if it is, there is a
race condition where the wrong dictionary is opened).
Bug: 5023141
Change-Id: I39c52de70a449929a622dddfdd92b38425ad9416
|  Jean Chalard | 2011-07-27 | 1 | -15/+35 |
* | Rename AutoDictionary to UserUnigramDictionary.•••...and adjust internal functions, variables and constant names.
Bug: 3459274
Change-Id: I1b11c6adfee360ac0fc22d627955688b3dbdcffc
|  Jean Chalard | 2011-07-15 | 1 | -8/+14 |
* | Support Turkish keyboard•••I left TODOs in Suggest.java because we must pay attention to locale
when changing character's case. Filed another Bug: 4769095 to track
that.
Bug: 4768050
Change-Id: I1ae2c4ffd2208403a8c2a25dd3a56b71dcefc826
|  Tadashi G. Takaoka | 2011-06-21 | 1 | -0/+3 |
* | Close dictionary appropriately•••The dictionary that extends ExpandableDictionary must be closed when
it becomes unused.
Bug: 4725930
Change-Id: Ib5d2c39771fb7010d303a26d1ea1c8e237c0101f
|  Tadashi G. Takaoka | 2011-06-20 | 1 | -28/+21 |