greyblake/whatlang-rs
Natural language detection library for Rust. Try demo online: https://whatlang.org/ observed · 2026-08-28
Health v2 · maintenance only
49/100
- Activity 58
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3588
- days_rel: n/a
- days_push: 252
- n_releases_24m: 0
Adoption not part of the score
1087 stars · 119 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Whatlang is a lightweight Rust library for detecting the natural language of a text, supporting 70 languages plus script recognition. It is fast, pure Rust, and provides confidence and reliability information.
Use cases
- detect the language of a text in rust
- identify which language a user query is written in
- detect script like latin or cyrillic from text
- add language recognition to a search engine
- classify text by language before routing to translation
- filter out texts not in a supported language
When to choose
- you need fast, lightweight language detection in a Rust project
- you need both language and script identification
- you want a pure-Rust dependency with no ML runtime
- you need confidence/reliability scores for detection results
When to avoid
- you need detection for languages outside the 70 supported ones
- you need state-of-the-art accuracy on short or mixed-language texts
- your project is not in Rust and no port is available
Facets
library · maturity stable
nlp parser text-editors rust cross-platform language-detection text-classification script-detection rust-library natural-language-processing search
1 source
- readme: https://github.com/greyblake/whatlang-rs · fetched 2026-08-28 · 608548d5a8ff
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| greyblake/whatlang-rs | main | 49 |
For agents
markdown · JSON · MCP: product_card(name="greyblake/whatlang-rs")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem