Notes:
-
Problem Solved: Automates skill extraction from resumes to support faster candidate screening.
-
Customization Benefits: Adjust for specific job descriptions or keyword databases.
-
Further Adoption: Integrate with an ATS or recruitment chatbot for end-to-end automation.
Python Code:
import docx2txt
import spacy
nlp = spacy.load("en_core_web_sm")
SKILL_KEYWORDS = {"python", "excel", "project management", "machine learning", "communication", "leadership"}
def extract_skills_from_resume(file_path):
text = docx2txt.process(file_path)
doc = nlp(text.lower())
found_skills = {token.text for token in doc if token.text in SKILL_KEYWORDS}
return list(found_skills)
# Example usage
resume_file = "candidate_resume.docx"
skills = extract_skills_from_resume(resume_file)
print("Extracted Skills:", skills)
No comments:
Post a Comment