mcpField
L
language-detector

language-detector

github.com/dkyazzentwatwaData & databases12453 installsUpdated 29w ago
Repository

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

  1. 01Detect 50+ languages
  2. 02Return confidence estimates
  3. 03Process multiple texts in batches
  4. 04Analyze CSV text columns
  5. 05Use character n-gram analysis

Use cases

  1. 01Identify the language of a text
  2. 02Analyze language across a collection of texts
  3. 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-detector

After installing, type/language-detectorin Claude Code to confirm it loaded.

Bundled filesscripts/language_detector.pyscripts/requirements.txt

Details

From the project README

Language 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