Spaces:
Sleeping
Sleeping
Ezi Ozoani
commited on
Commit
·
4fe8e41
1
Parent(s):
13af81f
redo
Browse files
__pycache__/read_extract.cpython-311.pyc
CHANGED
|
Binary files a/__pycache__/read_extract.cpython-311.pyc and b/__pycache__/read_extract.cpython-311.pyc differ
|
|
|
read_extract.py
CHANGED
|
@@ -225,7 +225,7 @@ def get_keywords(datatype, task, field, pos_text, neg_text):
|
|
| 225 |
datatype, task, field = datatype.lower(), task.lower(), field.lower()
|
| 226 |
|
| 227 |
#stop_words = set(stopwords.words('english'))
|
| 228 |
-
stop_words = nltk.corpus.stopwords.words('english')
|
| 229 |
stop_words = stop_words.union({'license', 'licensing', 'licensor', 'copyright', 'copyrights', 'patent'})
|
| 230 |
|
| 231 |
pos_kw_model = KeyBERT()
|
|
|
|
| 225 |
datatype, task, field = datatype.lower(), task.lower(), field.lower()
|
| 226 |
|
| 227 |
#stop_words = set(stopwords.words('english'))
|
| 228 |
+
stop_words = set(nltk.corpus.stopwords.words('english'))
|
| 229 |
stop_words = stop_words.union({'license', 'licensing', 'licensor', 'copyright', 'copyrights', 'patent'})
|
| 230 |
|
| 231 |
pos_kw_model = KeyBERT()
|