summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2015-10-13 15:16:57 +0800
committerPeng Wu <alexepico@gmail.com>2015-10-13 15:16:57 +0800
commit3264d488a3d21bdc3abc0b23a8fb1ea9e2a88e35 (patch)
tree7c0983a7c1082ea18eec8e56ebd285ce6e819ff0
parent1b656956e662d507c8c38f112db160bff2234c03 (diff)
downloadlibpinyin-3264d488a3d21bdc3abc0b23a8fb1ea9e2a88e35.tar.gz
libpinyin-3264d488a3d21bdc3abc0b23a8fb1ea9e2a88e35.tar.xz
libpinyin-3264d488a3d21bdc3abc0b23a8fb1ea9e2a88e35.zip
update pinyin_custom2.h
-rw-r--r--src/storage/pinyin_custom2.h29
1 files changed, 15 insertions, 14 deletions
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
};
/**