Spaces:
Sleeping
Sleeping
app.py
CHANGED
|
@@ -8,6 +8,7 @@ import nltk
|
|
| 8 |
|
| 9 |
# Download stopwords if not already available
|
| 10 |
nltk.download("stopwords")
|
|
|
|
| 11 |
stop_words = set(stopwords.words("english"))
|
| 12 |
|
| 13 |
# Define additional words (prepositions, conjunctions, articles) to remove
|
|
|
|
| 8 |
|
| 9 |
# Download stopwords if not already available
|
| 10 |
nltk.download("stopwords")
|
| 11 |
+
nltk.download('punkt')
|
| 12 |
stop_words = set(stopwords.words("english"))
|
| 13 |
|
| 14 |
# Define additional words (prepositions, conjunctions, articles) to remove
|