# Identifying if the sentence if it comprise information about education

Given a sentence I am trying to classify if the sentence contain information about education. For example:

sentence1 = "Require minimum four years of professional degree."
sentence2 = "no degree required for this job."


For identifying as a first step I have built a vocab which have the set of keywords for identifying education based sentences. I was partly successful until I have problems with sentences like this.

sentence3 = "BE or BTech or any degree equivalent to it"


In my vocab 'BE' is also a keyword as 'BE' represents bachelors of engineering degree (in case of country India). As the parsing of algorithm is done in lower case, the issue is coming with 'BE' will be 'be' in sentence. Because of that every sentence that contains 'be' is recognized as educational sentence.

To built a strong ML model I dont have much data. If I want to use vocab based recognition, for this I have to understand the words beside them in the sentence.

Are there any built models so as to import and identify such scenarios or labelled dataset available for it ? Are there any methods for accomplishing such task ?

• This is naive but have you tried restricting 'BE' to be capital letters? Sep 9 '19 at 10:07
• I cannot restrict capital letters, because there is some other process before my algorithm which gives text in small letters. so as my vocab. Sep 9 '19 at 10:14

If your dataset is small (less than 1000 observations) you can try some logic with regex and you will have a much quicker and working solutions in few hours.