T The AI Resume Analyzer is a smart NLP-based tool that analyzes and scores resumes against a given job description. It extracts key skills, calculates semantic similarity using TF-IDF and cosine similarity, and ranks resumes with detailed match percentages. Ideal for recruiters and developers.
ai_resume_analyzer/
analyzer.py
# The main script that runs the analysis.requirements.txt
# Lists all the Python libraries needed for the project.job_description.txt
# This is where you'll put the job description for comparison.resumes/
# A dedicated folder for all the resumes (PDF and DOCX files) you want to analyze.
Clone the Repository:
git clone [https://github.com/sujit-codezen/ai_resume_analyzer_python.git](https://github.com/sujit-codezen/ai_resume_analyzer_python.git) cd ai-resume-analyzer
Set Up Virtual Environment (Optional but Recommended): Creating a virtual environment helps manage project dependencies without conflicts.
python -m venv venv # On Windows: venv\Scripts\activate # On Linux/macOS: source venv/bin/activate
Install Dependencies: This step installs all necessary libraries, including spaCy
for natural language processing.
pip install --upgrade pip pip install -r requirements.txt python -m spacy download en_core_web_sm
To get started, paste your job requirements inside the job_description.txt
file.
Example: Looking for a Python developer skilled in Django, React, SQL, AWS, and Docker.
Next, place your .pdf
or .docx
resumes inside the resumes/
folder. The analyzer will process all compatible files in this directory.
Once your job description and resumes are in place, execute the main script from your terminal:
python analyzer.py
After running the analyzer, you'll see a clear, tabular summary indicating how well each resume matches the job description, along with the skills identified.
Resume | Match % | Skill % | Skills Found |
---|---|---|---|
Resume1.pdf | 85.30% | 71.43% | python, django, aws, docker |
Resume2.docx | 58.72% | 28.57% | sql, react |