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.68k stars 430 forks source link

Prefer dates in the future #3179

Closed mirix closed 1 week ago

mirix commented 1 week ago

Is your feature request related to a problem? Please describe. In expressions like "on Monday" or "this Monday" the recognizer prefers the Monday of the same week even if it is in the past.

Describe the solution you'd like Is there a configuration option to, in case of ambiguity, prefer dates in the future?

Describe alternatives you've considered Some libraries have a configuration switch to trigger this behavior.