You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The string "Thu, Nov 1, 2018 at 5:06 PM" is not recognised as a date/datetime, despite being a very common way to describe a date. Ideally I would like to be able to recognise the whole datetime, but even getting the date from "Thu, Nov 1, 2018" would be helpful.
As a subset of this problem, I have notices that dates in the format "7 Nov 2018" are not recognised either.
To Reproduce
Steps to reproduce the behavior:
import { NerManager } from "node-nlp";
const manager = new NerManager();
const results = await manager.findEntities("This message was sent: Thu, Nov 1, 2018 at 5:06 PM, and I expect a reply before 7 Nov 2018");
const dates = results.filter(entity => {
return entity.entity === "date";
});
console.log(dates);
// []
Describe the bug
The string
"Thu, Nov 1, 2018 at 5:06 PM"
is not recognised as a date/datetime, despite being a very common way to describe a date. Ideally I would like to be able to recognise the whole datetime, but even getting the date from"Thu, Nov 1, 2018"
would be helpful.As a subset of this problem, I have notices that dates in the format
"7 Nov 2018"
are not recognised either.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Output something like:
Screenshots
NA
Desktop (please complete the following information):
Additional context
The rest of the entity extraction works like a charm (numbers, emails, etc.).
I would be happy to help out on this if somebody could point me in the right direction 😀
The text was updated successfully, but these errors were encountered: