Spaces:
Sleeping
Sleeping
Update pages/01_Parts of Speech Annotation.py
Browse files
pages/01_Parts of Speech Annotation.py
CHANGED
@@ -8,6 +8,8 @@ import string
|
|
8 |
from annotated_text import annotated_text
|
9 |
from PIL import Image
|
10 |
|
|
|
|
|
11 |
# Load the English NLP model
|
12 |
nlp = spacy.load("en_core_web_sm")
|
13 |
|
|
|
8 |
from annotated_text import annotated_text
|
9 |
from PIL import Image
|
10 |
|
11 |
+
spacy.cli.download("en_core_web_sm") # Download and install the model
|
12 |
+
|
13 |
# Load the English NLP model
|
14 |
nlp = spacy.load("en_core_web_sm")
|
15 |
|