POST NLU/DetectLanguage

This end point will be used to detect langage for a given text input. This method can recognize 176 languages (The list of ISO codes: af als am an ar arz as ast av az azb ba bar bcl be bg bh bn bo bpy br bs bxr ca cbk ce ceb ckb co cs cv cy da de diq dsb dty dv el eml en eo es et eu fa fi fr frr fy ga gd gl gn gom gu gv he hi hif hr hsb ht hu hy ia id ie ilo io is it ja jbo jv ka kk km kn ko krc ku kv kw ky la lb lez li lmo lo lrc lt lv mai mg mhr min mk ml mn mr mrj ms mt mwl my myv mzn nah nap nds ne new nl nn no oc or os pa pam pfl pl pms pnb ps pt qu rm ro ru rue sa sah sc scn sco sd sh si sk sl so sq sr su sv sw ta te tg th tk tl tr tt tyv ug uk ur uz vec vep vi vls vo wa war wuu xal xmf yi yo yue zh).

Request Information

URI Parameters

None.

Body Parameters

you need to send a user query to get Jetlink NLU API processing results

LanguageQuery
NameDescriptionTypeAdditional information
Text

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Text": "sample string 1"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'LanguageQuery'.

Response Information

Resource Description

LanguageQueryResponse
NameDescriptionTypeAdditional information
LanguageCode

string

None.

Confidence

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "LanguageCode": "sample string 1",
  "Confidence": 2.1
}