#【ライブラリ説明】
文字列を数へ変換
#【プログラム】
numparser.py
# -*- coding: utf-8 -*-
import numparser
print int(numparser.numparser('one quadrillion two hundred thousands three'))
print numparser.numparser('six million four hundred thousand five')
print numparser.numparser('$410 million')
print numparser.numparser('50,000,001 to $100,000,000')
print numparser.numparser('Fifty-two Million Five HundredThousand Dollars')
print numparser.numparser('less than $5,000,000.00 (five million dollars')
print numparser.numparser('$50 million $160,000')
#【結果】
1000000000200003
6400005.0
410000000.0
100000000.0
52500000.0
5000000.0
50160000.0