number/IT: wrong parsing for values greater than 99
riccardodebenedictis opened this issue · comments
Italian number greater than 99 are not recognized
Example:
curl -XPOST http://0.0.0.0:8000/parse --data 'locale=it_IT&text=novantanove'
correctly recognizes 99
[
{
"body": "novantanove",
"start": 0,
"value": {
"value": 99,
"type": "value"
},
"end": 11,
"dim": "number",
"latent": false
}
]
on the contrary
curl -XPOST http://0.0.0.0:8000/parse --data 'locale=it_IT&text=cento'
returns an empty array
[]