akshaynagpal/w2n
Convert number words (eg. twenty one) to numeric digits (21)
This tool helps convert numbers written out in words (like "twenty one" or "two point three") into their numerical digit form (21 or 2.3). It takes number words as input and outputs standard digits, which is useful for data entry, natural language processing, or any task where you need to standardize number formats. This is designed for developers working with text data who need to process or clean number representations.
180 stars. No commits in the last 6 months.
Use this if you are a developer and need to programmatically convert numbers expressed in words into their digit form within your Python applications.
Not ideal if you need to convert extremely large numbers beyond the billions, or if you require conversion for languages other than English.
Stars
180
Forks
78
Language
Python
License
MIT
Category
Last pushed
Aug 17, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/akshaynagpal/w2n"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
PyThaiNLP/nlpo3
Thai natural language processing library in Rust, with Python and Node bindings.
forzagreen/n2words
Convert numerical numbers to written numbers, in 52+ languages.
greyblake/whatlang-rs
Natural language detection library for Rust. Try demo online: https://whatlang.org/
wikimedia/sentencex
A sentence segmentation library with wide language support optimized for speed and utility.
pemistahl/lingua-rs
The most accurate natural language detection library for Rust, suitable for short text and...