Does anybody know a Python module to easily extract temporal expressions such as 12/01/2011 and Monday, 12/3/1987 or others (in English format)?
Would like to avoid to build a huge set of regex.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the standard library you won’t find something comprehensive, but if you install dateutils, you can do this:
Martijn had a point, so here is the normal representation – which is
datetimeobject: