diff options
author | Peng Wu <alexepico@gmail.com> | 2015-09-08 15:34:08 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-09-08 15:34:08 +0800 |
commit | dff380f2847a030ae1e2db4c26c2316cf70fa7ca (patch) | |
tree | 85d36a7186a48302fb27306bb1fb7f758a43a52f /scripts2/bopomofotable.py | |
parent | 07d54709eaed625c3e30e50bf7e76826f132d446 (diff) | |
download | libpinyin-dff380f2847a030ae1e2db4c26c2316cf70fa7ca.tar.gz libpinyin-dff380f2847a030ae1e2db4c26c2316cf70fa7ca.tar.xz libpinyin-dff380f2847a030ae1e2db4c26c2316cf70fa7ca.zip |
write generateheader.py
Diffstat (limited to 'scripts2/bopomofotable.py')
-rw-r--r-- | scripts2/bopomofotable.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/scripts2/bopomofotable.py b/scripts2/bopomofotable.py index 2db5e49..e9beb1d 100644 --- a/scripts2/bopomofotable.py +++ b/scripts2/bopomofotable.py @@ -101,21 +101,6 @@ def gen_chewing_tones(scheme): return ",\n".join(entries) -''' -def get_table_content(tablename): - (scheme, part) = tablename.split('_', 1) - if part == "SYMBOLS": - return gen_chewing_symbols(scheme) - if part == "INITIALS": - return gen_chewing_initials(scheme) - if part == "MIDDLES": - return gen_chewing_middles(scheme) - if part == "FINALS": - return gen_chewing_finals(scheme) - if part == "TONES": - return gen_chewing_tones(scheme) -''' - ### main function ### if __name__ == "__main__": print(gen_chewing_symbols("HSU"), os.linesep) |