Inverse text normalization for numbers. Currently only supports en-US, pt-br, es locale.
Example: w2n("forty-two hundred and forty-two")
Example pt-br: w2n("duzentos e noventa e oito", lang='pt-br')
pip install words2num
Convert words to numbers
Inverse text normalization for numbers. Currently only supports en-US, pt-br, es locale.
Example: w2n("forty-two hundred and forty-two")
Example pt-br: w2n("duzentos e noventa e oito", lang='pt-br')
pip install words2num
Convert words to numbers
MIT License