/* post processing for re-split table. */
if (options & USE_RESPLIT_TABLE) {
- post_process(options, keys, key_rests);
+ post_process2(options, keys, key_rests);
}
g_free(input);
return parsed_len;
}
+#if 0
bool FullPinyinParser2::post_process(pinyin_option_t options,
ChewingKeyVector & keys,
return true;
}
+#endif
+
+bool FullPinyinParser2::post_process2(pinyin_option_t options,
+ ChewingKeyVector & keys,
+ ChewingKeyRestVector & key_rests) const {
+ assert(FALSE);
+}
+
#define IS_KEY(x) (('a' <= x && x <= 'z') || x == ';')
bool DoublePinyinParser2::parse_one_key(pinyin_option_t options,
int final_step(size_t step_len, ChewingKeyVector & keys,
ChewingKeyRestVector & key_rests) const;
- bool post_process(pinyin_option_t options, ChewingKeyVector & keys,
- ChewingKeyRestVector & key_rests) const;
+ bool post_process2(pinyin_option_t options, ChewingKeyVector & keys,
+ ChewingKeyRestVector & key_rests) const;
public:
FullPinyinParser2();