How to Solve NameError: name 'English' is not defined -- spacy

Solution: Import the 'English' module

To Solve the error, add the following line to the top of your code.

from spacy.lang.en import English

 

For more information:
Python spacy English