Spaces:
Sleeping
Sleeping
Upload app.py
Browse files
app.py
CHANGED
|
@@ -139,8 +139,8 @@ def highlight_pdf(file_path, text_to_highlight, page_numbers):
|
|
| 139 |
|
| 140 |
|
| 141 |
# Remove stopwords
|
| 142 |
-
stop_words = set(stopwords.words("english"))
|
| 143 |
-
words = [word for word in words if word.lower() not in stop_words]
|
| 144 |
|
| 145 |
print(words)
|
| 146 |
|
|
|
|
| 139 |
|
| 140 |
|
| 141 |
# Remove stopwords
|
| 142 |
+
# stop_words = set(stopwords.words("english"))
|
| 143 |
+
# words = [word for word in words if word.lower() not in stop_words]
|
| 144 |
|
| 145 |
print(words)
|
| 146 |
|