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

Fix the issue with parsing sentences expressing the decade with century and number with unit in Spanish #3154

Closed MichaelMWW closed 2 months ago

MichaelMWW commented 2 months ago

Fix the issue with parsing sentences expressing the decade with century in Spanish. Below sentences cannot be parsed correctly before, now it works with accents or without accents.

  1. escrito en los años/anos 90
  2. los años/anos setenta
  3. ¿Cuáles fueron los presidentes de Estados Unidos en la década/decada de 1990?

Fix the issue that it cannot recognize number with unit without accents, both "Tengo diez anos" and "Tengo diez años" work now.