Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,8 @@ from nltk.corpus import words, wordnet
|
|
| 23 |
import spacy
|
| 24 |
from spellchecker import SpellChecker
|
| 25 |
import string
|
|
|
|
|
|
|
| 26 |
|
| 27 |
# Download necessary NLTK resources
|
| 28 |
nltk.download('wordnet')
|
|
|
|
| 23 |
import spacy
|
| 24 |
from spellchecker import SpellChecker
|
| 25 |
import string
|
| 26 |
+
import spacy.cli
|
| 27 |
+
spacy.cli.download("en_core_web_sm")
|
| 28 |
|
| 29 |
# Download necessary NLTK resources
|
| 30 |
nltk.download('wordnet')
|