Closed luizhenrique07 closed 1 year ago
I was investigating that and, looking at this file from @microsoft/recognizers-text-suite (that is used at least for entity extraction), it seems to me that, even though such extractions are supported in .NET, they're probably not supported in the JS/Node version because of all those "NotSupported": "javascript, python"
(the Specs folder afaik is used for testing).
Also here, in the JavaScript section for DateTime recognition, I'd expect to find a folder for Portuguese, like the one here, in the .NET section, but there isn't any.
So the table at https://github.com/axa-group/nlp.js/blob/master/docs/language-support.md is probably wrong, and Portuguese should actually be a "see 4".
@luizhenrique07 did you make any progress on it?
Closing due to inactivity
I tried to extract date in Portuguese but did not have any success using formats different than DD/MM/YYYY even though it does have support for it on the docs : https://github.com/axa-group/nlp.js/blob/master/docs/language-support.md
You can reproduce the behavior with the bellow example code:
Portuguese example
Output
When I use it in English it works as expected
English example
Output