yandex_detect_language: Detects the language of the specified text.

Description Usage Arguments Value Examples

Description

Detects the language of the specified text.

Usage

1
yandex_detect_language(yandex_api_key, text = "")

Arguments

yandex_api_key

yandex API key

text

The text to detect the language for

Value

String of detected language (character type) See https://tech.yandex.com/translate/doc/dg/reference/detect-docpage/ for more details

Examples

1
detected_languaged = yandex_detect_language(yandex_api_key, text="voglio mangiare cena")

kpolimis/yandextexttranslater documentation built on May 12, 2019, 8:47 a.m.