https://your_host_name:443/virtual_directory/api?
#ParameterPossible valuesDefault valueDescription
1text
  • plain text

A piece of text which will be sent for language detection. 

2format
  • json
  • xml
jsonThe response format for output data.

Response structure

#NameDescription
1LangShortCode

A language short code. 

2LangNameA full name of a detected language.
3ProportionThe proportion ration of the detected language in the text.

Example 1.1

https://your_host_name:443/virtual_directory/api?cmd=detect_language&text=This sampl text demonstrates the work of the detect language command of Web API service.

Parameters:

Request response:

{
    "LangShortCode": "en_US",
	"LangName": "American English",
	"Proportion": 0.98
}