- Oct 04, 2011
-
-
Tadashi G. Takaoka authored
This change also gets rid of several compiler warnings. Change-Id: I23962edaadad18a6e0395d528af17b909dcf5dad
-
- Sep 30, 2011
-
-
Jean Chalard authored
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
-
- Sep 29, 2011
-
-
satok authored
Bug: 5390063 Change-Id: I0ef4fbcc705539624269fd2f8c4e782679fc44b3
-
- Aug 04, 2011
-
-
Jean Chalard authored
This is a preparative change for inserting the spell checker. Change-Id: Ie441879cac4f67078ec27a95f1fcbbf3ef373df7
-
- Jun 02, 2011
-
-
Jean Chalard authored
This prepares the way for spell checking, which is to be done without context so without proximity info. Bug: 4176026 Change-Id: I1b4bfaefe2611e1b484acdf3c33598cb80f81ff4
-
- Apr 27, 2011
-
-
Jean Chalard authored
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
-
- Apr 26, 2011
-
-
Jean Chalard authored
This change is only there to fix warning issued by Eclipse. It should have absolutely no impact on the program logic. Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
-
- Apr 22, 2011
-
-
Jean Chalard authored
This also fixes a small inconsistency upon clicking on whitespace twice in a row. Also add some unit tests for an introduced and an existing method. Change-Id: I1be2fb53c9624f4d0f5299009632cb4384fdfc15
-
- Apr 20, 2011
-
-
Jean Chalard authored
Some flag settings used to be stored in a keyboard layout extravalue setting. This change: - Introduces the capability of setting such specific flags in values/config.xml - Retains the ability to use extravalues (for layout-specific settings), though there is no more any such setting at the moment. - Fixes a bug where loading a dictionary from outside does not initialize the flags. - Moves Flag to another class. Note: this needs I705ec68c to avoid breaking the build Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
-
- Mar 18, 2011
-
-
Jean Chalard authored
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
-
- Mar 17, 2011
-
-
Tadashi G. Takaoka authored
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
-
- Mar 16, 2011
-
-
Tadashi G. Takaoka authored
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
-
- Mar 03, 2011
-
-
Jean Chalard authored
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
-
- Mar 01, 2011
-
-
Tadashi G. Takaoka authored
Bug: 3414081 Change-Id: I1d11710476ffadcef67b0dbfbde309e7f8344d8a
-
- Feb 28, 2011
-
-
Tadashi G. Takaoka authored
Bug: 3414081 Change-Id: I1a3d60698795bf28c477086838e726d498fb6de0
-
- Feb 25, 2011
-
-
Ken Wakasa authored
Change-Id: If170d4821b8dbc187f29137ea99d10e30c20955f
-
- Feb 23, 2011
-
-
satok authored
Bug: 3311719 Change-Id: Ie596304070e321ad23fb67a13bf05e2b6af1b54b
-
- Feb 17, 2011
-
-
Tadashi G. Takaoka authored
Bug: 3428942 Change-Id: Id62f467ce4e50c60a56d59bf96770e799a4659e2
-
- Feb 08, 2011
-
-
Tadashi G. Takaoka authored
Bug: 3414081 Change-Id: Idee64010f2f423d3c7c548d0279c7bf287088762
-
- Jan 17, 2011
-
-
Ken Wakasa authored
Avoid using 'synchronized' in finalizer as well. bug: 3340837 Change-Id: I9b28f54e4490ecb844ba33a379f71b625e4246a2
-
- Jan 09, 2011
-
-
Ken Wakasa authored
ApplicationInfo.sourceDir may or may not be apk file name. It can be a directory as well. The spec just says it's "Full path to the location of this package". Also, added error handling in loadDictionary(). Change-Id: I5e64d0aba4b1ec7634f4b3ac5537e7a774433ece
-
- Jan 07, 2011
-
-
Ken Wakasa authored
Follow up to Id57dce51 bug: 3219819 Change-Id: I00e11ef21d0252ffa88c12dffb9c55b0f2e19a66
-
- Jan 05, 2011
-
-
Ken Wakasa authored
This change is a preparation for upcoming optimizations on dictionary file loading. * We can consolidate dictionary files because we are no longer relying on Asset Manager. * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file. * Probably we won't rely on Asset Manager. Instead we'll probably use offset and size obtained from AssetFileDescriptor. Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
-
- Dec 06, 2010
-
-
satok authored
Change-Id: Idcb5aa2685321b8d0ac7d846caecbd1c79e4dd77
-
- Dec 01, 2010
- Nov 29, 2010
-
-
Tadashi G. Takaoka authored
This change also fixes wrong file mode. Change-Id: Ifcf4c9444ddcdc62d2e4b394891d6eee135c1e8f
-
- Aug 24, 2010
-
-
satok authored
- remove unused code - add @Override - change the inappropriate cast Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
-
- Aug 20, 2010
-
-
satok authored
TODO: Cleanup will follow. Change-Id: I4a68ba9f2f55760aa24187f1f13fdfa8a0b70963
-
- Aug 10, 2010
-
-
Jae Yong Sung authored
-UnitTest for UserBigram -Changes for number of bigrams to load Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
-
- Jul 28, 2010
-
-
Jae Yong Sung authored
- retrieve bigrams that only starts with character typed and neighbor keys - contacts bigram - performance measure bug: 2873133 Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
-
- Jul 20, 2010
-
-
Ken Wakasa authored
- Rename the jni library name - Revert the local cert - LatinIme2Google -> LatinIME Please note that we'll use the new package name: com.google.android.inputmethod.latin Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
-
- Jul 16, 2010
-
-
satok authored
Change-Id: I0f8f7549423deb6d18df4cca949b210c9ec494a5
-
- Jul 13, 2010
-
-
Jae Yong Sung authored
- after first character, only suggests bigram data (but doesn't autocomplete) - after second character, words from dictionary gets rearranged by using bigram - compatible with old dictionary - added preference option to disable bigram Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
-
- Jun 02, 2010
-
-
satok authored
- Added counters for suggestions by dictionarys - Added a counter for cancelled suggestions Change-Id: Ia7d3a73855b1e82b60a010f18dba4e1c0fe1c2bb
-
- May 07, 2010
-
-
Amith Yamasani authored
Added tests for the dictionary lookup and correction logic on the primary dictionary. This exercises part of the Suggest class and the native dictionary lookup code.
-
- Apr 27, 2010
-
-
Ken Wakasa authored
Change-Id: I5114106eca0f67326fb3f939165bae0c122ed982
-
Ken Wakasa authored
Change-Id: I0d2d3a0e262847d6948a0336a35440e21e312ad2
-
- Apr 26, 2010
-
-
Ken Wakasa authored
Get rid of dependency on native AssetManager API. Confirmed the native code builds with the NDK r3. Change-Id: I6a9a5bb4129e9269d74348801436c9e5e0058da5
-
- Apr 20, 2010
-
-
Ken Wakasa authored
Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2. Copied LatinIME's current dictionaries from master's vendor directory. Confirmed latin_tolower() function returns the result identical to ICU's u_tolower(). - Note that I will merge the ICU dependency removal change to master. Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296
-