diff options
author | Peng Wu <alexepico@gmail.com> | 2015-10-14 16:21:52 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2015-10-14 16:21:52 +0800 |
commit | f98dda5d83059dc45076a795d048239dd889de47 (patch) | |
tree | 055e2abe2c3de6cbba4b66384f0f86341d3e6ba2 /src/storage/pinyin_parser2.h | |
parent | dc867750ebef213bf8717cb46777a8a68b550f4a (diff) | |
download | libpinyin-f98dda5d83059dc45076a795d048239dd889de47.tar.gz libpinyin-f98dda5d83059dc45076a795d048239dd889de47.tar.xz libpinyin-f98dda5d83059dc45076a795d048239dd889de47.zip |
use zhuyin instead of chewing
Diffstat (limited to 'src/storage/pinyin_parser2.h')
-rw-r--r-- | src/storage/pinyin_parser2.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index e4a7871..713a9dc 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -81,12 +81,12 @@ typedef struct { typedef struct { const char m_input; const char * m_chewing; -} chewing_symbol_item_t; +} zhuyin_symbol_item_t; typedef struct { const char m_input; const char m_tone; -} chewing_tone_item_t; +} zhuyin_tone_item_t; typedef GArray * ParseValueVector; @@ -276,8 +276,8 @@ class ChewingSimpleParser2 : public ChewingParser2 /* Note: some internal pointers to chewing scheme table. */ protected: - const chewing_symbol_item_t * m_symbol_table; - const chewing_tone_item_t * m_tone_table; + const zhuyin_symbol_item_t * m_symbol_table; + const zhuyin_tone_item_t * m_tone_table; public: ChewingSimpleParser2() { @@ -315,10 +315,10 @@ protected: /* some internal pointers to chewing scheme table. */ const chewing_index_item_t * m_chewing_index; size_t m_chewing_index_len; - const chewing_symbol_item_t * m_initial_table; - const chewing_symbol_item_t * m_middle_table; - const chewing_symbol_item_t * m_final_table; - const chewing_tone_item_t * m_tone_table; + const zhuyin_symbol_item_t * m_initial_table; + const zhuyin_symbol_item_t * m_middle_table; + const zhuyin_symbol_item_t * m_final_table; + const zhuyin_tone_item_t * m_tone_table; public: ChewingDiscreteParser2() { @@ -346,10 +346,10 @@ class ChewingDaChenCP26Parser2 : public ChewingParser2 /* some internal pointers to chewing scheme table. */ const chewing_index_item_t * m_chewing_index; size_t m_chewing_index_len; - const chewing_symbol_item_t * m_initial_table; - const chewing_symbol_item_t * m_middle_table; - const chewing_symbol_item_t * m_final_table; - const chewing_tone_item_t * m_tone_table; + const zhuyin_symbol_item_t * m_initial_table; + const zhuyin_symbol_item_t * m_middle_table; + const zhuyin_symbol_item_t * m_final_table; + const zhuyin_tone_item_t * m_tone_table; public: ChewingDaChenCP26Parser2(); |