nlp-text-preprocessing 0.0.5__tar.gz → 0.0.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/PKG-INFO +1 -1
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing/all_text_preprocess.py +1 -1
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing.egg-info/PKG-INFO +1 -1
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/setup.py +4 -3
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/LICENSE +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/MANIFEST.in +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing/__init__.py +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing/data/contractions.json +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing.egg-info/SOURCES.txt +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing.egg-info/dependency_links.txt +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing.egg-info/requires.txt +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing.egg-info/top_level.txt +0 -0
- {nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/setup.cfg +0 -0
|
@@ -15,7 +15,7 @@ from textblob.sentiments import NaiveBayesAnalyzer
|
|
|
15
15
|
from spacy.lang.en.stop_words import STOP_WORDS as sw
|
|
16
16
|
import nltk
|
|
17
17
|
|
|
18
|
-
fpath = os.path.join(os.path.dirname(__file__), 'data
|
|
18
|
+
fpath = os.path.join(os.path.dirname(__file__), 'data', 'contractions.json')
|
|
19
19
|
contractions = json.load(open(fpath))
|
|
20
20
|
|
|
21
21
|
nlp = spacy.load('en_core_web_sm')
|
|
@@ -9,7 +9,7 @@ with open('requirements.txt') as fp:
|
|
|
9
9
|
setuptools.setup(
|
|
10
10
|
name='nlp_text_preprocessing',
|
|
11
11
|
include_package_data=True,
|
|
12
|
-
version='0.0.
|
|
12
|
+
version='0.0.6', # Increment version
|
|
13
13
|
author='Uditya Narayan Tiwari',
|
|
14
14
|
author_email='tiwarimerit@gmail.com',
|
|
15
15
|
description='This is a Text Processing Package For NLP',
|
|
@@ -21,7 +21,8 @@ setuptools.setup(
|
|
|
21
21
|
"License :: OSI Approved :: MIT License",
|
|
22
22
|
"Operating System :: OS Independent"
|
|
23
23
|
],
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
install_requires=requirements,
|
|
25
|
+
# explicit instruction to include data files in the package
|
|
26
|
+
package_data={'nlp_text_preprocessing': ['data/*.json']},
|
|
26
27
|
python_requires='>=3.9',
|
|
27
28
|
)
|
|
File without changes
|
|
File without changes
|
{nlp_text_preprocessing-0.0.5 → nlp_text_preprocessing-0.0.6}/nlp_text_preprocessing/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|