diff options
Diffstat (limited to 'src/storage/pinyin_custom2.h')
-rw-r--r-- | src/storage/pinyin_custom2.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/storage/pinyin_custom2.h b/src/storage/pinyin_custom2.h index 5ca796d..cd71f4f 100644 --- a/src/storage/pinyin_custom2.h +++ b/src/storage/pinyin_custom2.h @@ -24,6 +24,12 @@ namespace pinyin{ +enum PinyinTableFlag{ + IS_CHEWING = 1, + IS_PINYIN = 1 << 2, + PINYIN_INCOMPLETE = 1 << 3, + CHEWING_INCOMPLETE = 1 << 4, +}; /** * @brief enums of pinyin ambiguities. @@ -33,7 +39,7 @@ namespace pinyin{ */ enum PinyinAmbiguityBeta{ PINYIN_AMB_ANY = 0, - PINYIN_AMB_C_Ch, + PINYIN_AMB_C_Ch , PINYIN_AMB_Z_Zh, PINYIN_AMB_S_Sh, PINYIN_AMB_L_N , |