| Commit message (Expand) | Author | Age | Files | Lines |
* | Move a couple classes to the utils package•••Change-Id: Ia14a2011d79bad7cd02697b9254705f6e2099442
|  Ken Wakasa | 2013-07-19 | 1 | -135/+0 |
* | Use localized toLowerString in AutoCorrection.isValidWord•••Bug: 9112465
Change-Id: I63eb4115f393444560e80220d4c90f0f7101b934
|  Tadashi G. Takaoka | 2013-05-24 | 1 | -3/+4 |
* | Remove redundant method AutoCorrection.isInTheDictionary•••Change-Id: I0737fb0b68f411f4db06014f2d94804935808922
|  Tadashi G. Takaoka | 2013-05-24 | 1 | -7/+0 |
* | Replace useless CharSequence to String•••Change-Id: Idc478f901185ee1b4912acc82d0cbc54fee4e991
|  Tadashi G. Takaoka | 2012-10-22 | 1 | -12/+11 |
* | Cleanup: Make some classes as final•••Change-Id: I6009b3c1950ba32b7f1e205a3db2307fe0cd688e
|  Tadashi G. Takaoka | 2012-09-27 | 1 | -1/+1 |
* | Stop auto-correcting non-whitelisted one-char strings•••Bug: 7134017
Change-Id: I75cf474dedafda3e1683dd8f7740c13aafdcf5ab
|  Jean Chalard | 2012-09-11 | 1 | -3/+3 |
* | Remove the whitelist dictionary.•••The functionality now lives in the binary dictionary.
This finalizes work on
Bug: 6906525
Change-Id: Id106d871e8afdf9afa886d2a30bea87ff89f2d24
|  Jean Chalard | 2012-08-17 | 1 | -2/+0 |
* | Optimization & Simplification•••It's useless to do the whitelist lookup twice. Also, putting
this test out of this method will allow whitelist entries to
come from other sources.
Bug: 6906525
Change-Id: I4afe678cae6556d16642d155ce770fbf4e61ad49
|  Jean Chalard | 2012-08-10 | 1 | -9/+2 |
* | Simplification (A116)•••Change-Id: I97cf92a7b0dabc251dd241b24978ea00d1e5f047
|  Jean Chalard | 2012-07-12 | 1 | -1/+2 |
* | Consolidate a method inside another (A45)•••It's simpler to check the safety net directly inside the
function that checks for auto-correction threshold.
This introduces one very slight change in behavior. The value
checked by the safety net is not any more the "typed word" but the
"considered word", the difference being any possibly appended
single quotes.
E.g. the user types "this'''" : the typed word is "this'''" but
the considered word is "this".
This change in behavior can be considered a bugfix.
Change-Id: Ia7ab4bc933183dfbd41bb00328e4c0b5ab76bc63
|  Jean Chalard | 2012-07-04 | 1 | -1/+2 |
* | Move the safety net function to AutoCorrection (A44)•••Change-Id: Iec791d061f237f60992dd6048c4a37b46f4cb9aa
|  Jean Chalard | 2012-07-04 | 1 | -0/+33 |
* | Rename a method for readability (A23)•••Change-Id: I6f569322e645d36bc82fddf4ec2fd621972e3b47
|  Jean Chalard | 2012-06-29 | 1 | -1/+1 |
* | Rename a method for readability (A19)•••Change-Id: I0b8c06d1fd0bfb3caf363c048acc7048abed1752
|  Jean Chalard | 2012-06-29 | 1 | -1/+1 |
* | Inline a method (A17)•••This will allow us to remove unnecessary processing
Change-Id: I251dfdaffb077906186686ebe65fd82e1e360bd2
|  Jean Chalard | 2012-06-29 | 1 | -7/+0 |
* | Make a function a one-liner (A16)•••...to better inline it
Change-Id: I88496b8f18b81f0c05e4bbf2d1039de1f93e0c25
|  Jean Chalard | 2012-06-29 | 1 | -2/+2 |
* | Inline a simple method (A15)•••Change-Id: Ib74fcbf33c680bf02c39a9896e30e3afbcfd149a
|  Jean Chalard | 2012-06-29 | 1 | -4/+0 |
* | Inline a method (A14)•••The new code is worse than the old one, but this is a necessary
step to make things prettier.
Change-Id: If6e8a139bb85e6920c749743c78792a22a8acb45
|  Jean Chalard | 2012-06-29 | 1 | -19/+3 |
* | Don't special-case 1-letter words (A13)•••There is no reason to prevent 1-letter words to auto-correct
to themselves, or to dictionary words. Don't do it.
Change-Id: Iceada847ae632336026ada29afed0353cd9c51b5
|  Jean Chalard | 2012-06-29 | 1 | -8/+6 |
* | Fix a theoretical bug (A12)•••If a word is a dictionary word but still has no suggestion,
this method should return true. In the practice, it makes
no difference since a word without suggestion won't be changed
anyway.
Change-Id: Ib1f5ef254b7da7e5cedb2f973529ad431beb93f9
|  Jean Chalard | 2012-06-29 | 1 | -5/+3 |
* | Rename a terribly-named method for clarity (A11)•••Change-Id: Id180000404dc6929d80f98c0e9cd2026230ad2d1
|  Jean Chalard | 2012-06-29 | 1 | -2/+3 |
* | Cleanup (A5)•••Change-Id: I06134145b47c46bbc6c340ca539f34a01e2ca163
|  Jean Chalard | 2012-06-28 | 1 | -1/+0 |
* | Don't pass everything to a function that needs only the head (A2)•••Change-Id: Ic367836202ab8071c1a9a02eaf0651b0da947d51
|  Jean Chalard | 2012-06-28 | 1 | -12/+11 |
* | Move constants to a better place.•••Change-Id: I5c27a3ed99b17f850e26a8503de16f001c7111c1
|  Jean Chalard | 2012-06-27 | 1 | -3/+3 |
* | Set level 1 as the initial value of the valid words•••Bug: 4192129
Change-Id: I867e78ce79c78977d08e8b66881a25b6fe5bf41f
|  Satoshi Kataoka | 2012-05-29 | 1 | -1/+19 |
* | Fix a bug with a concurrent modification of a map.•••Bug: 6538848
Change-Id: I1a8422356d9909213e53cfdc8c5bcc12eb48f19d
|  Jean Chalard | 2012-05-24 | 1 | -10/+12 |
* | Use "float" instead of "double"•••Change-Id: I93ed4d88ede4058f081dd8d634b00dfff4e96d07
|  satok | 2012-05-16 | 1 | -3/+3 |
* | move suggested words logpoint to SuggestionsView.java•••Bug: 6188932
Change-Id: I73974783783bb4453962cb9009656d86d2074409
|  Kurt Partridge | 2012-04-09 | 1 | -11/+0 |
* | add more data collection points to ResearchLogger (attempt #2)•••the new points are all at Log.x() positions; only those appearing directly
related to user input were added.
multi-project change with I159f5de2
this CL is the same as I618bcd07, which was reverted because of
incompatibilities with vendor branches.
Bug: 6188932
Change-Id: I999249dceb0c04f5a4ffbfff25caed09d24a2c52
|  Kurt Partridge | 2012-04-09 | 1 | -0/+11 |
* | Revert "add more data collection points to ResearchLogger"•••This reverts commit ac9e87c03ebbcbd70dd051a30ebf98d6baebedfc |  Kurt Partridge | 2012-04-06 | 1 | -11/+0 |
* | add more data collection points to ResearchLogger•••the new points are all at Log.x() positions; only those appearing directly
related to user input were added.
Bug: 6188932
Change-Id: I618bcd07b22c9efc794745678b073afe1e79a697
|  Kurt Partridge | 2012-04-06 | 1 | -0/+11 |
* | Combine candidate words and scores•••Bug: 5240798
Change-Id: Ie56c1c2cfd7f365e771fee88c1ed15012448feed
|  satok | 2012-04-02 | 1 | -10/+14 |
* | Small performance improvement by removing interface accesses.•••Change-Id: I6d91f3b086470b79306dbe2874db9748b9e0eb5f
|  Ken Wakasa | 2012-03-17 | 1 | -7/+7 |
* | Remove a useless test (B7)•••consideredWord is provably never null.
Change-Id: Ifaa0d2471c46f14967e70ad004d2b82f841a4566
|  Jean Chalard | 2012-03-09 | 1 | -2/+1 |
* | Rename a parameter (B6)•••This is not necessarily the typed word. Actually, the parameter
that's passed here has trailing single quotes culled out of it.
Change-Id: Ia2038faa2cbbd3a5b8263e6c0fb5b8e670993fe9
|  Jean Chalard | 2012-03-09 | 1 | -13/+13 |
* | 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 | -11/+8 |
* | 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 | -1/+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 | -14/+5 |
* | Make AutoCorrection a step closer to being static (A3)•••Change-Id: Ide3d9785661a672af9bc8dc0cf91cab816dd6caa
|  Jean Chalard | 2012-03-08 | 1 | -7/+1 |
* | 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 | -3/+3 |
* | Remove useless stuff (A1)•••Remove an unused method and avoid doing a useless computation
Change-Id: I29593c2e93f15857249b35bdd72ca28045056302
|  Jean Chalard | 2012-03-08 | 1 | -6/+2 |
* | Merge "Return a value for tests instead of saving it" |  Jean Chalard | 2012-03-08 | 1 | -1/+2 |
|\ |
|
| * | Return a value for tests instead of saving it•••Change-Id: I54fa32b92e89d03a53866bd1c0ee65955dd6b3d3
|  Jean Chalard | 2012-03-08 | 1 | -1/+2 |
* | | Simplification•••Change-Id: Ibced83da2398f1e9ab6a0d6a22c2ad7c8f25cb7b
|  Jean Chalard | 2012-03-08 | 1 | -6/+1 |
|/ |
|
* | Squash a ridiculously improbable NPE•••This probably can't be triggered by anything that is not
a monkey, but still, let's fix this
Bug: 5797549
Change-Id: I9a7d9fd6664c97787ce676a28675e96f46df7658
|  Jean Chalard | 2012-01-19 | 1 | -0/+8 |
* | Move auto correction thresthold to the native code•••bug: 5858137
Change-Id: Ic4b6270c6e51ef4ed25a6a1d8ddd7fdfa70fd78d
|  satok | 2012-01-12 | 1 | -2/+3 |
* | Make some private method static•••Change-Id: Ia23765268be0ef89d7fe7c3f5372ed32d6615765
|  Tadashi G. Takaoka | 2011-10-28 | 1 | -1/+1 |
* | Fix a bug with the whitelist•••This bug would kill the case where the whitelist contains
a word to be autocorrected to an uppercased version of
itself, and the user would enter the uppercase version.
In this case, this bug would cause the typed word to be
killed off the list of candidates, and possibly autocorrected
to the *next* candidate.
When the whitelist checks whether this the typed word is
a candidate for whitelisting, this change has it check whether
the whitelisting results in the typed word before returning.
Hence, it can keep the case-insensitive behavior of the
whitelist.
Coincidentally, this change renames the method used to do
this, because it does not comply with the general contract
of Dictionary. This happens to be in the way of another
upcoming change.
Bug: 5420371
Change-Id: Ifb305271acc5f171adf9b18c762ae7975b14be0a
|  Jean Chalard | 2011-10-07 | 1 | -7/+9 |
* | Remove code related to AutoText•••Bug: 5245751
Change-Id: Ic02f951e8e1dbde9d8964d2c16e4928fb374ca41
|  satok | 2011-10-03 | 1 | -8/+1 |
* | Rename CandidateView to SuggestionsView•••Change-Id: I6480cdf025f065130e1969899b259a243e7a11be
|  Tadashi G. Takaoka | 2011-09-01 | 1 | -5/+5 |
* | 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
|  Tadashi G. Takaoka | 2011-03-16 | 1 | -5/+5 |