A simple resume parser used for extracting information from resumes
Construit avec ❤︎ et ☕ par Omkar Pathak
pip install pyresparser # spaCy
python -m spacy download en_core_web_sm
# nltk
python -m nltk.downloader words
python -m nltk.downloader stopwordsLa documentation officielle est disponible sur: https://www.omkarpathak.in/pyresparser/
from pyresparser import ResumeParser
data = ResumeParser ( '/path/to/resume/file' ). get_extracted_data () Pour exécuter l'extracteur de CV, vous pouvez également utiliser la cli fournie
usage: pyresparser [-h] [-f FILE] [-d DIRECTORY] [-r REMOTEFILE]
[-re CUSTOM_REGEX] [-sf SKILLSFILE] [-e EXPORT_FORMAT]
optional arguments:
-h, --help show this help message and exit
-f FILE, --file FILE resume file to be extracted
-d DIRECTORY, --directory DIRECTORY
directory containing all the resumes to be extracted
-r REMOTEFILE, --remotefile REMOTEFILE
remote path for resume file to be extracted
-re CUSTOM_REGEX, --custom-regex CUSTOM_REGEX
custom regex for parsing mobile numbers
-sf SKILLSFILE, --skillsfile SKILLSFILE
custom skills CSV file against which skills are
searched for
-e EXPORT_FORMAT, --export-format EXPORT_FORMAT
the information export format (json)Le module renverrait une liste d'objets de dictionnaire avec le résultat comme suit:
[
{
'college_name': ['Marathwada Mitra Mandal’s College of Engineering'],
'company_names': None,
'degree': ['B.E. IN COMPUTER ENGINEERING'],
'designation': ['Manager',
'TECHNICAL CONTENT WRITER',
'DATA ENGINEER'],
'email': '[email protected]',
'mobile_number': '8087996634',
'name': 'Omkar Pathak',
'no_of_pages': 3,
'skills': ['Operating systems',
'Linux',
'Github',
'Testing',
'Content',
'Automation',
'Python',
'Css',
'Website',
'Django',
'Opencv',
'Programming',
'C',
...],
'total_experience': 1.83
}
]
Certains des concepts de base derrière l'algorithme ont été tirés de https://github.com/divapriya/language_processing qui a été résumé dans ce blog https://medium.com/@divalecious.priya/information-extraction-from-cv-acec216c3f48. Merci à Priya d'avoir partagé ce concept
https://www.kaggle.com/nirant/hitchhiker-s-guide-to-nlp-in-spacy
https://www.analyticsvidhya.com/blog/2017/04/natural-language-processing-made-easy-using-spacy-%e2%80%8bin-python/
Un merci spécial à Dataurks pour leur ensemble de données annoté
Si vous avez trouvé que mes logiciels vous sont utiles, envisagez de m'aider à payer mes factures Internet. Cela m'encouragerait à créer de nombreux logiciels de ce type?
| Paypal | |
|---|---|
| ₹ (INR) |