About language-detector
language-detector is a text language identification skill that reports confidence scores. It supports batch and CSV analysis, using character n-gram methods.
Key features
- 01Detect 50+ languages
- 02Return confidence estimates
- 03Process multiple texts in batches
- 04Analyze CSV text columns
- 05Use character n-gram analysis
Use cases
- 01Identify the language of a text
- 02Analyze language across a collection of texts
- 03Label text in a CSV column
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ dkyazzentwatwa/ chatgpt-skills --skill language-detectorAfter installing, type/language-detectorin Claude Code to confirm it loaded.
Bundled filesscripts/language_detector.pyscripts/requirements.txt
Details
From the project READMELanguage Detector
Identify the language of text with confidence scoring.
Features
- 50+ Languages: Wide language support
- Confidence Scores: Probability estimates
- Batch Detection: Process multiple texts
- CSV Support: Analyze text columns
- Multiple Algorithms: Character n-gram analysis
CLI Usage
python language_detector.py --text "Hello world" --output result.json
python language_detector.py --file texts.csv --column text --output languages.csv
Dependencies
- langdetect>=1.0.9
- pandas>=2.0.0
Comments
Markdown supported