Multiple Documents Parser
Can you provide an example with output of multiple document parsing?
I can parse one pdf with no problem but when I point to a directory and try to parse multiple pdfs I can an error. It may be user error. I would appreciate any assistance. Thanks.
Below is the error I'm receiving:
ResumeParser('/Users/jthomas/Documents/resumes/').get_extracted_data() Traceback (most recent call last): File "<pyshell#86>", line 1, in
ResumeParser('/Users/jthomas/Documents/resumes/').get_extracted_data() File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/pyresparser/resume_parser.py", line 40, in init ext = os.path.splitext(self.__resume)[1].split('.')[1] IndexError: list index out of range
I can do it with the CLI I am just getting an error with python
@jthomas-dot while doing this in Python, you can use the os.listdir() method.
@OmkarPathak How we can use os.listdir() method? Do we have to modify ResumeParser.py file or use it in our file only?
I can do it with the CLI I am just getting an error with python
Same here.