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 429 forks source link

[FR/ES/PT Unit] mm unit wrongly recognized as negative in range #426

Open tellarin opened 6 years ago

tellarin commented 6 years ago

Ex: "En 1995 Cannon introdujo la primera lente SLR comercialmente disponible con estabilización de imagen interna, 75 - 300 mm f / 4 - 5. 6 es usm." should find "value": "300", "unit": "Milímetro" for now. But it's wrongly returning -300.

It works fine in English.

tellarin commented 6 years ago

Pending in javascript.