From 4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841 Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Tue, 15 Nov 2011 17:07:56 +0800 Subject: begin to write full pinyin parser2 parse_one_key --- src/storage/pinyin_parser2.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/storage/pinyin_parser2.h') diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index 588a4f1..67bf0b0 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -146,12 +146,15 @@ public: * @brief Class to parse Chewing input string * * Several keyboard scheme are supported: + * * ZHUYIN_ZHUYIN Parse original ZhuYin string, such as ㄅㄧㄢ * * Chewing_STANDARD Standard ZhuYin keyboard, which maps 1 to Bo(ㄅ), q to Po(ㄆ) etc. * * Chewing_HSU Hsu ZhuYin keyboard, which uses a-z (except q) chars. * * Chewing_IBM IBM ZhuYin keyboard, which maps 1 to Bo(ㄅ), 2 to Po(ㄆ) etc. * * Chewing_GIN_YIEH Gin-Yieh ZhuYin keyboard. * * Chewing_ET Eten (倚天) ZhuYin keyboard. * * Chewing_ET26 Eten (倚天) ZhuYin keyboard, which only uses a-z chars. + * UTF-8 string is used in ZhuYin Parser, because the requirement of supporting original ZhuYin strings. + * So that the length of inputted string is calculated in number of utf8 chars instead of bytes. */ class ChewingParser2 : public PinyinParser2 { -- cgit