summaryrefslogtreecommitdiffstats
path: root/src/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/pinyin_custom2.h4
-rw-r--r--src/storage/pinyin_parser2.h3
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;