From fc16415abeab89dbcbbdabdceefed89ce34c029d Mon Sep 17 00:00:00 2001 From: Peng Wu Date: Fri, 23 Aug 2013 10:59:16 +0800 Subject: rename PinyinParser2 to PhoneticParser2 --- src/storage/pinyin_parser2.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/storage/pinyin_parser2.h') diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h index e40b30c..edf4764 100644 --- a/src/storage/pinyin_parser2.h +++ b/src/storage/pinyin_parser2.h @@ -85,25 +85,25 @@ typedef GArray * ParseValueVector; /** - * PinyinParser2: + * PhoneticParser2: * * Parse the ascii string into an array of the struct ChewingKeys. * */ -class PinyinParser2 +class PhoneticParser2 { public: /** - * PinyinParser2::~PinyinParser2: + * PhoneticParser2::~PhoneticParser2: * - * The destructor of the PinyinParser2. + * The destructor of the PhoneticParser2. * */ - virtual ~PinyinParser2() {} + virtual ~PhoneticParser2() {} public: /** - * PinyinParser2::parse_one_key: + * PhoneticParser2::parse_one_key: * @options: the pinyin options from pinyin_custom2.h. * @key: the parsed result of struct ChewingKey. * @str: the input of the ascii string. @@ -116,7 +116,7 @@ public: virtual bool parse_one_key(pinyin_option_t options, ChewingKey & key, const char *str, int len) const = 0; /** - * PinyinParser2::parse: + * PhoneticParser2::parse: * @options: the pinyin options from pinyin_custom2.h. * @keys: the parsed result of struct ChewingKeys. * @str: the input of the ascii string. @@ -137,7 +137,7 @@ public: * Parses the full pinyin string into an array of struct ChewingKeys. * */ -class FullPinyinParser2 : public PinyinParser2 +class FullPinyinParser2 : public PhoneticParser2 { /* Note: some internal pointers to full pinyin table. */ @@ -190,7 +190,7 @@ public: */ /* The valid input chars of ShuangPin is a-z and ';' */ -class DoublePinyinParser2 : public PinyinParser2 +class DoublePinyinParser2 : public PhoneticParser2 { /* Note: two internal pointers to double pinyin scheme table. */ protected: @@ -230,7 +230,7 @@ public: /* Note: maybe yunmus shuffle will be supported later. * currently this feature is postponed. */ -class ChewingParser2 : public PinyinParser2 +class ChewingParser2 : public PhoneticParser2 { /* Note: some internal pointers to chewing scheme table. */ protected: -- cgit