2017-09-27 15:27:47 +08:00
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
LONGDOC = """
|
|
|
|
|
Synonyms
|
|
|
|
|
=====================
|
|
|
|
|
|
2020-09-21 14:22:38 +08:00
|
|
|
|
中文近义词
|
2017-09-27 15:27:47 +08:00
|
|
|
|
|
2020-09-21 14:22:38 +08:00
|
|
|
|
https://github.com/chatopera/Synonyms
|
2017-09-27 15:27:47 +08:00
|
|
|
|
|
|
|
|
|
"""
|
|
|
|
|
|
2017-10-31 16:54:55 +08:00
|
|
|
|
setup(
|
|
|
|
|
name='synonyms',
|
2020-12-01 13:24:44 +08:00
|
|
|
|
version='3.16.0',
|
2020-09-21 14:22:38 +08:00
|
|
|
|
description='中文近义词:聊天机器人,智能问答工具包;Chinese Synonyms for Natural Language Processing and Understanding',
|
2017-10-31 16:54:55 +08:00
|
|
|
|
long_description=LONGDOC,
|
|
|
|
|
author='Hai Liang Wang, Hu Ying Xi',
|
2020-09-21 14:22:38 +08:00
|
|
|
|
author_email='hain@chatopera.com',
|
2020-09-11 09:06:04 +08:00
|
|
|
|
url='https://github.com/chatopera/Synonyms',
|
2018-03-04 10:04:39 +08:00
|
|
|
|
license="MIT",
|
2017-10-31 16:54:55 +08:00
|
|
|
|
classifiers=[
|
2017-09-27 15:27:47 +08:00
|
|
|
|
'Intended Audience :: Developers',
|
2018-03-04 10:04:39 +08:00
|
|
|
|
'License :: OSI Approved :: MIT License',
|
2017-09-27 15:27:47 +08:00
|
|
|
|
'Operating System :: OS Independent',
|
|
|
|
|
'Natural Language :: Chinese (Simplified)',
|
|
|
|
|
'Natural Language :: Chinese (Traditional)',
|
|
|
|
|
'Programming Language :: Python',
|
|
|
|
|
'Programming Language :: Python :: 2',
|
|
|
|
|
'Programming Language :: Python :: 2.7',
|
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
|
'Programming Language :: Python :: 3.5',
|
|
|
|
|
'Programming Language :: Python :: 3.6',
|
2020-09-21 14:22:38 +08:00
|
|
|
|
'Programming Language :: Python :: 3.7',
|
2017-09-27 15:27:47 +08:00
|
|
|
|
'Topic :: Text Processing',
|
|
|
|
|
'Topic :: Text Processing :: Indexing',
|
2017-10-31 16:54:55 +08:00
|
|
|
|
'Topic :: Text Processing :: Linguistic'],
|
2020-09-11 09:06:04 +08:00
|
|
|
|
keywords='corpus,machine-learning,NLU,NLP,Synonyms,Similarity,chatbot',
|
2017-10-31 16:54:55 +08:00
|
|
|
|
packages=find_packages(),
|
|
|
|
|
install_requires=[
|
2018-01-19 19:16:30 +08:00
|
|
|
|
'six>=1.11.0',
|
2018-03-03 23:49:33 +08:00
|
|
|
|
'numpy>=1.13.1',
|
2019-04-21 09:19:31 +08:00
|
|
|
|
'scipy>=1.0.0',
|
2022-05-25 08:08:35 +08:00
|
|
|
|
'scikit-learn>=0.19.1',
|
|
|
|
|
'jieba>=0.40'
|
2017-10-31 16:54:55 +08:00
|
|
|
|
],
|
|
|
|
|
package_data={
|
|
|
|
|
'synonyms': [
|
2020-09-24 14:56:38 +08:00
|
|
|
|
'**/**/idf.txt',
|
|
|
|
|
'**/**/*.p',
|
2017-10-31 16:54:55 +08:00
|
|
|
|
'**/*.gz',
|
|
|
|
|
'**/*.txt',
|
|
|
|
|
'LICENSE']})
|