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

The detect_language command is available since the release of WebSpellChecker v5.5.8 in March 2020. It detects the language(s) of a given text.

  • This functionality is built on top of the Compact Language Detector 2 (CLD2) library.
  • It supports over 80 languages.
  • Right now in a single request it detects and returns the language with the highest probability. Later we plan to improve the work of this command to show all the detected languages and their probabilities.
  • To reach the better and more accurate result, it is recommended to split your text into sentences and send as separate requests. 

...

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

...