Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Excerpt Include
IN:_include_webapi_detect_language_intro
IN:_include_webapi_detect_language_intro
nopaneltrue

#ParameterPossible valuesDefault valueDescription
1text
  • plain text

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


2customerid
  • your-service-id value

A special service ID value (activation key) that has to be passed to a request query. It's obtained upon subscription to the Cloud services (paid or trial).

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

Response structure

#NameDescription
1LangShortCode

A language short code. 

  • Additional languages list
  • Default

    Supported languages

    list

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

    Example 1.1

    Code Block
    titleRequest URL (GET): 
    http(s)://svc.webspellchecker.net/spellcheck31/script/ssrv.fcgiapi?cmd=detect_language&text=this sampl text demonstrates the work of the Web API service.&customerid=[your-service-id]

    ...