Natural Language to Number Converter
JSON →text2num (v3.0.1) is an actively maintained Python library designed to parse and convert numbers expressed in natural language words from French, Spanish, English, Portuguese, German, Dutch, or Italian into their digit representations. It handles both integer parsing (`text2num`) and detection/transcription of cardinal, ordinal, and decimal numbers within a text stream (`alpha2digit`). The library is regularly updated and recently underwent a significant rewrite with a Rust backend.
Traffic · last 30 days stale · no recent hits
total hits 14
actors 5 distinct systems
last hit 19d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France
Resources
packagepypi.org/project/text2num/ ↗
API endpoints
full doc /v1/registry/text2num
install /v1/registry/text2num/install
compatibility /v1/registry/text2num/compatibility