From 541ecaf98b814808d9c00386954d07a6e807596b Mon Sep 17 00:00:00 2001 From: Loreto Parisi Date: Wed, 1 Jul 2020 20:17:44 +0200 Subject: [PATCH] =?UTF-8?q?fixed=20=E6=BA=9C=20-=20https://github.com/bern?= =?UTF-8?q?iey/hanziconv/issues/17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- example.py | 6 +++++- hanziconv/charmap.py | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/example.py b/example.py index bdee738..24b51c0 100644 --- a/example.py +++ b/example.py @@ -38,4 +38,8 @@ print(HanziConv.toSimplified("猛男该听的歌")) # 猛男该听的歌 print(HanziConv.toSimplified("呼叫")) -# 呼叫 \ No newline at end of file +# 呼叫 +print(HanziConv.toSimplified("呼")) +# 呼 +print(HanziConv.toSimplified("溜")) +# 熘 \ No newline at end of file diff --git a/hanziconv/charmap.py b/hanziconv/charmap.py index cb755d1..bf94fab 100644 --- a/hanziconv/charmap.py +++ b/hanziconv/charmap.py @@ -154,7 +154,7 @@ extra_simplified = ''.join(textwrap.dedent(""" 肷闹潆飖幞镙闳慭丢眦氲溆媪饥鲬龁虬瘘凑奂绬宁荙辍鳐脱莼镆贠鲉瑶辀珐兑锽廪捻羡阛奥 -栖锍糇鲯钩翙铴哜熘钵讠腽摇颕辁衮别伫阓啮诜挣产屉岳隽阇奖铘馂减碱着焕郄铚蓥沓碹秃 +栖锍糇鲯钩翙铴哜溜钵讠腽摇颕辁衮别伫阓啮诜挣产屉岳隽阇奖铘馂减碱着焕郄铚蓥沓碹秃 鲀襕栀赟闶赀潜痴咔伪禄骔叙咨兹鸤藁垱鱾栅卺锈鹲绷笋彦纟飐杰钑够潴坂鳀莅垯筜钸污猬 囱镡悦璇袅姗秾橥匀鲾痪唣鹀鲪嘘泪横并桊檩晖亘挂莶眬诐畲换钣涣鹍鹟毁晋绁镠内却灾鹱 铻鳋骙驲荆飔鲄硅赞丬骣缏脉筝袆岽嬷删盗况颚缋镕强啴懔滟脚嵴峥温腼猪腭呼苌崃尝闲锠