forked from neuspell/neuspell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
44 lines (41 loc) · 1.38 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
from setuptools import setup, find_packages
with open("README.md", mode="r", encoding="utf-8") as readme_file:
readme = readme_file.read()
requirements = [
'transformers==4.30.2',
'tqdm==4.65.0',
'torch==1.13.1',
'numpy==1.24.2',
'jsonlines==3.1.0',
'sentencepiece==0.1.99',
'pytorch_pretrained_bert==0.6.2'
]
setup(
name="neuspell",
version="1.0.0",
author="Sai Muralidhar Jayanthi, Danish Pruthi, and Graham Neubig",
author_email="[email protected]",
description="NeuSpell: A Neural Spelling Correction Toolkit",
long_description=readme,
long_description_content_type="text/markdown",
license="MIT",
url="https://github.com/neuspell/neuspell",
packages=find_packages(),
classifiers=[
"Natural Language :: English",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"License :: OSI Approved :: MIT License",
],
python_requires=">3.5",
install_requires=requirements,
extras_require={
"spacy": ["spacy"],
"elmo": ["allennlp==1.5.0"],
"noising": ["unidecode"],
"flask": ["flask_cors"]
},
keywords="transformer networks neuspell neural spelling correction embedding PyTorch NLP deep learning"
)