summaryrefslogtreecommitdiffstats
path: root/src/storage/pinyin_parser2.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2013-08-07 14:36:08 +0800
committerPeng Wu <alexepico@gmail.com>2013-08-07 14:36:08 +0800
commit7194fc6ee6b3b87bc66a678b6f089a9f932a5cdc (patch)
tree03ad212fcd2383f665c3bc728e4fb529c0d738ff /src/storage/pinyin_parser2.h
parent28ac79499ac5cc7e97e9c9d20eef0edcd84d4cb0 (diff)
downloadlibzhuyin-7194fc6ee6b3b87bc66a678b6f089a9f932a5cdc.tar.gz
libzhuyin-7194fc6ee6b3b87bc66a678b6f089a9f932a5cdc.tar.xz
libzhuyin-7194fc6ee6b3b87bc66a678b6f089a9f932a5cdc.zip
remove DoublePinyinParser2
Diffstat (limited to 'src/storage/pinyin_parser2.h')
-rw-r--r--src/storage/pinyin_parser2.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/storage/pinyin_parser2.h b/src/storage/pinyin_parser2.h
index 644dd07..c1adaec 100644
--- a/src/storage/pinyin_parser2.h
+++ b/src/storage/pinyin_parser2.h
@@ -179,39 +179,6 @@ public:
virtual int parse(pinyin_option_t options, ChewingKeyVector & keys, ChewingKeyRestVector & key_rests, const char *str, int len) const;
};
-
-/**
- * DoublePinyinParser2:
- *
- * Parse the double pinyin string into an array of struct ChewingKeys.
- *
- */
-/* The valid input chars of ShuangPin is a-z and ';'
- */
-class DoublePinyinParser2 : public PinyinParser2
-{
- /* Note: two internal pointers to double pinyin scheme table. */
-protected:
- const double_pinyin_scheme_shengmu_item_t * m_shengmu_table;
- const double_pinyin_scheme_yunmu_item_t * m_yunmu_table;
-
-public:
- DoublePinyinParser2() {
- m_shengmu_table = NULL; m_yunmu_table = NULL;
- set_scheme(DOUBLE_PINYIN_DEFAULT);
- }
-
- virtual ~DoublePinyinParser2() {}
-
- virtual bool parse_one_key(pinyin_option_t options, ChewingKey & key, const char *str, int len) const;
-
- virtual int parse(pinyin_option_t options, ChewingKeyVector & keys, ChewingKeyRestVector & key_rests, const char *str, int len) const;
-
-public:
- bool set_scheme(DoublePinyinScheme scheme);
-};
-
-
/**
* ChewingParser2:
*