🌟 A powerful tool for categorizing text based on predefined labels or themes.
Features
✅ Multi-language Support: Handles text in English, Chinese, and 15+ other languages.
✅ Real-time Classification: Processes input instantly with high accuracy.
✅ Customizable Models: Train or fine-tune models for specific use cases.
✅ Scalable API: Integrate with your applications via RESTful endpoints.
How to Use
- Send a GET request to
/ai_toolkit/api/text_classify
with query parameters:text
: The input text to classify.language
: Optional; specify the language (e.g.,en
,zh
).
- Receive JSON response with classification results.
Example
import requests
response = requests.get("https://example.com/ai_toolkit/api/text_classify", params={
"text": "This is a sample sentence for classification.",
"language": "en"
})
print(response.json())
Related Tools
🔗 Explore our NLP Toolkit for additional text processing capabilities.