detect_language
Detect the natural language of a text using n-gram frequency analysis and common word markers. Supports 15 languages: English, French, Spanish, German, Italian, Portuguese, Dutch, Russian, Chinese, Japanese, Korean, Arabic, Polish, Turkish, Swedish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Text to detect language from (min 20 chars for accuracy) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | ||
| name | No | ||
| score | No | ||
| method | No | ||
| matched | No | ||
| language | No | ||
| confidence | No | ||
| top_candidates | No |