summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2021-03-25 12:31:37 +0800
committerPeng Wu <alexepico@gmail.com>2021-03-25 12:31:37 +0800
commit1056564e95713313b16fce8863e5ad20685c27d1 (patch)
tree042bb57897361990127880a4053d3eb7077462d1
parentcf0cdf8bf46a6d72f7069a5f787ebc51a9b8bc34 (diff)
downloadlibpinyin-1056564e95713313b16fce8863e5ad20685c27d1.tar.gz
libpinyin-1056564e95713313b16fce8863e5ad20685c27d1.tar.xz
libpinyin-1056564e95713313b16fce8863e5ad20685c27d1.zip
Update full pinyin parser code
-rw-r--r--src/storage/pinyin_parser2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/pinyin_parser2.cpp b/src/storage/pinyin_parser2.cpp
index 0ac9bc7..17aa358 100644
--- a/src/storage/pinyin_parser2.cpp
+++ b/src/storage/pinyin_parser2.cpp
@@ -309,7 +309,7 @@ int FullPinyinParser2::parse (pinyin_option_t options, ChewingKeyVector & keys,
value.m_distance < nextstep->m_distance)
*nextstep = value;
-#if 1
+#if 0
/* prefer the 'a' at the end of clause,
* ex: "zheyanga$" -> "zhe'yang'a$".
*/