A Python tool for extracting and matching resumes with job descriptions using NLP. Supports PDF/DOCX, identifies names, education, skills, contacts, and calculates match percentages. Includes Anthropi
A Python-based tool for extracting, analyzing, and matching resumes with job descriptions using advanced Natural Language Processing (NLP) techniques. This tool supports PDF and DOCX file formats and provides insights into resumes by extracting key information such as names, education, skills, contact information, and calculating match percentages with job descriptions. It also integrates with Anthropic's Claude AI for answering advanced queries.
anthropic
docx2txt
PyPDF2
spacy
nltk
git clone https://github.com/<your-username>/resume-parser.git
Navigate to the directory:
cd resume-parser
Install dependencies:
pip install -r requirements.txt
Download spaCy's English language model:
python -m spacy download en_core_web_sm
Run the Script:
python resume_parser.py
Upload Files:
When prompted, upload the job description in PDF or DOCX format.
Upload one or more resumes in PDF or DOCX formats.
View Results:
Extracted candidate details and match percentages are displayed.
Use the integrated query system to ask questions about the data.
Extract Candidate Details:
Name
Education
Skills
Contact Information (Phone and Email)
Skill Matching:
Compares resume skills with job description keywords.
Calculates a compatibility percentage.
Allows users to interact with data via Anthropic's Claude AI.
Example: "Who is the best candidate for this role?"
Example Output
Candidate Data
{
"Name": "John Doe",
"Education": ["B.Tech", "MBA"],
"Skills": ["python", "data analysis", "sql"],
"Mobile Number": "9876543210",
"Email Addresses": ["johndoe@example.com"],
"Match Percentage": 85.0
}
Question: "Who is the best candidate for this job?"
Answer: "John Doe with a match percentage of 85% is the most suitable candidate."
API Key:
Replace api_key in the code with your actual Anthropic API key.
Do not upload your API key to public repositories.
Update the EDUCATION and SKILLS lists in the script for specific industries.
amogh-vardhan/Resume-Analysis-and-Recruitment-Assistant
December 1, 2024
April 30, 2025
Python