From f1d69790245b1e4d1a2930d9170e84cbe84502cd Mon Sep 17 00:00:00 2001 From: mozillazg Date: Sun, 23 Aug 2015 18:58:43 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20zh,=20ch,=20sh,=20z,?= =?UTF-8?q?=20c,=20s=20=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98=E5=AF=BC?= =?UTF-8?q?=E8=87=B4=E8=8E=B7=E5=8F=96=E5=A3=B0=E6=AF=8D=E6=9C=89=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pypinyin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pypinyin/__init__.py b/pypinyin/__init__.py index e90bef24..d33af8a1 100644 --- a/pypinyin/__init__.py +++ b/pypinyin/__init__.py @@ -48,7 +48,7 @@ # 单字拼音库 PINYIN_DICT = pinyin_dict.pinyin_dict.copy() # 声母表 -_INITIALS = 'b,p,m,f,d,t,n,l,g,k,h,j,q,x,r,z,c,s,zh,ch,sh'.split(',') +_INITIALS = 'b,p,m,f,d,t,n,l,g,k,h,j,q,x,r,zh,ch,sh,z,c,s,'.split(',') # 带声调字符与使用数字标识的字符的对应关系,类似: {u'ā': 'a1'} PHONETIC_SYMBOL = phonetic_symbol.phonetic_symbol.copy() # 所有的带声调字符 From 074709897b44761bc352d209c229ea067ae16d35 Mon Sep 17 00:00:00 2001 From: mozillazg Date: Sun, 23 Aug 2015 19:03:19 +0800 Subject: [PATCH 2/2] v0.8.5 --- CHANGELOG.rst | 6 ++++++ pypinyin/__init__.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 5858d62e..61d1f4cc 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,12 @@ Changelog --------- +0.8.5 (2015-08-23) +++++++++++++++++++++ + +* **bugfix** 修复 zh, ch, sh, z, c, s 顺序问题导致获取声母有误 + + 0.8.4 (2015-08-23) ++++++++++++++++++++ diff --git a/pypinyin/__init__.py b/pypinyin/__init__.py index d33af8a1..fe5d48cc 100644 --- a/pypinyin/__init__.py +++ b/pypinyin/__init__.py @@ -14,7 +14,7 @@ from . import phonetic_symbol, pinyin_dict __title__ = 'pypinyin' -__version__ = '0.8.4' +__version__ = '0.8.5' __author__ = 'mozillazg, 闲耘' __license__ = 'MIT' __copyright__ = 'Copyright (c) 2014 mozillazg, 闲耘'