v1

latestSwagger 2.0raw.githubusercontent.com2022-07-012712.1 KB
LanguageDetection

Predicts the language for a given phrase. The process of predicting the language from a phrase is also known as language detection. If the language could not be determined, it will return LANGUAGE_UNDETERMINED. Uses the ISO-639-3 standard otherwise.

post/api/v1/predict-language

Request body

phrasestring

The phrase for which to predict the language.

Example request

{
  "phrase": "Dit is iets in het Nederlands"
}

Response

A successful response.

Example response

{
  "language": {
    "iso6393Code": "nld",
    "languageCode": "NLD",
    "name": "Dutch"
  }
}
All 2 operations