diff options
author | Peng Wu <alexepico@gmail.com> | 2012-05-25 15:22:38 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2012-05-25 15:22:38 +0800 |
commit | 745e87ade00dd7133613a923d7f14f3f8eb5ef97 (patch) | |
tree | e93bc037615dcb95704e46a2c1e9d699b072d2f5 | |
parent | 829fe643575f17a7903287c921e3717a2d9db14a (diff) | |
download | libpinyin-745e87ade00dd7133613a923d7f14f3f8eb5ef97.tar.gz libpinyin-745e87ade00dd7133613a923d7f14f3f8eb5ef97.tar.xz libpinyin-745e87ade00dd7133613a923d7f14f3f8eb5ef97.zip |
fixes parse one key in double pinyin parser
-rw-r--r-- | src/storage/pinyin_parser2.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp index c70335c..c91be99 100644 --- a/src/storage/pinyin_parser2.cpp +++ b/src/storage/pinyin_parser2.cpp @@ -623,6 +623,7 @@ bool DoublePinyinParser2::parse_one_key(pinyin_option_t options, ChewingKey & key, const char *str, int len) const { options &= ~(PINYIN_CORRECT_ALL|PINYIN_AMB_ALL); + options |= PINYIN_CORRECT_UE_VE; if (1 == len) { if (!(options & PINYIN_INCOMPLETE)) |