I have to build a chatbot, in python in which a user can apply for a leave. I want to extract start date and end date from a users query. I did some research on couple of algorithms and found CRF Entity Extractor as the best one. I now want to see a similar implemented solution in python, which I can use it as a reference. I would like to see an end to end solution right from training dataset to predicting start and end dates from query. Kindly help.
1.query: "I want to take leave from 2nd April to 5th April." Predicted dates: "02-04-2020" and "05-04-2020"
1.query: "I want to take leave on next Monday" Predicted dates: "09-03-2020"