Commit Graph

6404 Commits (1f4a5309a7160fed35f6a17d3f6028bbe51c4059)

Author SHA1 Message Date
Jean Chalard a86c0f1ea4 Stop meaningless bigram computations
Bug: 6313806
Change-Id: Idf765b40812a43de13aa166ed0b44c7b5f7cc218
2012-05-15 16:34:17 +09:00
satok 6804b8e0fd Fix a bug of handling single quote in the correction algorithm
Bug: 6096247
Change-Id: I5490bbdee4ce1e3e0729ec1510a2baab85eeaf05
2012-05-15 15:12:55 +09:00
Jean Chalard 8dced70b06 Merge "Read and use user dictionary shortcuts." into jb-dev 2012-05-14 20:38:23 -07:00
Tadashi G. Takaoka 30236efee1 Remove "fillBoth" enum value from keyWidth attribute of Key
Change-Id: Icc5ffb8286aeda298b46aeba05e44608e342bc57
2012-05-15 12:27:34 +09:00
Jean Chalard 19ad9bf145 Read and use user dictionary shortcuts.
Bug: 4646172

Change-Id: I51002c73d5bad1a698110c5cda02253348be8eed
2012-05-15 12:23:43 +09:00
Tadashi G. Takaoka ea468ee687 Merge "Slightly wider space key for 10-inch tablet layouts" into jb-dev 2012-05-14 20:23:02 -07:00
satok 76218b966a Merge "Do not set "SuggestionSpan"s for suggestions from the next word predicition" into jb-dev 2012-05-14 20:14:53 -07:00
satok 0142b997bf Do not set "SuggestionSpan"s for suggestions from the next word predicition
Bug: 6294817
Change-Id: I5010eafa5ba7e947743706adf7e722f4f0cfb415
2012-05-15 12:08:31 +09:00
Tadashi G. Takaoka bfbcbe5a14 Slightly wider space key for 10-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 10-inch
tablet layouts.

Change-Id: Ie6844fc096712daa24e09b3d67dde48d1c03eb46
2012-05-15 12:03:00 +09:00
Tom Ouyang 0c5b2a01d4 am 5282f00f: Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev
* commit '5282f00ff871bc0ae8303a2b6dacb283f73e31ea':
  Contacts dictionary rebuilds only when contact names have changed.
2012-05-14 19:41:34 -07:00
Tadashi G. Takaoka 529f437417 am 6bec442f: Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev
* commit '6bec442f01ef5a8083528e3dd4432451afc66ba2':
  Slightly wider keys for 7-inch tablet layouts
2012-05-14 19:41:34 -07:00
Tadashi G. Takaoka 85bbe57465 am f3d9221d: Fix popular domain key ".com" width
* commit 'f3d9221d99217455d9cd66163a851d6ea83550a2':
  Fix popular domain key ".com" width
2012-05-14 19:41:33 -07:00
Jean Chalard a9aeb6f3cc Merge "Small optimization" into jb-dev 2012-05-14 19:11:19 -07:00
Jean Chalard b1120fe79a Merge "Small optimizations" into jb-dev 2012-05-14 19:11:11 -07:00
Jean Chalard f5ac6c725a Merge "More optimizations" into jb-dev 2012-05-14 19:11:06 -07:00
Jean Chalard f184e73dd7 Merge "Some more obvious optimizations" into jb-dev 2012-05-14 19:11:02 -07:00
Jean Chalard 78df7181ff Merge "Some obvious optimizations to makedict" into jb-dev 2012-05-14 19:10:48 -07:00
Eric Fischer 3821f0a26e Merge "Import translations. DO NOT MERGE" into jb-dev 2012-05-14 15:27:07 -07:00
Eric Fischer 0dba6dd9f3 Import translations. DO NOT MERGE
Change-Id: I061881ce9f2b0563e01d198fac0dbcdeaeb48410
2012-05-14 15:21:11 -07:00
Eric Fischer 4bc4eb27bc Import translations. DO NOT MERGE
Change-Id: I782170eaa860b92b2a293f629a2118cf22877ff2
2012-05-14 15:17:54 -07:00
Tom Ouyang 5282f00ff8 Merge "Contacts dictionary rebuilds only when contact names have changed." into jb-dev 2012-05-14 14:34:22 -07:00
Kurt Partridge aec44d50a7 include text context in researchLogger
when logging LatinIME.onUpdateSelection(), now include the current word and
preceding word.  no escaping of the word is performed; this is temporary
until the output format is cleaned up.

also fix EditingUtils.getWordRangeAtCursor to support supplementary
UTF-16 characters.

Bug: 6188932
Change-Id: If4612a2627537d5d8bb2f9585a3ad1b4e56c2e26
2012-05-14 09:55:26 -07:00
Eric Fischer 7c8bbdc354 am d7889d0f: (-s ours) Import translations. DO NOT MERGE
* commit 'd7889d0fedc1b8aee4964dd5b974f3dc3655df20':
  Import translations. DO NOT MERGE
2012-05-14 08:36:10 -07:00
Tadashi G. Takaoka 6bec442f01 Merge "Slightly wider keys for 7-inch tablet layouts" into jb-dev 2012-05-14 07:36:46 -07:00
Tadashi G. Takaoka 0d1a193d5a Slightly wider keys for 7-inch tablet layouts
This change also removes the usage of "fillBoth" keyWidth from 7-inch
tablet layouts.

Bug: 6480505
Change-Id: I9ed58e0b49138fa9e1610c2b008798eedb19dd26
2012-05-14 18:34:52 +09:00
Jean Chalard 76319c6931 Small optimization
Performance gain is < 2%

