Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 270 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 270 Bytes

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