-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (50 loc) · 1.69 KB
/
Copy pathsetup.py
File metadata and controls
63 lines (50 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
LONGDOC = """
chop
=====
中文分词
完整文档见
GitHub: https://github.com/samurais/chop
特点
====
* 使用简单
```python
for x in t.cut("工信处女干事每月经过下属科室都要亲口交代24口交换机等技术性器件的安装工作"): print(x)
```
* 代码通俗易懂,方便掌握算法
- MIT 授权协议
安装说明
========
代码对 Python 3 兼容
- 全自动安装: ``easy_install chop`` 或者 ``pip install chop`` / ``pip3 install chop``
- 通过 ``import chop`` 来引用
"""
setup(name='chop',
version='1.0',
description='Chinese Words Segementation Utilities',
long_description=LONGDOC,
author='Hai Liang Wang',
author_email='[email protected]',
url='https://github.com/samurais/chop',
license="MIT",
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: Chinese (Simplified)',
'Natural Language :: Chinese (Traditional)',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Text Processing',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
keywords='NLP,tokenizing,Chinese word segementation',
packages= find_packages(),
# package_dir={'chop':['chop']},
package_data={'chop':['mmseg/*.txt', 'hmm/*.json', 'hmm/*.utf8']}
)