microsoft / Recognizers-Text

Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, date/time, etc. in multiple languages (ZH, EN, FR, ES, PT, DE, IT, TR, HI, NL. Partial support for JA, KO, AR, SV). Packages available at: https://www.nuget.org/profiles/Recognizers.Text, https://www.npmjs.com/~recognizers.text
MIT License
1.66k stars 429 forks source link

[IT Datetimev2] Expression like "Martedì dalle 15:00 in poi" needs to be evaluated into a single datetimerange with mod "since" and not in separate `date` and `timerange` #3123

Open jBernavaPrah opened 1 year ago

jBernavaPrah commented 1 year ago

Describe the bug Trying to evaluate the statement "Martedì dalle 15:00", the results returned are parsed as two separate expressions.

One as date (Martedì), the other as timerange with mod since (dalle 15:00).

Expected behaviour This brings confusion as the expected behaviour needs to be datetimerange with mod since.

Platform (please complete the following information):