Commit Graph

31687 Commits (552d716bfdc78aa65fdb9970dbf29e4496b6143b)

Author SHA1 Message Date
Keisuke Kuroyanagi a34bdc395b Make getWordProperty return reconstructed bigram probability.
Bug: 13403530
Change-Id: I7ed95a54344d8b77b88922093cf3ef0e530fcae6
2014-03-11 15:20:12 +09:00
Keisuke Kuroyanagi c4ba6e4750 am 89dbd056: Merge "Use isFirstCharUppercase instead of get first code point."
* commit '89dbd056d13e5ecca2a70439b3d9e9d73e4693ea':
  Use isFirstCharUppercase instead of get first code point.
2014-03-10 04:45:21 -07:00
Keisuke Kuroyanagi 89dbd056d1 Merge "Use isFirstCharUppercase instead of get first code point." 2014-03-10 11:42:23 +00:00
Keisuke Kuroyanagi 35b2271072 am 5c2f55fe: Merge "Add getter methods for public member variables."
* commit '5c2f55fe6e5973e15c1e2af9eb57ced6e85740b4':
  Add getter methods for public member variables.
2014-03-10 04:41:55 -07:00
Keisuke Kuroyanagi 5c4704ffad am da5b4fb6: Merge "Move initialization logic for from DicNode to DicNodeState."
* commit 'da5b4fb6da45281630ab19684859c30cf0ca05ac':
  Move initialization logic for from DicNode to DicNodeState.
2014-03-10 04:41:52 -07:00
Keisuke Kuroyanagi 5c2f55fe6e Merge "Add getter methods for public member variables." 2014-03-10 11:40:24 +00:00
Keisuke Kuroyanagi da5b4fb6da Merge "Move initialization logic for from DicNode to DicNodeState." 2014-03-10 11:40:08 +00:00
Keisuke Kuroyanagi d300663d76 am 70367620: Merge "Remove unused member of DicNodeStatePrevWord."
* commit '70367620725e5e2aa8b043df110418ad4a3e834c':
  Remove unused member of DicNodeStatePrevWord.
2014-03-10 02:49:13 -07:00
Keisuke Kuroyanagi 7036762072 Merge "Remove unused member of DicNodeStatePrevWord." 2014-03-10 09:45:54 +00:00
Keisuke Kuroyanagi b43ea5c335 Use isFirstCharUppercase instead of get first code point.
Change-Id: I0a28305397bfc1e7218e16df00839781a74f5599
2014-03-10 18:39:45 +09:00
Keisuke Kuroyanagi 0a5efa31de Add getter methods for public member variables.
Change-Id: Ic6656bb3db6db992b37923db53816e0a73a7621f
2014-03-10 18:39:45 +09:00
Keisuke Kuroyanagi 6066069f35 Move initialization logic for from DicNode to DicNodeState.
Change-Id: Ic7075349e2e9c7f4ca707efa12ad1d24b49a2c87
2014-03-10 18:39:43 +09:00
Keisuke Kuroyanagi 258260bef2 Remove unused member of DicNodeStatePrevWord.
Change-Id: I265855da58e3a2e070e525e116ac0d18d1a10d18
2014-03-10 18:39:15 +09:00
Keisuke Kuroyanagi 07195e92c5 am bd44c981: Merge "Improve DicNode handling."
* commit 'bd44c9815d0a4d7f411d6160ccd512b0303f0d25':
  Improve DicNode handling.
2014-03-10 02:23:44 -07:00
Keisuke Kuroyanagi bd44c9815d Merge "Improve DicNode handling." 2014-03-10 09:21:10 +00:00
Keisuke Kuroyanagi 632c9aca5b Improve DicNode handling.
- Stop creating useless DicNode and DicNodeVector.
- Remove useless virtual.
- Implement copy constructor and assignment operator of DicNodeState.
- Remove useless memset.

Before:
(0)  2266.21 (0.79%)
(1)  285422.05 (98.97%)
(2)  642.62 (0.22%)
(66)  0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)

After:
(0)  2232.70 (0.86%)
(1)  255258.50 (98.89%)
(2)  585.73 (0.23%)
(66)  0.26 (0.00%)
Total 258126.46 (sum of others 258077.18)


Change-Id: I0bb1e9de8b38a6743a11aaeb2b17bd0da5b7ad34
2014-03-10 17:57:53 +09:00
Tadashi G. Takaoka 7061ee4f0e am 9e222d46: Merge "Fix unused text resources of keyboard layouts"
* commit '9e222d46d092323b9ac027ff71cf59b8022bd5d2':
  Fix unused text resources of keyboard layouts
