`disability_transformation` Unresolved references to SpaCy
Saad-Mahamood opened this issue · comments
Saad Mahamood commented
When running the disability_transformation
there are several unresolved references to the spacy_nlp
variable. In particular on lines:
- Line 55:
doc = nlp(text)
- Line 147:
spacy_nlp if spacy_nlp else spacy.load("en_core_web_sm")
Saad Mahamood commented
Please use from initialize import spacy_nlp
to get a handle on the global spacy instance.