-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·42 lines (39 loc) · 1.3 KB
/
setup.py
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
#! /usr/bin/env python
"""
Thai word Segmentation using Convolutional Neural Network
"""
from setuptools import setup
requirements = [
'tensorflow>=2.0.0',
'pandas',
'scipy',
'numpy',
'scikit-learn',
'python-crfsuite',
'pyahocorasick'
]
with open('README.md', 'r', encoding='utf-8-sig') as f:
readme = f.read()
setup(
name = 'SEFR_CUT',
packages = ['sefr_cut','sefr_cut.deepcut','sefr_cut.model','sefr_cut.variable','sefr_cut.weight','sefr_cut.deepcut.weight'],
include_package_data = True,
package_data={"sefr_cut": ['model/*','variable/*','weight/*','deepcut/weight/*']},
version = '1.1',
install_requires = requirements,
long_description = readme,
long_description_content_type='text/markdown',
license = 'MIT',
description = 'Domain Adaptation of Thai Word Segmentation Models using Stacked Ensemble (EMNLP2020)',
author = 'mrpeerat',
author_email = 'peerat.l_s19@vistec.ac.th',
url = 'https://github.com/mrpeerat/SEFR_CUT',
download_url = '',
keywords = ['thai word segmentation', 'word segmentation', 'thainlp'],
classifiers = [
'Development Status :: 5 - Production/Stable',
'Natural Language :: Thai',
'License :: OSI Approved :: MIT License',
'Topic :: Text Processing :: Linguistic'
],
)