diff options
| author | Peng Wu <alexepico@gmail.com> | 2022-08-30 11:51:18 +0800 |
|---|---|---|
| committer | Peng Wu <alexepico@gmail.com> | 2022-08-30 11:51:18 +0800 |
| commit | 20ad271a95ff149422a55b8dbe985c114a5a27e4 (patch) | |
| tree | 20effac3046957c41ebdec4f3c83865c65062e7c /src/pinyin.cpp | |
| parent | 008794423b00488ee45fb204bf5c6fc5205475cb (diff) | |
| download | libpinyin-20ad271a95ff149422a55b8dbe985c114a5a27e4.tar.gz libpinyin-20ad271a95ff149422a55b8dbe985c114a5a27e4.tar.xz libpinyin-20ad271a95ff149422a55b8dbe985c114a5a27e4.zip | |
Fix Kyoto Cabinet usage
Diffstat (limited to 'src/pinyin.cpp')
| -rw-r--r-- | src/pinyin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinyin.cpp b/src/pinyin.cpp index 76ab61a..6bef386 100644 --- a/src/pinyin.cpp +++ b/src/pinyin.cpp @@ -2089,7 +2089,7 @@ bool pinyin_guess_predicted_candidates(pinyin_instance_t * instance, phrase_index->prepare_tokens(phrase_tokens); int result = context->m_phrase_table->search_suggestion (instance->m_prefix_len, instance->m_prefix_ucs4, phrase_tokens); - int num = reduce_tokens(phrase_tokens, tokenarray); + int num = reduce_tokens(phrase_tokens, tokenarray, false); phrase_index->destroy_tokens(phrase_tokens); for (size_t i = 0; i < tokenarray->len; ++i) { |
