You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting this error while running the example file also -
`---------------------------------------------------------------------------
OSError Traceback (most recent call last)
in
----> 1 convert(fname) # a copy of test0, without signature block
~\EmailParser-master\Parser.py in _generate_text(sentences, fname, threshold)
41 Lower thresholds will result in more false positives.
42 """
---> 43 tagger = spacy.load('en_core_web_sm')
44
45 with open(fname, "w") as new_file:
~\Anaconda3\lib\site-packages\spacy_init_.py in load(name, **overrides)
28 if depr_path not in (True, False, None):
29 warnings.warn(Warnings.W001.format(path=depr_path), DeprecationWarning)
---> 30 return util.load_model(name, **overrides)
31
32
~\Anaconda3\lib\site-packages\spacy\util.py in load_model(name, **overrides)
173 elif hasattr(name, "exists"): # Path or Path-like to model data
174 return load_model_from_path(name, **overrides)
--> 175 raise IOError(Errors.E050.format(name=name))
176
177
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.`
The text was updated successfully, but these errors were encountered:
Getting this error while running the example file also -
`---------------------------------------------------------------------------
OSError Traceback (most recent call last)
in
----> 1 convert(fname) # a copy of test0, without signature block
~\EmailParser-master\Parser.py in convert(fname, threshold)
11 fn = fname.split(".")
12 new_fname = fn[0] + "_clean." + fn[1]
---> 13 _generate_text(sentences, new_fname)
14
15 def _read_email(fname):
~\EmailParser-master\Parser.py in _generate_text(sentences, fname, threshold)
41 Lower thresholds will result in more false positives.
42 """
---> 43 tagger = spacy.load('en_core_web_sm')
44
45 with open(fname, "w") as new_file:
~\Anaconda3\lib\site-packages\spacy_init_.py in load(name, **overrides)
28 if depr_path not in (True, False, None):
29 warnings.warn(Warnings.W001.format(path=depr_path), DeprecationWarning)
---> 30 return util.load_model(name, **overrides)
31
32
~\Anaconda3\lib\site-packages\spacy\util.py in load_model(name, **overrides)
173 elif hasattr(name, "exists"): # Path or Path-like to model data
174 return load_model_from_path(name, **overrides)
--> 175 raise IOError(Errors.E050.format(name=name))
176
177
OSError: [E050] Can't find model 'en_core_web_sm'. It doesn't seem to be a shortcut link, a Python package or a valid path to a data directory.`
The text was updated successfully, but these errors were encountered: