when I use this code for extracting the date
dateutil.parser.parse('today is 21 jan 2016')
It throws an error -> ValueError: unknown string format
is there any way to extract dates and time from a sentence???
when I use this code for extracting the date
dateutil.parser.parse('today is 21 jan 2016')
It throws an error -> ValueError: unknown string format
is there any way to extract dates and time from a sentence???
There is! (Python is amazing)
dateutil.parser.parse("today is 21 jan 2016", fuzzy=True)