File tree Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Expand file tree Collapse file tree 5 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
2
files = setup.py xmnlp/__init__.py
3
- current_version = 0.2.2
3
+ current_version = 0.2.3
4
4
commit = True
5
5
tag = True
6
-
Original file line number Diff line number Diff line change 1
1
<p align =' center ' >/ xmnlp /</p >
2
2
<p align =' center ' >小明 NLP — 轻量级中文自然语言处理工具</p >
3
3
<p align =' center ' > A Lightweight Chinese Natural Language Processing Toolkit</p >
4
- <p align =' center ' >v 0.2.2 </p >
4
+ <p align =' center ' >v 0.2.3 </p >
5
5
6
- <p align =' center ' ><strong >R.I.P</strong > 0.2.2版是 xmnlp 最后一个兼容 Python 2.7 的版本</div >
6
+ <p align =' center ' ><strong >R.I.P</strong > 0.2.3版是 xmnlp 最后一个兼容 Python 2.7 的版本</div >
7
7
8
- [ ![ pypi] ( https://img.shields.io/badge/pypi-v0.2.2 -blue.svg )] ( https://pypi.org/project/xmnlp/ )
8
+ [ ![ pypi] ( https://img.shields.io/badge/pypi-v0.2.3 -blue.svg )] ( https://pypi.org/project/xmnlp/ )
9
9
![ python version] ( https://img.shields.io/badge/python-2%2C3-orange.svg )
10
10
![ support os] ( https://img.shields.io/badge/os-linux%2C%20win%2C%20mac-yellow.svg )
11
11
[ ![ GitHub license] ( https://img.shields.io/github/license/SeanLee97/xmnlp.svg )] ( https://github.com/SeanLee97/xmnlp/blob/master/LICENSE )
Original file line number Diff line number Diff line change 14
14
sys .setdefaultencoding ('utf8' )
15
15
16
16
17
- __version__ = '0.2.2 '
17
+ __version__ = '0.2.3 '
18
18
19
19
LONGDESC = """
20
20
============
Original file line number Diff line number Diff line change 27
27
sys .setdefaultencoding ('utf8' )
28
28
29
29
__author__ = 'sean lee'
30
- __version__ = '0.2.2 '
30
+ __version__ = '0.2.3 '
31
31
32
32
33
33
def load_stopword (fpath ):
Original file line number Diff line number Diff line change 16
16
if sys .version_info [0 ] == 2 :
17
17
reload (sys )
18
18
sys .setdefaultencoding ('utf8' )
19
+ elif sys .version_info [0 ] == 3 :
20
+ unicode = str
19
21
20
22
# checker model
21
23
model = None
You can’t perform that action at this time.
0 commit comments