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\ 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)

~\anaconda3\lib\site-packages\spacy\ 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))

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.

Recommended Answers

All 2 Replies

Is this Python? You tagged database python visual-basic xml. Should I untag this topic from being VB related?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.