README.md

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


amrrs/numerizer documentation built on Jan. 10, 2020, 12:06 a.m.