Bug: 6394357
Change-Id: I2b7da946788cf11d1a491efd20fb2bd2333c23d1
2012-05-14 15:52:01 +09:00
Jean Chalard 4df5b43df8 Small optimizations
Bug: 6394357
Change-Id: I00ba1b5ab3d527b3768e28090c758ddd1629f281
2012-05-14 15:51:58 +09:00
Tadashi G. Takaoka f3d9221d99 Fix popular domain key ".com" width
Bug: 6483245
Change-Id: Ie44fd71f848a254ec79c2e061ed050f139ff5aac
2012-05-14 14:02:09 +09:00
Jean Chalard 3b1b72ac4d More optimizations
We don't merge tails anyway, and we can't do it any more
because that would break the bigram lookup algorithm.
The speedup is about 20%, and possibly double this if
there are no bigrams.

Bug: 6394357

Change-Id: I9eec11dda9000451706d280f120404a2acbea304
2012-05-14 12:41:18 +09:00
Jean Chalard 12efad3d15 Some more obvious optimizations
The speedup is about 15%

Bug: 6394357
Change-Id: Ibd57363d9d793206dd916d8927366db4192083b6
2012-05-14 12:35:31 +09:00
Jean Chalard 47db0be7cb Some obvious optimizations to makedict
Bug: 6394357
Change-Id: Ibfd98aac2304ef50cf90b1de984736ddcfe7a4bc
2012-05-14 12:34:05 +09:00
Charles Chen a75b2d3816 am 38b5e423: Merge "Implement "lift-to-type" interaction. Fix event text." into jb-dev
* commit '38b5e4239d5f31f04eaf38951442476eb378c80f':
  Implement "lift-to-type" interaction. Fix event text.
2012-05-12 16:46:49 -07:00
Tom Ouyang 4d289d39ae Contacts dictionary rebuilds only when contact names have changed.
Bug: 6396600
Change-Id: Iad693ec4bab6351793d624e5c5b0a9f5c12a60e3
2012-05-11 18:43:53 -07:00
Eric Fischer 7857f9cdbc Import translations. DO NOT MERGE
Change-Id: I978772894aef377eb117d5189b5dbe9f6f27f14f
2012-05-11 15:52:01 -07:00
Eric Fischer d7889d0fed Import translations. DO NOT MERGE
Change-Id: I6b1e690b678488f38ae84bf862796c32d346371e
2012-05-11 15:49:04 -07:00
Charles Chen 38b5e4239d Merge "Implement "lift-to-type" interaction. Fix event text." into jb-dev 2012-05-11 10:16:05 -07:00
Eric Fischer 724f946b45 Merge "Import translations. DO NOT MERGE" 2012-05-11 09:34:01 -07:00
Jean Chalard 19278ea91f am 59e6ad38: Merge "Write the bigram frequency following the new formula" into jb-dev
* commit '59e6ad38748b0d3c2ed63738d6ab5e6f123466d0':
  Write the bigram frequency following the new formula
2012-05-11 04:46:21 -07:00
Jean Chalard 59e6ad3874 Merge "Write the bigram frequency following the new formula" into jb-dev 2012-05-11 04:42:36 -07:00
Jean Chalard f7346de94a Write the bigram frequency following the new formula
This also tests for bigram frequency against unigram frequency

Bug: 6313806
Bug: 6028348
Change-Id: If7faa3559fee9f2496890f0bc0e081279e100854
2012-05-11 20:27:22 +09:00
Jean Chalard e1c75a42c2 am ad0233fa: Merge "Refactor a method" into jb-dev
* commit 'ad0233fa02985e597054bc50726a412fd8fff371':
  Refactor a method
2012-05-11 04:13:53 -07:00
Jean Chalard ad0233fa02 Merge "Refactor a method" into jb-dev 2012-05-11 04:09:17 -07:00
Tadashi G. Takaoka 0dee42e4d4 am a6204bbe: Fix Spanish keyboard to have easy access to inverted ? and !
* commit 'a6204bbe2a8a3e34ae1adb4d2103c7323825a40c':
  Fix Spanish keyboard to have easy access to inverted ? and !
2012-05-11 03:38:27 -07:00
Jean Chalard 4455fe2c89 Refactor a method
Rename it, rename parameters, and add a parameter that will
be necessary soon.
Also, rescale the bigram frequency as necessary.

Bug: 6313806
Change-Id: I192543cfb6ab6bccda4a1a53c8e67fbf50a257b0
2012-05-11 19:34:35 +09:00
Tadashi G. Takaoka bdae5f56e3 am 2de0b52a: Merge "Reorganize punctuations and diacritics of Arabic and Persian" into jb-dev
* commit '2de0b52a035ac27ffcddb0e914135f2ac104e05f':
  Reorganize punctuations and diacritics of Arabic and Persian
2012-05-11 03:33:44 -07:00
satok 9978953e29 am 6792a909: Merge "Output caps debug code" into jb-dev
* commit '6792a909cd0da3db6a957cb2576b4d08f46a53b7':
  Output caps debug code
2012-05-11 03:33:42 -07:00
satok 59f091875c am 5434f464: Remove unexpectedly split words with single quotes
* commit '5434f46481c6331c3f107e6940cb49ba9dd5ea4d':
  Remove unexpectedly split words with single quotes
2012-05-11 03:33:41 -07:00
Tadashi G. Takaoka a6204bbe2a Fix Spanish keyboard to have easy access to inverted ? and !
Bug: 6480385
Change-Id: Iae7879b5264711962a662f4b3d47a834bda715be
2012-05-11 19:17:53 +09:00
Tadashi G. Takaoka 2de0b52a03 Merge "Reorganize punctuations and diacritics of Arabic and Persian" into jb-dev 2012-05-11 03:06:33 -07:00
satok 6792a909cd Merge "Output caps debug code" into jb-dev 2012-05-11 03:06:29 -07:00