The Graphite Lab
Sign inBrowse the Catalog

Tools

Language Detector

Identifies the language of a piece of text and returns a confidence score.

Module
Tools
where it lives

What it does

Identifies the language of a piece of text and returns a confidence score

Accepts any block of text and returns the detected language and a confidence score. Handles short strings and mixed-language content, with the dominant language surfaced first when multiple are present. Output is structured for upstream routing, translation, or classification logic.

When you’d reach for it

  • Detecting the language of an incoming support ticket before routing it to the right agent queue or auto-translation step.
  • Flagging non-English document submissions for human review before they enter an English-only intake pipeline.
  • Identifying the language a form respondent used so downstream confirmations and follow-ups land in the same language.