Metadata-Version: 1.2
Name: numerizer
Version: 0.1.3
Summary: Python module for converting natural language numbers into ints and floats.
Home-page: https://github.com/jaidevd/numerizer
Maintainer: Jaidev Deshpande
Maintainer-email: deshpande.jaidev@gmail.com
License: MIT
Download-URL: https://pypi.org/project/numerizer/#files
Description: |Build Status|
        
        numerizer
        =========
        
        A Python module to convert natural language numerics into ints and floats.
        This is a port of the Ruby gem [numerizer](https://github.com/jduff/numerizer.git)
        
        Installation
        ------------
        
        The NLG library can be installed from PyPI as follows:
        
        .. code:: bash
        
            $ pip install numerizer
        
        or from source as follows:
        
        .. code:: bash
        
            $ git clone https://github.com/jaidevd/numerizer.git
            $ cd numerizer
            $ pip install -e .
        
        Usage
        -----
        
        .. code:: python
        
            >>> from numerizer import numerize
            >>> numerize('forty two')
            '42'
            >>> numerize('forty-two')
            '42'
            >>> numerize('four hundred and sixty two')
            '462'
            >>> numerize('one fifty')
            '150'
            >>> numerize('twelve hundred')
            '1200'
            >>> numerize('twenty one thousand four hundred and seventy three')
            '21473'
            >>> numerize('one million two hundred and fifty thousand and seven')
            '1250007'
            >>> numerize('one billion and one')
            '1000000001'
            >>> numerize('nine and three quarters')
            '9.75'
            >>> numerize('platform nine and three quarters')
            'platform 9.75'
        
        
        .. |Build Status| image:: https://travis-ci.com/jaidevd/numerizer.svg?branch=master
           :target: https://travis-ci.com/jaidevd/numerizer
        
Platform: UNKNOWN
