Project

numerizer

No release in over 3 years
Low commit activity in last 3 years
There's a lot of open issues
Numerizer is a gem to help with parsing numbers in natural language from strings (ex forty two). It was extracted from the awesome Chronic gem http://github.com/evaryont/chronic.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
 Project Readme

Numerizer¶ ↑

Build Status

Numerizer is a gem to help with parsing numbers in natural language from strings (ex forty two). It was extracted from the awesome Chronic gem github.com/mojombo/chronic.

Installation¶ ↑

$ gem install numerizer

Usage¶ ↑

>> require 'numerizer'
=> true
>> Numerizer.numerize('forty two')
=> "42"
>> Numerizer.numerize('two and a half')
=> "2.5"
>> Numerizer.numerize('three quarters')
=> "3/4"
>> Numerizer.numerize('two and three eighths')
=> "2.375"

Contributors¶ ↑

Tom Preston-Werner, John Duff