Open koaning opened 3 years ago
Looks like parse is working now:
In [2]: parse("day after tomorrow")
Out[2]: datetime.datetime(2022, 11, 27, 12, 19, 15, 250488)
But we can still improve search_dates:
In [4]: search_dates("day after tomorrow")
Out[4]: [('tomorrow', datetime.datetime(2022, 11, 26, 12, 19, 31, 698468))]
It seems that the
search_dates
function has a bit of trouble with "day after tomorrow".It seems to overfit on "tomorrow". The
parse
API also has a bit of difficulty with it.