yandex_detect_language: Detects the language of the specified text.

Description Usage Arguments Value Examples

View source: R/yandextexttranslater.R

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 Dec. 4, 2017, 11:03 a.m.