Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Automate CV Processing Code
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2022-298
Automate CV Processing Code
Commits
d3261119
Commit
d3261119
authored
Apr 09, 2022
by
Chamila Dilshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
9a1a3684
Pipeline
#5467
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
README.md
README.md
+19
-0
No files found.
README.md
View file @
d3261119
# Automate CV Processing Code
#import the Libraries
from pyresparser import ResumeParser
import os
from docx import Document
# input the resume (can be in .txt, .docx or .pdf formats)
cv=input()
# read the resume and save it as a.docx file then pass that file to the pyresparser loibrary to extract the features from the .docx file text.
try:
doc = Document()
with open(cv, 'r') as file:
doc.add_paragraph(file.read())
doc.save("text.docx")
data = ResumeParser('text.docx').get_extracted_data()
except:
data = ResumeParser(cv).get_extracted_data()
# display the extracted features
data
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment