forked from BenjaminDHorne/NELAFeatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (27 loc) · 952 Bytes
/
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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='nela_features',
packages=['nela_features'],
install_requires=['nltk', 'vaderSentiment', 'datefinder', 'numpy'],
version='2.0.6',
author="Benjamin D. Horne",
author_email="[email protected]",
description="A package to compute text features for news veracity.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/BenjaminDHorne/NELAFeatures",
#packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
import nltk
nltk.download('stopwords')
nltk.download('words')
nltk.download('punkt')
nltk.download('maxent_ne_chunker')
nltk.download('averaged_perceptron_tagger')