summaryrefslogtreecommitdiffstats
path: root/src/pinyin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pinyin.cpp')
-rw-r--r--src/pinyin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp
index 4a0b9fb..e2f9070 100644
--- a/src/pinyin.cpp
+++ b/src/pinyin.cpp
@@ -41,7 +41,7 @@ struct _pinyin_context_t{
Bigram * m_system_bigram;
Bigram * m_user_bigram;
- PinyinLookup * m_pinyin_lookup;
+ PinyinLookup2 * m_pinyin_lookup;
PhraseLookup * m_phrase_lookup;
char * m_system_dir;
@@ -190,7 +190,7 @@ pinyin_context_t * pinyin_init(const char * systemdir, const char * userdir){
context->m_user_bigram->load_db(filename);
g_free(filename);
- context->m_pinyin_lookup = new PinyinLookup
+ context->m_pinyin_lookup = new PinyinLookup2
( context->m_options, context->m_pinyin_table,
context->m_phrase_index, context->m_system_bigram,
context->m_user_bigram);