djc/instant-segment
Fast English word segmentation in Rust
This tool helps split combined English words, like those found in domain names or social media handles, into their correct individual words. For example, it can turn 'choosespain' into 'choose spain'. It takes a merged string of words and outputs a list of the most probable individual words. This is useful for anyone working with unstructured text, such as marketers, data analysts, or customer support specialists, who need to make sense of unformatted text.
105 stars.
Use this if you need to accurately separate combined English words into their most likely individual components to improve readability or analysis of text.
Not ideal if your text contains languages other than English or if you need to perform complex natural language understanding beyond simple word segmentation.
Stars
105
Forks
8
Language
Rust
License
Apache-2.0
Category
Last pushed
Mar 05, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/djc/instant-segment"
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...