diff options
Diffstat (limited to 'src/storage/chewing_table.h')
-rw-r--r-- | src/storage/chewing_table.h | 221 |
1 files changed, 221 insertions, 0 deletions
diff --git a/src/storage/chewing_table.h b/src/storage/chewing_table.h new file mode 100644 index 0000000..56ceba0 --- /dev/null +++ b/src/storage/chewing_table.h @@ -0,0 +1,221 @@ +/* This file is generated by python scripts. Don't edit this file directly. + */ + +#ifndef CHEWING_TABLE_H +#define CHEWING_TABLE_H + +namespace pinyin{ + +const chewing_symbol_item_t chewing_standard_symbols[] = { +{',' , "ㄝ"}, +{'-' , "ㄦ"}, +{'.' , "ㄡ"}, +{'/' , "ㄥ"}, +{'0' , "ㄢ"}, +{'1' , "ㄅ"}, +{'2' , "ㄉ"}, +{'5' , "ㄓ"}, +{'8' , "ㄚ"}, +{'9' , "ㄞ"}, +{';' , "ㄤ"}, +{'a' , "ㄇ"}, +{'b' , "ㄖ"}, +{'c' , "ㄏ"}, +{'d' , "ㄎ"}, +{'e' , "ㄍ"}, +{'f' , "ㄑ"}, +{'g' , "ㄕ"}, +{'h' , "ㄘ"}, +{'i' , "ㄛ"}, +{'j' , "ㄨ"}, +{'k' , "ㄜ"}, +{'l' , "ㄠ"}, +{'m' , "ㄩ"}, +{'n' , "ㄙ"}, +{'o' , "ㄟ"}, +{'p' , "ㄣ"}, +{'q' , "ㄆ"}, +{'r' , "ㄐ"}, +{'s' , "ㄋ"}, +{'t' , "ㄔ"}, +{'u' , "ㄧ"}, +{'v' , "ㄒ"}, +{'w' , "ㄊ"}, +{'x' , "ㄌ"}, +{'y' , "ㄗ"}, +{'z' , "ㄈ"}, +{'\0', NULL} +}; + +const chewing_tone_item_t chewing_standard_tones[] = { +{' ' , 1}, +{'3' , 3}, +{'4' , 4}, +{'6' , 2}, +{'7' , 5}, +{'\0', 0} +}; + + +const chewing_symbol_item_t chewing_ginyieh_symbols[] = { +{'\'' , "ㄩ"}, +{',' , "ㄝ"}, +{'-' , "ㄧ"}, +{'.' , "ㄡ"}, +{'/' , "ㄥ"}, +{'0' , "ㄢ"}, +{'2' , "ㄅ"}, +{'3' , "ㄉ"}, +{'6' , "ㄓ"}, +{'8' , "ㄚ"}, +{'9' , "ㄞ"}, +{';' , "ㄤ"}, +{'=' , "ㄦ"}, +{'[' , "ㄨ"}, +{'b' , "ㄒ"}, +{'c' , "ㄌ"}, +{'d' , "ㄋ"}, +{'e' , "ㄊ"}, +{'f' , "ㄎ"}, +{'g' , "ㄑ"}, +{'h' , "ㄕ"}, +{'i' , "ㄛ"}, +{'j' , "ㄘ"}, +{'k' , "ㄜ"}, +{'l' , "ㄠ"}, +{'m' , "ㄙ"}, +{'n' , "ㄖ"}, +{'o' , "ㄟ"}, +{'p' , "ㄣ"}, +{'r' , "ㄍ"}, +{'s' , "ㄇ"}, +{'t' , "ㄐ"}, +{'u' , "ㄗ"}, +{'v' , "ㄏ"}, +{'w' , "ㄆ"}, +{'x' , "ㄈ"}, +{'y' , "ㄔ"}, +{'\0', NULL} +}; + +const chewing_tone_item_t chewing_ginyieh_tones[] = { +{' ' , 1}, +{'1' , 5}, +{'a' , 3}, +{'q' , 2}, +{'z' , 4}, +{'\0', 0} +}; + +const chewing_symbol_item_t chewing_eten_symbols[] = { +{'\'' , "ㄘ"}, +{',' , "ㄓ"}, +{'-' , "ㄥ"}, +{'.' , "ㄔ"}, +{'/' , "ㄕ"}, +{'0' , "ㄤ"}, +{'7' , "ㄑ"}, +{'8' , "ㄢ"}, +{'9' , "ㄣ"}, +{';' , "ㄗ"}, +{'=' , "ㄦ"}, +{'a' , "ㄚ"}, +{'b' , "ㄅ"}, +{'c' , "ㄒ"}, +{'d' , "ㄉ"}, +{'e' , "ㄧ"}, +{'f' , "ㄈ"}, +{'g' , "ㄐ"}, +{'h' , "ㄏ"}, +{'i' , "ㄞ"}, +{'j' , "ㄖ"}, +{'k' , "ㄎ"}, +{'l' , "ㄌ"}, +{'m' , "ㄇ"}, +{'n' , "ㄋ"}, +{'o' , "ㄛ"}, +{'p' , "ㄆ"}, +{'q' , "ㄟ"}, +{'r' , "ㄜ"}, +{'s' , "ㄙ"}, +{'t' , "ㄊ"}, +{'u' , "ㄩ"}, +{'v' , "ㄍ"}, +{'w' , "ㄝ"}, +{'x' , "ㄨ"}, +{'y' , "ㄡ"}, +{'z' , "ㄠ"}, +{'\0', NULL} +}; + +const chewing_tone_item_t chewing_eten_tones[] = { +{' ' , 1}, +{'1' , 5}, +{'2' , 2}, +{'3' , 3}, +{'4' , 4}, +{'\0', 0} +}; + +const chewing_symbol_item_t chewing_ibm_symbols[] = { +{'-' , "ㄏ"}, +{'0' , "ㄎ"}, +{'1' , "ㄅ"}, +{'2' , "ㄆ"}, +{'3' , "ㄇ"}, +{'4' , "ㄈ"}, +{'5' , "ㄉ"}, +{'6' , "ㄊ"}, +{'7' , "ㄋ"}, +{'8' , "ㄌ"}, +{'9' , "ㄍ"}, +{';' , "ㄠ"}, +{'a' , "ㄧ"}, +{'b' , "ㄥ"}, +{'c' , "ㄣ"}, +{'d' , "ㄩ"}, +{'e' , "ㄒ"}, +{'f' , "ㄚ"}, +{'g' , "ㄛ"}, +{'h' , "ㄜ"}, +{'i' , "ㄗ"}, +{'j' , "ㄝ"}, +{'k' , "ㄞ"}, +{'l' , "ㄟ"}, +{'n' , "ㄦ"}, +{'o' , "ㄘ"}, +{'p' , "ㄙ"}, +{'q' , "ㄐ"}, +{'r' , "ㄓ"}, +{'s' , "ㄨ"}, +{'t' , "ㄔ"}, +{'u' , "ㄖ"}, +{'v' , "ㄤ"}, +{'w' , "ㄑ"}, +{'x' , "ㄢ"}, +{'y' , "ㄕ"}, +{'z' , "ㄡ"}, +{'\0', NULL} +}; + +const chewing_tone_item_t chewing_ibm_tones[] = { +{' ' , 1}, +{',' , 3}, +{'.' , 4}, +{'/' , 5}, +{'m' , 2}, +{'\0', 0} +}; + +const char * chewing_tone_table[CHEWING_NUMBER_OF_TONES] = { +"", +"ˉ", +"ˊ", +"ˇ", +"ˋ", +"˙" +}; + +}; + +#endif |