summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-09 09:21:05 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-09 09:21:05 +0800
commit2980b45009e45b12fe233d945fea1be3275de26d (patch)
tree84a0c1c7f7ebd3575e951294af7ea015d86c9140 /scripts
parent9532617ce6542916b8eb5e30153f09aeeb5a54fa (diff)
downloadlibpinyin-2980b45009e45b12fe233d945fea1be3275de26d.tar.gz
libpinyin-2980b45009e45b12fe233d945fea1be3275de26d.tar.xz
libpinyin-2980b45009e45b12fe233d945fea1be3275de26d.zip
add gen pinyin header
Diffstat (limited to 'scripts')
-rw-r--r--scripts/genpinyinheader.py29
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/genpinyinheader.py b/scripts/genpinyinheader.py
new file mode 100644
index 0000000..ec03051
--- /dev/null
+++ b/scripts/genpinyinheader.py
@@ -0,0 +1,29 @@
+# -*- coding: utf-8 -*-
+# vim:set et sts=4 sw=4:
+#
+# libpinyin - Library to deal with pinyin.
+#
+# Copyright (C) 2011 Peng Wu <alexepico@gmail.com>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2, or (at your option)
+# any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+
+from genpinyintable import gen_content_table, \
+ gen_pinyin_index, gen_bopomofo_index
+from genspecialtable import gen_divided_table, gen_resplit_table
+
+### main function ###
+if __name__ == "__main__":
+ pass