diff options
author | Hiroshi Sumita <hsumita@chromium.org> | 2012-07-11 10:34:31 -0400 |
---|---|---|
committer | Peng Huang <shawn.p.huang@gmail.com> | 2012-08-02 10:25:28 -0400 |
commit | d2b27c5dc5ad1070f502768a32df2792c55b435d (patch) | |
tree | 7f33c56f373961f1ec6bca9633ff468cefb70373 /scripts/php_2_py.php | |
parent | f01f78c88832dc4165f7bd822b7289fc3d7f98a8 (diff) | |
download | ibus-pinyin-d2b27c5dc5ad1070f502768a32df2792c55b435d.tar.gz |
Integrates pyzy.
BUG=None
TEST=None at this moment...
Review URL: https://codereview.appspot.com/6253043
Patch from Hiroshi Sumita <hsumita@chromium.org>.
Diffstat (limited to 'scripts/php_2_py.php')
-rw-r--r-- | scripts/php_2_py.php | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/scripts/php_2_py.php b/scripts/php_2_py.php deleted file mode 100644 index e53a535..0000000 --- a/scripts/php_2_py.php +++ /dev/null @@ -1,21 +0,0 @@ -<?php -include("ZhConversion.php"); - -echo "# -*- coding: utf-8 -*- \n"; - -function printDict($name, $dict) { - echo "$name = {\n"; - foreach($dict as $key => $val) { - echo " u\"", $key, "\": u\"", $val, "\",\n"; - } - echo "}\n"; - echo "\n"; -} - -printDict("zh2Hant", $zh2Hant); -printDict("zh2Hans", $zh2Hans); -printDict("zh2TW", $zh2TW); -printDict("zh2HK", $zh2HK); -printDict("zh2CN", $zh2CN); -printDict("zh2SG", $zh2SG); -?> |