| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|/ /
| |
| |
| | |
Change-Id: If6b0180c63738e5e78a20fe5b938ef50d62865d6
|
| |
| |
| |
| | |
Change-Id: Ica53ce879c2b4c5eb47f757fb788a795a881c30e
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change adds basic support for an external dictionary provider.
It adds methods for reading the dictionary itself from an asset in
the dictionary provider package directly, obtaining the file name
through the ContentProvider interface; it also adds a way of getting
the data through an InputStream and copying the file locally.
Incidentally this change also adds the code needed to listen for
updating the dictionary provider package and reloading it in time.
This change also goes hand-in-hand with Iab31db6e, which implements
the small closed part of this.
Issue: 3414944
Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
|
|/ /
| |
| |
| | |
Change-Id: I158414efaff43d0c6abe1f9af83ed3425992dfb9
|
| |
| |
| |
| | |
Change-Id: I008ac7099c815fb74a9ab374419617b336453f97
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changes:
* Flag initialization code in BinaryDictionary to be more unit test friendly.
* Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives.
* Formatting normalized score neatly.
Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It used to be the case that the scoring system turns up the same word
that was entered with a different capitalization, but with a lower
score than some other, more frequent word. To cope with this, there
was code that would order such candidates in the first slot no matter
what. This processing is now useless because fully matching words now
have a huge boost that ensures they will get to the top of the list,
before any non-fully matching word (which means, differing only by
capitalization or accents).
The bug that did happen with this was, if a fully-matching word got
matched by several processing passes, and the (chronologically) later
score affected to this word was weaker, it would result in the
duplicate removal pass removing the stronger score. This in turn would
mess with autocorrect.
In an effort to keep the risk at a minimum for MR1, this change does
not actually remove the useless code, but adds a check in the odd case
to avoid the bad situation. Another change will remove the code for
ICS release.
bug: 4100269
Change-Id: I18c0575332981ffec0e257e26a360995838d521e
|
|
|
|
|
| |
Bug: 4051276
Change-Id: I980c0dfefdf3ae70935aca9755a55d1c925a23f9
|
|
|
|
|
|
| |
Bug: 3447571
Change-Id: I538e4e706982129b666ca1ab1085f1b68b69f87f
|
|\
| |
| |
| | |
honeycomb-mr1
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | | |
honeycomb-mr1
|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 3311719
Change-Id: Ide12a4a6280103c092fa0f563dd5b9e3f7f5c89b
|
|/ /
| |
| |
| |
| | |
bug: 3514797
Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
|
|/
|
|
|
| |
Bug: 3414081
Change-Id: Ia76afac4b1a61b8953a215b7cbdb7557736f7b9c
|
|\ |
|
| |
| |
| |
| |
| |
| | |
- Also removed a quick fix for 2nd or more suggestions.
Change-Id: I7bf46a9cd6a727473e68836954fca160c9d853e6
|
| |
| |
| |
| |
| | |
Bug: 3398726
Change-Id: I5e1bfc1fec9047c1c4e4f29fbf79f0fdf9356ffb
|
| |
| |
| |
| |
| | |
Bug: 3504990
Change-Id: I3de44e9d9adb0bcafa2e59685c4cdc257716b1d6
|
| |
| |
| |
| |
| | |
Bug: 3504990
Change-Id: Id1ae9715d9f9ba99702e4cd5c243026a84d6861d
|
| |
| |
| |
| |
| | |
Bug: 3504990
Change-Id: Ib7588ab05fa8b8ab58bf3bea6ff1f644c53ebb94
|
|/
|
|
|
|
|
|
|
| |
For German : handle "ae", "oe" and "ue" to be alternate forms for
umlaut-bearing versions of "a", "o" and "u".
Issue: 3275926
Change-Id: I056c707cdacc464ceab63be56c016c7f8439196c
|
|
|
|
|
| |
Bug: 3502290
Change-Id: I69b60051863c78727363ae63576c28d87fb71a3a
|
|
|
|
|
|
|
|
|
| |
This change removes the boolean flag mJustReverted. Because we
preserve separator after canceling auto-correction according to
bug#3230708, there is no need for this flag now.
Bug: 3193810
Change-Id: Icea06ece569774b494ffa4ca4a899c898661cc19
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 3294239
Change-Id: I1832be8b54cd4d55cd504a3e1e0434aa284f9592
|
|/
|
|
|
|
|
| |
bug: 3488704
bug: 3480132
Change-Id: Ie895d2ad1b58dc65fe16d65baa6fccafd4a142bb
|
|
|
|
|
| |
bug: 3499746
Change-Id: I76bd745b0623f4736c6b0aaf0ab42fd4b7c4f349
|
|
|
|
|
|
| |
bug: 3353818
Change-Id: I87b80470015dbeb2eaaec9aa4d9d802597c18e19
|
|
|
|
| |
Change-Id: I3cb76e622e33985a187afe0a8928ed7b261615fd
|
|
|
|
|
| |
Bug: 3414081
Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
|
|
|
|
|
| |
Bug: 3414081
Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
|
|
|
|
| |
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Issue: 3366636
Change-Id: I70a2ebb4420782ba4d7d874ffc2259bb1b80446f
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: Idf74aa32c9ea565fa6771013e2d37ee952c83a57
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 3479978
Change-Id: Ic3a9e947536b1508eb2bbe45753d6f7c0e99e416
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| | |
At the moment, if there is no binary dictionary, even when pressing the
word in the suggestion strip the option to save in the user dictionary
is not displayed. This change addresses that.
Bug: 3363756
Change-Id: I4993a7f81ed15ab948a3098cdc49663e0f109e4a
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Bug: 3311719
Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| | |
This change deprecates "nm" private IME options and introduces new
private option, <package name>.noMicrophone, instead.
Change-Id: I9d5e3daaead2cdd42e017cd29f5f786ef3ba3649
|
|\ \
| |/
|/| |
|
| |
| |
| |
| | |
Change-Id: I0480c3350a335e4cb57bba2d3484622990cd90af
|
|/
|
|
| |
Change-Id: Id8d4e780a98292fda63b1e5bbf739eda78935a3b
|