FICHA · AUR

cld2-git

Probabilistically detects over 80 languages in Unicode UTF-8 text, either plain text or HTML/XML

  • Library
  • Dev
  • Dependency only
official+codex · reviewed · May 30, 2026 description in en

Description

Detects the likely language of UTF-8 plain text, HTML, or XML using the CLD2 library. It is useful for developers building search, indexing, moderation, translation, or text-routing features that need a language hint.

Language detection is probabilistic and can be wrong on short, mixed, or noisy text. Treat results as signals for software behavior, not as proof of a user's identity or nationality.

Permissions

Permissions not analysed for this source yet.