Closed MiCodes2 closed 3 years ago
@mithileshk87 can you please provide more information. Like what are you trying to run?
Hi @OmkarPathak , I am running this package for information retrieval as mentioned here on 1000 test resumes which have combination of doc, pdf and docx files.
I ran following code for that:
import nltk
nltk.download('stopwords')
import spacy
spacy.load("en_core_web_sm")
from pyresparser import ResumeParser
data = ResumeParser('/home/mithileshkumar/Documents/Personal/Resume_Extraction/ConsultantResumes').get_extracted_data()
@mithileshk87 Your code will only work for a single file and not for a directory. You have to change it to something like:
import os
import nltk
import spacy
from pyresparser import ResumeParser
nltk.download('stopwords')
spacy.load("en_core_web_sm")
for root, _, filenames in os.walk(directory):
for filename in filenames:
file = os.path.join(root, filename)
data = ResumeParser(file).get_extracted_data()
Closing because of no response
Hi, I am getting following errors. Please check if I am missing something.
Error:
Thanks.