nlp = spacy.load("en_core_web_sm")
Error found
OSError Traceback (most recent call last)
<ipython-input-3-8d092272a28e> in <module>
----> 1 nlp = spacy.load("en_core_web_sm")
~\anaconda3\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config)
45 RETURNS (Language): The loaded nlp object.
46 """
---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config)
48
49
~\anaconda3\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config)
327 if name in OLD_MODEL_SHORTCUTS:
328 raise IOError(Errors.E941.format(name=name, full=OLD_MODEL_SHORTCUTS[name]))
--> 329 raise IOError(Errors.E050.format(name=name))
330
331
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a Python package or a valid path to a data directory.