Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
Language Detection
The Language Detection feature in Sentinel enables fast and accurate identification of the language used in any given text.
Available as a standalone API endpoint, it can be seamlessly integrated into your services for reliable language detection.
Resources
Feature Highlights
- Detects over 160 languages
- High accuracy detection
- Fast response times (~5ms HTTP round-trip for 1KB texts)
Implementation Guide
Language Detection is also integrated into the Classifier to assist in identifying potential spam.
To use language detection directly in your applications or services, simply call the POST /v1/language
endpoint with the text you want to analyze:
POST /v1/languageContent-Type: application/json
{ "text": "What language is this?"}
Example response:
{ "languages": [ { "language": "en", "probability": 0.999 } ], "time": 1.289}