From 3264d488a3d21bdc3abc0b23a8fb1ea9e2a88e35 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 13 Oct 2015 15:16:57 +0800 Subject: update pinyin_custom2.h --- src/storage/pinyin_custom2.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/storage/pinyin_custom2.h') diff --git a/src/storage/pinyin_custom2.h b/src/storage/pinyin_custom2.h index a22c47d..3b6e097 100644 --- a/src/storage/pinyin_custom2.h +++ b/src/storage/pinyin_custom2.h @@ -35,9 +35,10 @@ enum PinyinTableFlag{ PINYIN_INCOMPLETE = 1U << 3, ZHUYIN_INCOMPLETE = 1U << 4, USE_TONE = 1U << 5, - USE_DIVIDED_TABLE = 1U << 6, - USE_RESPLIT_TABLE = 1U << 7, - DYNAMIC_ADJUST = 1U << 8, + FORCE_TONE = 1U << 6, + USE_DIVIDED_TABLE = 1U << 7, + USE_RESPLIT_TABLE = 1U << 8, + DYNAMIC_ADJUST = 1U << 9 }; /** @@ -47,17 +48,17 @@ enum PinyinTableFlag{ * */ enum PinyinAmbiguity2{ - PINYIN_AMB_C_CH = 1U << 9, - PINYIN_AMB_S_SH = 1U << 10, - PINYIN_AMB_Z_ZH = 1U << 11, - PINYIN_AMB_F_H = 1U << 12, - PINYIN_AMB_G_K = 1U << 13, - PINYIN_AMB_L_N = 1U << 14, - PINYIN_AMB_L_R = 1U << 15, - PINYIN_AMB_AN_ANG = 1U << 16, - PINYIN_AMB_EN_ENG = 1U << 17, - PINYIN_AMB_IN_ING = 1U << 18, - PINYIN_AMB_ALL = 0x3FFU << 9 + PINYIN_AMB_C_CH = 1U << 10, + PINYIN_AMB_S_SH = 1U << 11, + PINYIN_AMB_Z_ZH = 1U << 12, + PINYIN_AMB_F_H = 1U << 13, + PINYIN_AMB_G_K = 1U << 14, + PINYIN_AMB_L_N = 1U << 15, + PINYIN_AMB_L_R = 1U << 16, + PINYIN_AMB_AN_ANG = 1U << 17, + PINYIN_AMB_EN_ENG = 1U << 18, + PINYIN_AMB_IN_ING = 1U << 19, + PINYIN_AMB_ALL = 0x3FFU << 10 }; /** -- cgit