You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.5 KiB
1.5 KiB
DefaultApi
All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
getApiLanguagePredict | GET /api/language/predict | Get a list of supported languages |
postApiLanguagePredict | POST /api/language/predict | Detect language of given text |
getApiLanguagePredict
AvailableLanguagesResponse.3de4f90 getApiLanguagePredict()
Get a list of supported languages
Parameters
This endpoint does not need any parameter.
Return type
AvailableLanguagesResponse.3de4f90
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
postApiLanguagePredict
LanguageDetectionResponse.3de4f90 postApiLanguagePredict(LanguageDetectionRequest.3de4f90)
Detect language of given text
Parameters
Name | Type | Description | Notes |
---|---|---|---|
LanguageDetectionRequest.3de4f90 | LanguageDetectionRequest.3de4f90 | [optional] |
Return type
LanguageDetectionResponse.3de4f90
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json
- Accept: application/json