diff options
author | Peng Wu <alexepico@gmail.com> | 2011-12-13 17:13:10 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2011-12-13 17:13:10 +0800 |
commit | 4d43f63b30bcb97b7e0f3761df5c7902d4575bc5 (patch) | |
tree | d989fd8eb8a404ac97c72a5fa05f02a26545c17b /scripts/genpinyinheader.py | |
parent | c922c671b78d176c372eb323cacde33dba24b93b (diff) | |
download | libpinyin-4d43f63b30bcb97b7e0f3761df5c7902d4575bc5.tar.gz libpinyin-4d43f63b30bcb97b7e0f3761df5c7902d4575bc5.tar.xz libpinyin-4d43f63b30bcb97b7e0f3761df5c7902d4575bc5.zip |
gen chewing key to table index map
Diffstat (limited to 'scripts/genpinyinheader.py')
-rw-r--r-- | scripts/genpinyinheader.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/genpinyinheader.py b/scripts/genpinyinheader.py index 6c81726..defe018 100644 --- a/scripts/genpinyinheader.py +++ b/scripts/genpinyinheader.py @@ -22,7 +22,8 @@ import os from genpinyintable import gen_content_table, \ - gen_pinyin_index, gen_bopomofo_index + gen_pinyin_index, gen_bopomofo_index, \ + gen_chewing_key_to_table_index from genspecialtable import gen_divided_table, gen_resplit_table def get_table_content(tablename): @@ -36,6 +37,8 @@ def get_table_content(tablename): return gen_divided_table() if tablename == 'RESPLIT_TABLE': return gen_resplit_table() + if tablename == 'TABLE_INDEX': + return gen_chewing_key_to_table_index() def expand_file(filename): |