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
Trying to use the javascript version of recognizers-text, I cannot succeed in extracting the datetime element using Italian phrases. Using the English one, all is working as expected.
To Reproduce
1 - Install the javascript packages.
2 - Try first the English Phrase.
importrecognizersfrom'@microsoft/recognizers-text-suite';// [...]console.log(Recognizers.recognizeDateTime('I would like an appointment tomorrow morning',Recognizers.Culture.English));// [output]// [{"start":28,"end":43,"resolution":{"values":[{"timex":"2023-04-27TMO","type":"datetimerange","start":"2023-04-27 08:00:00","end":"2023-04-27 12:00:00"}]},"text":"tomorrow morning","typeName":"datetimeV2.datetimerange"}]
3 - Try the Italian Prase (the meaning is the same)
importrecognizersfrom'@microsoft/recognizers-text-suite';// [...]console.log(Recognizers.recognizeDateTime('Vorrei un appuntamento domani mattina',Recognizers.Culture.Italian));// [output]// []
Expected behaviour
Recognize the correctly recognize and parse the keywords "domani mattina".
Sample input/output
As applicable, add examples of text input and JSON output to help explain the problem.
Platform (please complete the following information):
Platform: JavaScript
Environment: npm package
Version of the package: 1.3.0
Additional context
Checking the code and files here, seems that are entirely missing the Italian resources.
Is there something that I can do?
Thanks!
The text was updated successfully, but these errors were encountered:
Describe the bug
Trying to use the javascript version of recognizers-text, I cannot succeed in extracting the datetime element using Italian phrases. Using the English one, all is working as expected.
To Reproduce
1 - Install the javascript packages.
2 - Try first the English Phrase.
3 - Try the Italian Prase (the meaning is the same)
Expected behaviour
Recognize the correctly recognize and parse the keywords "domani mattina".
Sample input/output
As applicable, add examples of text input and JSON output to help explain the problem.
Platform (please complete the following information):
Additional context
Checking the code and files here, seems that are entirely missing the Italian resources.
Is there something that I can do?
Thanks!
The text was updated successfully, but these errors were encountered: