# Mimino666/langdetect

Port of Google's language-detection library to Python.

Repository: https://github.com/Mimino666/langdetect
Canonical: https://ross.abutalabs.com/products/langdetect
Language: Python
License: NOASSERTION
License Family: other
Last push: 2025-03-03T13:07:08+00:00

## Health v2 (maintenance only)
Score: 27/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 9, release rhythm 8, longevity 100
- inputs: {"age_days": 4496, "days_push": 548, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1901, forks 209 (observed 2026-08-28T04:05:51.560818+00:00)

## What it is
A Python port of Google's language-detection library that identifies the language of text, supporting 55 languages via ISO 639-1 codes. It provides deterministic and probabilistic detection with configurable seeding for consistent results.

## Use cases
- detect what language a piece of text is written in
- identify the language of user comments or reviews
- get probability scores for the top candidate languages of a text
- filter or route documents by language in a processing pipeline
- detect language of short strings in Python

## When to choose
- you need simple, lightweight language identification in Python
- you need support for 55 common languages out of the box
- you want probability rankings across candidate languages

## When to avoid
- you need high accuracy on very short or ambiguous text
- you need fast, actively developed state-of-the-art detection (consider fastText or lingua)
- you need languages beyond the 55 supported profiles

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp
- domain: -
- platform: python, cross-platform
- tags: language-detection, text-classification, natural-language-processing

## Member repositories
- Mimino666/langdetect (main) score 27

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:51.560818+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:11:56.235651+00:00, confidence not recorded.
  - readme: https://github.com/Mimino666/langdetect (fetched 2026-08-28T04:05:51.560818+00:00, sha a46538221a31)
  - registry_pypi: https://pypi.org/pypi/langdetect/json (fetched 2026-08-29T10:51:01.303584+00:00, sha c3d17cbf9c1f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
