This repository has been archived by the owner on May 17, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
84 lines (79 loc) · 2.17 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open("README.md", "r") as f:
readme = f.read()
requirements = [
"pythainlp>=2.0",
"bpemb",
"gensim>=4.0.0",
"nltk"
#"transformers",
#"thai2transformers"
]
extras = {
"fasttext":[
"gensim>=4.0.0",
"PyICU"
],
"wangchanberta":[
"thai2transformers",
"torch==1.4.0"
],
"full":[
"thai2transformers",
"torch==1.4.0",
"gensim>=4.0.0",
"PyICU"
]
}
setup(
name="thaitextaug",
version="0.0.4",
description="Thai Text Augmentation",
long_description=readme,
long_description_content_type="text/markdown",
author="Wannaphong Phatthiyaphaibun",
author_email="wannaphong@yahoo.com",
url="https://github.com/wannaphong/thaitextaug",
packages=find_packages(exclude=["tests", "tests.*"]),
test_suite="tests",
python_requires=">=3.6",
#package_data={
# "thaitextaug": [
# "data/*",
# ],
#},
include_package_data=True,
install_requires=requirements,
extras_require=extras,
license="Apache Software License 2.0",
zip_safe=False,
keywords=[
"thaitextaug",
"NLP",
"natural language processing",
"text analytics",
"text processing",
"localization",
"computational linguistics",
"ThaiNLP",
"Thai NLP",
"Thai language",
],
classifiers=[
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Thai",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing",
"Topic :: Text Processing :: General",
"Topic :: Text Processing :: Linguistic",
],
project_urls={
"Documentation": "https://github.com/wannaphong/thaitextaug",
"Tutorials": "https://github.com/wannaphong/thaitextaug/tree/main/notebooks",
"Source Code": "https://github.com/wannaphong/thaitextaug",
"Bug Tracker": "https://github.com/wannaphong/thaitextaug/issues",
},
)