diff options
author | Peng Wu <alexepico@gmail.com> | 2013-09-12 15:41:30 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2013-09-12 15:41:30 +0800 |
commit | 23a6259ae58fe293b7d1e69439d9c1590027e26e (patch) | |
tree | 1db3511e8321caa0e637a68ad7575a0e6979459b /src | |
parent | 22d3719a8a2fc1343af1de100b6bb92a1b171b7e (diff) | |
download | libzhuyin-23a6259ae58fe293b7d1e69439d9c1590027e26e.tar.gz libzhuyin-23a6259ae58fe293b7d1e69439d9c1590027e26e.tar.xz libzhuyin-23a6259ae58fe293b7d1e69439d9c1590027e26e.zip |
update pinyin_option_t
Diffstat (limited to 'src')
-rw-r--r-- | src/storage/pinyin_custom2.h | 4 | ||||
-rw-r--r-- | src/storage/pinyin_parser2.h | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/storage/pinyin_custom2.h b/src/storage/pinyin_custom2.h index ae3f8ae..679e8c0 100644 --- a/src/storage/pinyin_custom2.h +++ b/src/storage/pinyin_custom2.h @@ -35,8 +35,8 @@ enum PinyinTableFlag{ PINYIN_INCOMPLETE = 1U << 3, CHEWING_INCOMPLETE = 1U << 4, USE_TONE = 1U << 5, - USE_DIVIDED_TABLE = 1U << 6, - USE_RESPLIT_TABLE = 1U << 7, + HSU_CORRECT = 1U << 6, + ETEN26_CORRECT = 1U << 7, DYNAMIC_ADJUST = 1U << 8 }; diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index 75bc038..c342bad 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -201,6 +201,9 @@ class ChewingDiscreteParser2 : public PhoneticParser2 { /* Note: some internal pointers to chewing scheme table. */ protected: + /* internal options for chewing parsing. */ + pinyin_option_t m_options; + const chewing_index_item_t * m_chewing_index; size_t m_chewing_index_len; const chewing_symbol_item_t * m_initial_table; |