summaryrefslogtreecommitdiffstats
path: root/scripts/genpinyinheader.py
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-12-13 17:21:38 +0800
committerPeng Wu <alexepico@gmail.com>2011-12-13 17:21:38 +0800
commitb9dae484fb1119b89bb722f4f1ecb373b8e4cf52 (patch)
tree73a3d0ef12fbfcd08fb1800300a4cd05b20b7991 /scripts/genpinyinheader.py
parent4d43f63b30bcb97b7e0f3761df5c7902d4575bc5 (diff)
downloadlibpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.tar.gz
libpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.tar.xz
libpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.zip
fixes python scripts
Diffstat (limited to 'scripts/genpinyinheader.py')
-rw-r--r--scripts/genpinyinheader.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/genpinyinheader.py b/scripts/genpinyinheader.py
index defe018..8a0a8fd 100644
--- a/scripts/genpinyinheader.py
+++ b/scripts/genpinyinheader.py
@@ -23,7 +23,7 @@
import os
from genpinyintable import gen_content_table, \
gen_pinyin_index, gen_bopomofo_index, \
- gen_chewing_key_to_table_index
+ gen_chewing_key_table
from genspecialtable import gen_divided_table, gen_resplit_table
def get_table_content(tablename):
@@ -38,7 +38,7 @@ def get_table_content(tablename):
if tablename == 'RESPLIT_TABLE':
return gen_resplit_table()
if tablename == 'TABLE_INDEX':
- return gen_chewing_key_to_table_index()
+ return gen_chewing_key_table()
def expand_file(filename):