diff options
author | Peng Wu <alexepico@gmail.com> | 2018-01-29 15:00:42 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2018-01-29 15:00:42 +0800 |
commit | f4461b1f7687eba6ac95e8c995d0e3509adbb30d (patch) | |
tree | 67a97f9898f824d2139b1b1053882c6f35fe4280 /src/zhuyin.cpp | |
parent | 813cedc202276fa6d4127446c4688d8a706c5ff5 (diff) | |
download | libpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.tar.gz libpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.tar.xz libpinyin-f4461b1f7687eba6ac95e8c995d0e3509adbb30d.zip |
fixes compile
Diffstat (limited to 'src/zhuyin.cpp')
-rw-r--r-- | src/zhuyin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zhuyin.cpp b/src/zhuyin.cpp index 3b98df5..43745fa 100644 --- a/src/zhuyin.cpp +++ b/src/zhuyin.cpp @@ -47,7 +47,7 @@ struct _zhuyin_context_t{ Bigram * m_user_bigram; /* lookups. */ - PhoneticLookup<1> * m_pinyin_lookup; + PhoneticLookup<1, 1> * m_pinyin_lookup; PhraseLookup * m_phrase_lookup; char * m_system_dir; @@ -345,7 +345,7 @@ zhuyin_context_t * zhuyin_init(const char * systemdir, const char * userdir){ gfloat lambda = context->m_system_table_info.get_lambda(); - context->m_pinyin_lookup = new PhoneticLookup<1> + context->m_pinyin_lookup = new PhoneticLookup<1, 1> ( lambda, context->m_pinyin_table, context->m_phrase_index, context->m_system_bigram, context->m_user_bigram); |