From bf5eddadc363f60165cd89a7cbab7cfb404323bc Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Mon, 24 Oct 2011 16:42:22 +0800 Subject: write gen pinyin table in progress --- src/storage/pinyin_custom2.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src') 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 , -- cgit