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
Hii!!
I am trying to extract information through resume,but getting this error.Could anyone help me with this??
!pip install nltk
!pip install spacy==2.3.5
!pip install https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.3.1/en_core_web_sm-2.3.1.tar.gz
!pip install pyresparser
from pyresparser import ResumeParser
data = ResumeParser('resumes\\Resume.pdf').get_extracted_data()
Error:
OSError Traceback (most recent call last)
<ipython-input-16-514bc438f146> in <module>
1 from pyresparser import ResumeParser
----> 2 data = ResumeParser('resumes//Resume.pdf').get_extracted_data()
E:\majorProject\pyresparser.py in __init__(self, resume, skills_file, custom_regex)
18 ):
19 nlp = spacy.load('en_core_web_sm')
---> 20 custom_nlp = spacy.load(os.path.dirname(os.path.abspath(__file__)))
21 self.__skills_file = skills_file
22 self.__custom_regex = custom_regex
e:\pyresparser\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
e:\pyresparser\lib\site-packages\spacy\util.py in load_model(name, **overrides)
170 return load_model_from_package(name, **overrides)
171 if Path(name).exists(): # path to model data directory
--> 172 return load_model_from_path(Path(name), **overrides)
173 elif hasattr(name, "exists"): # Path or Path-like to model data
174 return load_model_from_path(name, **overrides)
e:\pyresparser\lib\site-packages\spacy\util.py in load_model_from_path(model_path, meta, **overrides)
196 pipeline from meta.json and then calls from_disk() with path."""
197 if not meta:
--> 198 meta = get_model_meta(model_path)
199 # Support language factories registered via entry points (e.g. custom
200 # language subclass) while keeping top-level language identifier "lang"
e:\pyresparser\lib\site-packages\spacy\util.py in get_model_meta(path)
251 meta_path = model_path / "meta.json"
252 if not meta_path.is_file():
--> 253 raise IOError(Errors.E053.format(path=meta_path))
254 meta = srsly.read_json(meta_path)
255 for setting in ["lang", "name", "version"]:
OSError: [E053] Could not read meta.json from E:\majorProject\meta.json
Thank You
The text was updated successfully, but these errors were encountered:
Hii!!
I am trying to extract information through resume,but getting this error.Could anyone help me with this??
Error:
Thank You
The text was updated successfully, but these errors were encountered: