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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nlp_text_preprocessing
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: This is a Text Processing Package For NLP
5
5
  Author: Uditya Narayan Tiwari
6
6
  Author-email: tiwarimerit@gmail.com
@@ -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/contractions.json')
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')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nlp_text_preprocessing
3
- Version: 0.0.5
3
+ Version: 0.0.6
4
4
  Summary: This is a Text Processing Package For NLP
5
5
  Author: Uditya Narayan Tiwari
6
6
  Author-email: tiwarimerit@gmail.com
@@ -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.5',
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
- install_requires=requirements,
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
  )