Closed gveni closed 5 years ago
I'm on mobile and walking right now so I cant link you, but you need to download the spacy model "en_core_web_lg" or any of their other models and pass whatever one you downloaded as a string to the nlp parameter. Check their site for more info
On Mar 7, 2019, at 3:57 PM, gveni notifications@github.com wrote:
en_core_web_lg
You have to download the Spacy model:
python -m spacy download en_core_web_lg
On Mar 7, 2019, at 3:57 PM, gveni notifications@github.com wrote:
I am getting the following error after running the preprocessing code provided. File "/nlppipe.py", line 41, in init self.nlp = spacy.load(nlp, disable = ['ner', 'tagger', 'parser']) File "/spacy/init.py", line 21, in load return util.load_model(name, overrides) File "*/spacy/util.py", line 119, in load_model raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find model 'en_core_web_lg'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. Any help would be appreciated
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
Thanks a lot for all the prompt responses. I appreciate it! Worked!
Thanks @dbl001 :smiley:
I am getting the following error after running the preprocessing code provided. File "/nlppipe.py", line 41, in init self.nlp = spacy.load(nlp, disable = ['ner', 'tagger', 'parser']) File "/spacy/init.py", line 21, in load return util.load_model(name, **overrides) File "***/spacy/util.py", line 119, in load_model raise IOError(Errors.E050.format(name=name)) OSError: [E050] Can't find model 'en_core_web_lg'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory. Any help would be appreciated