2014-03-10 01:47:02 -07:00
Tadashi G. Takaoka 9e222d46d0 Merge "Fix unused text resources of keyboard layouts" 2014-03-10 08:45:03 +00:00
Tadashi G. Takaoka 567fbe90f7 Fix unused text resources of keyboard layouts
Icelandic keyboard has no nordic layout.
Latvian, Lithuanian, and Slovak keyboards have duplicated N WITH ACUTE.
No Language keyboard has duplicated letter a variants.

Change-Id: Iaeacebc1f7efdb70294e6342e42232b73aed9398
2014-03-10 17:31:25 +09:00
Jean Chalard e93a7232d1 Don't reset the value needed before it's used
Nice recipe for failure

Bug: 13387534
Change-Id: Ida1978449c1997587b2ec0955c5c94fcef336121
2014-03-10 15:55:15 +09:00
Keisuke Kuroyanagi 1486c52233 am 1db3b10f: Merge "Use emplace_back to push DicNode to vector."
* commit '1db3b10f14a97130adeae40ebde2f3735c70fc7f':
  Use emplace_back to push DicNode to vector.
2014-03-09 23:50:23 -07:00
Keisuke Kuroyanagi 1db3b10f14 Merge "Use emplace_back to push DicNode to vector." 2014-03-10 06:47:37 +00:00
Keisuke Kuroyanagi 87db47d175 Use emplace_back to push DicNode to vector.
Before:
(0)  2234.43 (0.71%)
(1)  310083.71 (99.07%)
(2)  626.88 (0.20%)
(66)  0.26 (0.00%)
Total 312995.33 (sum of others 312945.28)

After
(0)  2266.21 (0.79%)
(1)  285422.05 (98.97%)
(2)  642.62 (0.22%)
(66)  0.19 (0.00%)
Total 288384.35 (sum of others 288331.07)


Change-Id: I5ab98076c54d147ff7ec2a29280859f4558e24d0
2014-03-10 15:41:33 +09:00
Keisuke Kuroyanagi 66cc9dec55 Stop new BigramDictionary.
BigramDictionary is allocated inside of Dictionary.

Change-Id: If224b4c408403f43eb3d2e292c0e0ecb86429290
2014-03-10 05:42:36 +00:00
Tadashi G. Takaoka bf3502bfb5 am e07a777e: Fix unneeded u with diaeresis more key on Swedish keyboard
* commit 'e07a777ed6f97549c7816265b1df98e6611719ca':
  Fix unneeded u with diaeresis more key on Swedish keyboard
2014-03-09 19:19:49 -07:00
Tadashi G. Takaoka e07a777ed6 Fix unneeded u with diaeresis more key on Swedish keyboard
Change-Id: Ib4a17fa464899907616e76426e5df0d370a40f80
2014-03-10 11:15:18 +09:00
Tadashi G. Takaoka 5dfd40f31b am 31501063: Fix excessive more keys on Estonian keyboard
* commit '315010636ae187b3c1f23f77e4c4f28dce222c81':
  Fix excessive more keys on Estonian keyboard
2014-03-09 19:04:23 -07:00
Tadashi G. Takaoka 315010636a Fix excessive more keys on Estonian keyboard
Change-Id: I6c2d5d123d519278a6ff0f12fece69ccbad1aad5
2014-03-10 10:56:26 +09:00
Ken Wakasa 36e544b6e1 am 783aee47: Remove string-arrays that are getting in the way
* commit '783aee47e0b120c0c3dfe1ee5b53c4bc120cad38':
  Remove string-arrays that are getting in the way
2014-03-08 06:21:57 -08:00
Ken Wakasa 783aee47e0 Remove string-arrays that are getting in the way
These empty string-arrays should not have been in this resource file.
They are in the translated files, and they are getting in the way of
the resource finding paths.

Fundamental fixes definitely should follow. For now, this CL should be
safe and acceptable for Cannellini.

bug: 13340486
Change-Id: I14c36babf9eb30cfc1c0adc5977136189a305f33
2014-03-08 22:37:27 +09:00
Keisuke Kuroyanagi 520c898c6f am f14cf3e6: Fix: dicttool build.
* commit 'f14cf3e64caea68419969deb71793b367b1bbce2':
  Fix: dicttool build.
