summaryrefslogtreecommitdiff
path: root/scripts/php_2_py.php
diff options
context:
space:
mode:
authorHiroshi Sumita <hsumita@chromium.org>2012-07-11 10:34:31 -0400
committerPeng Huang <shawn.p.huang@gmail.com>2012-08-02 10:25:28 -0400
commitd2b27c5dc5ad1070f502768a32df2792c55b435d (patch)
tree7f33c56f373961f1ec6bca9633ff468cefb70373 /scripts/php_2_py.php
parentf01f78c88832dc4165f7bd822b7289fc3d7f98a8 (diff)
downloadibus-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.php21
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);
-?>