This is a simple python script that parses resume by extracting name, email, phone number, skill and etc from resume for further processing.
- nltk
- spacy
These two attributes are found with regex, by predefined patterns
# pattern for emails
pattern = r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b"
# pattern for phone numbers
pattern = re.compile(r"\b(?:\+?\d{1,3}[-.\s]?)?\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}\b")