summaryrefslogtreecommitdiffstats
path: root/src/storage/zhuyin_custom2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2014-03-13 14:46:42 +0800
committerPeng Wu <alexepico@gmail.com>2014-03-13 14:50:09 +0800
commit65d61cda3f2f3a46a6be2a535dbbc3ea6fed6063 (patch)
treef2c0dfd5294c5615d0226a469057ea1f17c0f14f /src/storage/zhuyin_custom2.h
parent7c540af4894471116aadfed6a0b92d344938c1f0 (diff)
downloadlibzhuyin-65d61cda3f2f3a46a6be2a535dbbc3ea6fed6063.tar.gz
libzhuyin-65d61cda3f2f3a46a6be2a535dbbc3ea6fed6063.tar.xz
libzhuyin-65d61cda3f2f3a46a6be2a535dbbc3ea6fed6063.zip
add the force tone option
Diffstat (limited to 'src/storage/zhuyin_custom2.h')
-rw-r--r--src/storage/zhuyin_custom2.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/storage/zhuyin_custom2.h b/src/storage/zhuyin_custom2.h
index aa6dfb7..671a137 100644
--- a/src/storage/zhuyin_custom2.h
+++ b/src/storage/zhuyin_custom2.h
@@ -35,9 +35,10 @@ enum PinyinTableFlag{
PINYIN_INCOMPLETE = 1U << 3,
CHEWING_INCOMPLETE = 1U << 4,
USE_TONE = 1U << 5,
- HSU_CORRECT = 1U << 6,
- ETEN26_CORRECT = 1U << 7,
- DYNAMIC_ADJUST = 1U << 8,
+ FORCE_TONE = 1U << 6,
+ HSU_CORRECT = 1U << 7,
+ ETEN26_CORRECT = 1U << 8,
+ DYNAMIC_ADJUST = 1U << 9,
CHEWING_CORRECT_ALL = HSU_CORRECT|ETEN26_CORRECT
};
@@ -48,17 +49,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 << 12,
+ PINYIN_AMB_S_SH = 1U << 13,
+ PINYIN_AMB_Z_ZH = 1U << 14,
+ PINYIN_AMB_F_H = 1U << 15,
+ PINYIN_AMB_G_K = 1U << 16,
+ PINYIN_AMB_L_N = 1U << 17,
+ PINYIN_AMB_L_R = 1U << 18,
+ PINYIN_AMB_AN_ANG = 1U << 19,
+ PINYIN_AMB_EN_ENG = 1U << 20,
+ PINYIN_AMB_IN_ING = 1U << 21,
+ PINYIN_AMB_ALL = 0x3FFU << 12
};
/**