`summarization_transformation` has unresolved reference to spaCy
Saad-Mahamood opened this issue · comments
Saad Mahamood commented
When running this transformation there are several unresolved references to the spacy_nlp variable. In particular on line:
- Line 21:
self.nlp = spacy_nlp if spacy_nlp else spacy.load("en_core_web_sm", disable=['ner','textcat'])
Please use from initialize import spacy_nlp
to get a handle on the global spacy instance.