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
ecd2adac
Commit
ecd2adac
authored
Apr 25, 2022
by
Chamila Dilshan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code 2
parent
d3261119
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
Code 2
Code 2
+24
-0
No files found.
Code 2
0 → 100644
View file @
ecd2adac
#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
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:
\ No newline at end of file
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