From 2980b45009e45b12fe233d945fea1be3275de26d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Wed, 9 Nov 2011 09:21:05 +0800 Subject: add gen pinyin header --- scripts/genpinyinheader.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 scripts/genpinyinheader.py (limited to 'scripts') 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 +# +# 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 -- cgit