From 5149232d03da812c022c8f532f47fc5b1acb71c9 Mon Sep 17 00:00:00 2001 From: Yuanle Song Date: Sun, 16 Feb 2020 19:46:50 +0800 Subject: [PATCH] v0.10.0 enable ue -> ve fuzzy by default. --- meson.build | 2 +- zero-pinyin-service.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/meson.build b/meson.build index 6dbda9c..d6773dd 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ # -*- mode: conf -*- project('zero-pinyin-service', ['c', 'cpp'], - version: '0.9.3', + version: '0.10.0', license: 'GPL', meson_version: '>=0.1.0', default_options: [ diff --git a/zero-pinyin-service.c b/zero-pinyin-service.c index d8fa410..177e507 100644 --- a/zero-pinyin-service.c +++ b/zero-pinyin-service.c @@ -356,7 +356,8 @@ add_candidate_to_builders(Candidate *c, guint to_pyzy_flag(const guint fuzzy_flag) { - guint result = 0; + /* ue to ve is enabled by default. */ + guint result = PINYIN_CORRECT_UE_TO_VE; if (fuzzy_flag & FUZZY_FLAG_ZCS_ZHCHSH) { result = result | PINYIN_FUZZY_Z_ZH | PINYIN_FUZZY_ZH_Z | -- GitLab