facebook / duckling

Language, engine, and tooling for expressing, testing, and evaluating composable language rules on input strings.
Other
4.05k stars 720 forks source link

Written out larger decimal numbers are not detected correctly #686

Open boonto opened 2 years ago

boonto commented 2 years ago

E.g. "5.33 thousand" is correctly detected as "5330". However, if written out "five point three three thousand" is detected as "5.3" and "3000". This is a problem in at least German and English. Unfortunately, I do not know if this is actually solvable (regex greediness?).