#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.

Example 1.1

http(s)://localhost:2880/?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
}