pyresparser
v1.0.6
A simple resume parser used for extracting information from resumes
由❤︎和☕建造。
pip install pyresparser # spaCy
python -m spacy download en_core_web_sm
# nltk
python -m nltk.downloader words
python -m nltk.downloader stopwords官方文档可在以下网址找到:https://www.omkarpathak.in/pyresparser/
from pyresparser import ResumeParser
data = ResumeParser ( '/path/to/resume/file' ). get_extracted_data ()对于运行简历提取器,您也可以使用提供的cli
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)该模块将返回一个字典对象列表,结果如下:
[
{
'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
}
]
该算法背后的一些核心概念是从https://github.com/divapriya/language_processing中摘自此博客https://medium.com/@divaliquicalicous.priya/information-incpriya/information-einformation-rom-cv-acec216c216c3f48。感谢Priya分享了这个概念
https://www.kaggle.com/nirant/hitchhiker-s-guide-to-nlp-in-spacy
https://www.analyticsvidhya.com/blog/2017/04/natural-language-processing-made-made-easy-using-spacy-pacy-%e2%80%80%8bin-python/
特别感谢Dataturks的注释数据集
如果您发现我的软件对您有用,请考虑帮助我支付互联网账单。这会鼓励我创建许多这样的软件?
| 贝宝 | |
|---|---|
| 逗留(inr) |