Ross ROSS = Recommend OSS · open-source software intelligence for agents

Lingua

Some data may be outdated — see provenance labels.

The most accurate natural language detection library for Rust, suitable for short text and mixed-language text observed · 2026-09-25

github.com/pemistahl/lingua-rs · Rust · Apache-2.0 (permissive) observed · 2026-09-25

Health v2 · maintenance only

82/100

  • Activity 95
  • Release rhythm 54
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.

  • gap_med: 67
  • age_days: 2316
  • days_rel: 225
  • days_push: 32
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

1140 stars · 63 forks observed · 2026-09-25

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Lingua is a language detection library for Python (with a Rust core) that identifies which of 75 languages a text is written in. It is designed for high accuracy on short and mixed-language text, using rule-based and statistical Naive Bayes methods entirely offline.

Use cases

  • detect the language of a short text snippet like a tweet
  • identify language of single words or phrases
  • preprocess text for language-specific NLP pipelines
  • route customer emails by language
  • detect language in mixed-language text
  • run language detection offline without external APIs

When to choose

  • you need accurate detection on very short text where CLD3 or langid fail
  • you need offline detection without network calls
  • you need support for many languages with mixed-language input

When to avoid

  • you need neural-network-based detection or embeddings
  • you work with Python < 3.12
  • you need extremely lightweight detection of only a few major languages

Facets

library · maturity active

nlp parser machine-learning python rust cross-platform language-detection language-identification offline naive-bayes short-text natural-language-processing

1 source

Member repositories

RepositoryRoleHealth v2
pemistahl/lingua-rsmain82
pemistahl/lingua-pysdk77

For agents

markdown · JSON · MCP: product_card(name="pemistahl/lingua-rs")

Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem