Preparing for system design interviews?  Try bugzed.com →

Natural Language to Number Converter

JSON →
library 3.0.1 ·python
verified Jun 28, 2026

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.

total hits 14
actors 5 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
Script
1
ByteDance
1
ChatGPT-User
1
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France