projects
/
platform
/
upstream
/
libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829fe64
)
fixes parse one key in double pinyin parser
author
Peng Wu
<alexepico@gmail.com>
Fri, 25 May 2012 07:22:38 +0000
(15:22 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Fri, 25 May 2012 07:22:38 +0000
(15:22 +0800)
src/storage/pinyin_parser2.cpp
patch
|
blob
|
history
diff --git
a/src/storage/pinyin_parser2.cpp
b/src/storage/pinyin_parser2.cpp
index
c70335c
..
c91be99
100644
(file)
--- 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))