keepsoftware / words2num

Convert words to numbers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

words2num

Inverse text normalization for numbers. Currently only supports en-US, pt-br, es locale.

Usage

Example: w2n("forty-two hundred and forty-two")

Example pt-br: w2n("duzentos e noventa e oito", lang='pt-br')

Installation

pip install words2num

About

Convert words to numbers

License:MIT License


Languages

Language:Python 95.1%Language:Makefile 4.9%