Package Information
Downloads: 22 weekly / 35 monthly
Latest Version: 0.1.2
Author: yambal
Available Nodes
Documentation
n8n-nodes-language-detect
n8n node to detect text language using franc-min.
Features
- Detect the language of any text
- Support for 82 languages
- Filter detection to specific languages
- Japanese language names for all supported languages
Installation
npm install n8n-nodes-language-detect
Or in n8n:
- Go to Settings > Community Nodes
- Install
n8n-nodes-language-detect
Operations
Detect Language
Detects the most likely language of the input text.
Output:
languageCode: ISO 639-3 code (e.g., "jpn", "eng")languageName: Human-readable name in JapaneseisReliable: Whether the detection is reliabletextLength: Length of the input text
Detect With Scores
Returns language detection with confidence information.
Parameters
| Parameter | Description |
|---|---|
| Text | The text to analyze |
| Minimum Length | Minimum text length for reliable detection (default: 10) |
| Top Results | Number of top candidates to return (detectAll only) |
| Filter Language | Comma-separated ISO 639-3 codes to limit detection |
Supported Languages
franc-min supports 82 languages including:
- Japanese (jpn)
- English (eng)
- Chinese (cmn)
- Korean (kor)
- And many more...
Example
Input:
これは日本語のテキストです。
Output:
{
"languageCode": "jpn",
"languageName": "日本語",
"isReliable": true,
"textLength": 16
}
License
MIT