summaryrefslogtreecommitdiffstats
path: root/scripts/pinyin_parser_table.h.in
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/pinyin_parser_table.h.in
parent4d43f63b30bcb97b7e0f3761df5c7902d4575bc5 (diff)
downloadlibpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.tar.gz
libpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.tar.xz
libpinyin-b9dae484fb1119b89bb722f4f1ecb373b8e4cf52.zip
fixes python scripts
Diffstat (limited to 'scripts/pinyin_parser_table.h.in')
-rw-r--r--scripts/pinyin_parser_table.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/pinyin_parser_table.h.in b/scripts/pinyin_parser_table.h.in
index ae8093d..6a9bccb 100644
--- a/scripts/pinyin_parser_table.h.in
+++ b/scripts/pinyin_parser_table.h.in
@@ -26,6 +26,21 @@ const resplit_table_item_t resplit_table[] = {
@RESPLIT_TABLE@
};
+const gint chewing_key_table[CHEWING_NUMBER_OF_INITIALS *
+ CHEWING_NUMBER_OF_MIDDLES *
+ CHEWING_NUMBER_OF_FINALS] = {
+@TABLE_INDEX@
+};
+
+const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = {
+"",
+"ˉ",
+'ˊ',
+'ˇ',
+'ˋ',
+'˙'
+};
+
};
#endif