pemistahl/lingua-go
The most accurate natural language detection library for Go, suitable for short text and mixed-language text observed · 2026-08-28
Health v2 · maintenance only
25/100
- Activity 5
- 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-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2105
- days_rel: n/a
- days_push: 573
- n_releases_24m: 0
Adoption not part of the score
1359 stars · 81 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Lingua is a Go library for highly accurate natural language detection, supporting 75 languages. It works well on short and mixed-language text using rule-based and statistical methods, entirely offline.
Use cases
- detect the language of a tweet or short text snippet
- identify languages in mixed-language text
- preprocess text for NLP classification pipelines
- route customer emails by language
- detect language of single words or phrases
- add offline language identification to a Go application
When to choose
- you need accurate detection on short text like tweets or single words
- you need offline detection without external APIs
- you work in Go and need support for many languages
- your text may mix multiple languages
When to avoid
- you need to detect languages outside the supported 75
- you need a library in a language other than Go
- you need extremely lightweight detection where model size matters more than accuracy
Facets
library · maturity active
nlp parser text-editors go cross-platform language-detection language-identification offline short-text mixed-language-text natural-language-processing
1 source
- readme: https://github.com/pemistahl/lingua-go · fetched 2026-08-28 · eeb9733e259f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pemistahl/lingua-go | main | 25 |
For agents
markdown · JSON · MCP: product_card(name="pemistahl/lingua-go")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem