summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2011-11-15 17:07:56 +0800
committerPeng Wu <alexepico@gmail.com>2011-11-15 17:33:58 +0800
commit4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841 (patch)
treee13861d630f78a2b08f1f292feb3742db0352f6a /src/storage/pinyin_parser2.h
parent5501ea429dd50330caa9cd6ffbd8236d1663fa6e (diff)
downloadlibpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.tar.gz
libpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.tar.xz
libpinyin-4e5e619a20c4d7c9cc1229a2f3e26a7219bf6841.zip
begin to write full pinyin parser2 parse_one_key
Diffstat (limited to 'src/storage/pinyin_parser2.h')
-rw-r--r--src/storage/pinyin_parser2.h3
1 files changed, 3 insertions, 0 deletions
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
{