We are trying to do a POC where we would like to extract a specific word, let us say "I need to get the number of hours worked by the employees" from a sentence in the text data. For example: Person 1 says : Hi, I have worked for 40 hrs last week. Person 2 says : Hi, I was on leave for 2 days and so I have worked for 24 hours.
So from the text input I would like to get 40 hrs and 24 hours as output so that I can aggregate the total number of hours worked by them.
Can you give us an idea on how to fetch the exact content irrespective of the sentence format used and also let us know whether we achieve this either with NLP plugins or is there any other way?