Converts Japanese Numerals into arabic number
.
pip install japanese-number-converter
import jnc
assert jnc.ja_to_arabic("九千七兆千九百九十二億五千四百七十四万九百九十一") == 9007199254740991
For detail, see test cases.
〇
,一
,二
,三
,四
,五
,六
,七
,八
,九
十
,百
,千
,万
,億
,兆
壱
,弐
,参
,拾
I used japanese-numerals-to-number as a reference.