2014-03-07 05:16:41 -08:00
Keisuke Kuroyanagi f14cf3e64c Fix: dicttool build.
Change-Id: I5c3bcbe9f3054bdd1a760398fe11344e0e05ac6a
2014-03-07 13:01:48 +00:00
Keisuke Kuroyanagi 7a15267e58 am 32326a9d: Merge "Move DictionaryOptions from FusionDictionary to FormatSpec."
* commit '32326a9d7ad07f19dcdd2c0bfb578b2582eb2993':
  Move DictionaryOptions from FusionDictionary to FormatSpec.
2014-03-07 02:44:39 -08:00
Keisuke Kuroyanagi 32326a9d7a Merge "Move DictionaryOptions from FusionDictionary to FormatSpec." 2014-03-07 10:42:18 +00:00
Keisuke Kuroyanagi d37cf57a2d am ee5d8441: Merge "Introduce SuggestionResults and use it for predictions."
* commit 'ee5d8441d175dd32e4b2088f2ac04ded912fa981':
  Introduce SuggestionResults and use it for predictions.
2014-03-07 02:41:19 -08:00
Keisuke Kuroyanagi ee5d8441d1 Merge "Introduce SuggestionResults and use it for predictions." 2014-03-07 10:38:22 +00:00
Keisuke Kuroyanagi e137ec0a91 Introduce SuggestionResults and use it for predictions.
Bug: 8187060
Bug: 13333066
Change-Id: I1ead897024508b7e40fbd93af7d14bfe74b93826
2014-03-07 19:36:19 +09:00
Tadashi G. Takaoka b2c114a56d am a0a8d96c: Merge "Filter Spacer before keyboard layout test"
* commit 'a0a8d96c49847f136c283521f2c0c09532968b2c':
  Filter Spacer before keyboard layout test
2014-03-07 02:35:47 -08:00
Tadashi G. Takaoka a0a8d96c49 Merge "Filter Spacer before keyboard layout test" 2014-03-07 10:33:37 +00:00
Tadashi G. Takaoka 8c6b34e51d Filter Spacer before keyboard layout test
Bug: 13017434
Change-Id: I836d2f79a839ee77325535c08d7a59bb02b83c28
2014-03-07 19:18:51 +09:00
Keisuke Kuroyanagi 55ca3f735d am a103e29d: Merge "Separate WeightedString from FusionDictionary."
* commit 'a103e29d00edb719c98b3597a64686d4074fd004':
  Separate WeightedString from FusionDictionary.
2014-03-07 01:39:16 -08:00
Keisuke Kuroyanagi 3a88f45854 am c36c97b4: Merge "Use unique_ptr."
* commit 'c36c97b4f797bd20625f232f032c862611dfef44':
  Use unique_ptr.
2014-03-07 01:39:14 -08:00
Keisuke Kuroyanagi a103e29d00 Merge "Separate WeightedString from FusionDictionary." 2014-03-07 09:07:26 +00:00
Keisuke Kuroyanagi c36c97b4f7 Merge "Use unique_ptr." 2014-03-07 09:06:58 +00:00
Tadashi G. Takaoka 4a6a2d9ed5 am 0dc53b06: Add en_US keyboard layout test
* commit '0dc53b0699e17da1a6c040bc006c382a9d063160':
  Add en_US keyboard layout test
2014-03-07 00:54:28 -08:00
Tadashi G. Takaoka c7854d46aa am 238e9898: Add QWERTY expected keyboard layouts
* commit '238e9898cd3d2eae22d73728b028da67915807fa':
  Add QWERTY expected keyboard layouts
2014-03-07 00:44:40 -08:00
Tadashi G. Takaoka 0dc53b0699 Add en_US keyboard layout test
Bug: 13017434
Change-Id: I3fb343721221ecae210bffcb3e83ce4f2df0d0ff
2014-03-07 17:44:36 +09:00
Tadashi G. Takaoka 238e9898cd Add QWERTY expected keyboard layouts
Bug: 13017434
Change-Id: Ia8a65b692521f0050f003e20712a5873a0b236b4
2014-03-07 17:39:54 +09:00
Tadashi G. Takaoka 21ad49b79b am ad04ed54: Merge "Add ActualKeyboardBuilder for testing keyboard layouts"
* commit 'ad04ed54600a0cd0927dc535e69936e61e0dd087':
  Add ActualKeyboardBuilder for testing keyboard layouts
2014-03-07 00:38:05 -08:00
Tadashi G. Takaoka ad04ed5460 Merge "Add ActualKeyboardBuilder for testing keyboard layouts" 2014-03-07 08:36:43 +00:00