utils.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:resume-optimizer 作者: mhbuehler 项目源码 文件源码
def read_job(file_path):
    """Reads a text file with the job title on the first line and description following"""
    job_data = {}
    job_data['description'] = TextBlob(read_file(file_path))
    job_data['title'] = str(job_data['description']).split('\n')[0]
    job_data['skills'] = extract_skills(str(job_data['description']))
    job_data['noun_phrases'] = extract_nouns(job_data['description'])
    job_data['actions'] = extract_actions(job_data['description'])
    job_data['acronyms'] = extract_acronyms(job_data['description'])
    job_data['value_sentences'] = extract_value_sentences(job_data['description'])

    return job_data
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号