rodaine/numwords
Go package to convert natural language strings to numbers
This tool helps Go developers convert written numbers in natural language text into their corresponding numeric values. It takes sentences or phrases containing numbers like "three apples" or "fourteen ninety two" and outputs the text with the numbers replaced by digits, such as "3 apples" or 1492. Go developers who need to process user input or text data containing numbers written out would find this useful.
No commits in the last 6 months.
Use this if you are a Go developer building an application that needs to extract or normalize numeric data from free-form text inputs.
Not ideal if you need to convert numbers from digits to words (e.g., 1492 to "fourteen ninety two") or if you are not working within the Go programming language.
Stars
46
Forks
5
Language
Go
License
MIT
Category
Last pushed
Sep 10, 2020
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/rodaine/numwords"
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...