Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 1.26 KB

README.md

File metadata and controls

61 lines (41 loc) · 1.26 KB

numerizer

Lifecycle: experimental Travis build status

The goal of numerizer is to Parse Numbers in Natural Language from Strings

Installation

You can install the released version of numerizer from CRAN with:

Stable Version

#install.packages("numerizer")

Development Version

#using remotes
remotes::install_github("amrrs/numerizer")

#using devtools
devtools::install_github("amrrs/numerizer")

Requirements

This package requires the original Python package numerizer. In case if you don’t have, please make sure to install it in your default Python environment.

pip install numerizer

Loading the package

library(numerizer)

Examples

numerize('twenty one thousand four hundred and seventy three')
#> 21473

numerize('one million two hundred and fifty thousand and seven')
#> 1250007