diff options
| author | Peng Wu <alexepico@gmail.com> | 2013-09-12 15:04:32 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2013-09-12 15:04:32 +0800 |
| commit | 74a8337065edeea7308269338ec537fb6b5acd05 (patch) | |
| tree | b3ad1c0116ab901f5dcb2bc087e6aeba88c2889f /src/pinyin.cpp | |
| parent | b4ea781c0f9b845d14ced43eda05ea95be7fef57 (diff) | |
rename ChewingParser2 to ChewingSimpleParser2
Diffstat (limited to 'src/pinyin.cpp')
| -rw-r--r-- | src/pinyin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp index 886d14b..4a811e7 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -37,7 +37,7 @@ struct _pinyin_context_t{ pinyin_option_t m_options; FullPinyinParser2 * m_full_pinyin_parser; - ChewingParser2 * m_chewing_parser; + ChewingSimpleParser2 * m_chewing_parser; FacadeChewingTable * m_pinyin_table; FacadePhraseTable2 * m_phrase_table; @@ -178,7 +178,7 @@ pinyin_context_t * pinyin_init(const char * systemdir, const char * userdir){ check_format(context); context->m_full_pinyin_parser = new FullPinyinParser2; - context->m_chewing_parser = new ChewingParser2; + context->m_chewing_parser = new ChewingSimpleParser2; /* load chewing table. */ context->m_pinyin_table = new FacadeChewingTable; |
