bjherger / ResumeParser

A framework to parse resumes, extract contact & other information, and check for required terms
367 stars 216 forks source link

"Can you please describe how to extract work segment"? #27

Closed Prem239 closed 5 years ago

Prem239 commented 5 years ago

Hi bjherger,

Thank you so much to you and appreciate for your work.

I tried to run your code. and modified according to my requirement in my local. It works fine for some cases. I am testing my code with different pdfs patterns. It working fine but Now I stuck in problem. my pdf_to_text_list is below:

'b"Software Developer',
 'Software Developer - Coulsdon Sixth Form College',
 'London',
 'Work Experience',
 'Software Developer',
 'Coulsdon Sixth Form College - Coulsdon, Surrey, UK',
 'June 2015 to Present',
 'Roles and Responsibilities: ',
 '\\xe2\\x80\\xa2 Core developer to build the college information database and add on new features to the web applications. ',
 '\\xe2\\x80\\xa2 Develops several Groovy Restful API endpoints in spring and tests it in swagger-ui. ',

Now I am trying to get work_segment from above text but it gives me only below result: ['Work Experience', 'Software Developer']

it is not go to the 'June 2015 to Present'line. Where this line or any words not in education keywords, skill keywords, project keywords, other keywords and education degree keywords.

Can you please help me in this? why it not take that particular sentence and it break while loop?

Thanks in Advance.

Prem239 commented 5 years ago

It was running loop more because in company name "college" word came and it is in education keywords