saffsd/langid.py
Stand-alone language identification system observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases no_license
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: 5606
- days_rel: n/a
- days_push: 2436
- n_releases_24m: 0
Adoption not part of the score
2462 stars · 318 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
langid.py is a standalone language identification tool that classifies text into one of 97 pre-trained languages. It works as a Python library, a command-line tool, and a WSGI-compliant web service in a single file with minimal dependencies.
Use cases
- detect the language of a piece of text
- identify what language a document is written in
- classify text language from the command line
- serve language detection as a web API
- filter text by language in a data pipeline
- detect language of URLs or piped input
When to choose
- you need fast, pre-trained language ID across many languages (97)
- you want a single-file tool with minimal dependencies (just numpy)
- you need both CLI and library usage
- you want to deploy language detection as a web service
When to avoid
- you need language identification for languages outside the 97 supported
- you need to train a custom model on your own domain data (training tools are Python 2 only)
- you need actively maintained software with recent releases
- you need state-of-the-art accuracy on short or mixed-language text
Facets
library · maturity maintenance
nlp cli http-server developer-tools python cli cross-platform language-identification langid text-classification wsgi standalone natural-language-processing command-line
1 source
- readme: https://github.com/saffsd/langid.py · fetched 2026-08-28 · ba2cfd4ce679
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| saffsd/langid.py | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="saffsd/langid.py")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem