yandex_supported_languages: Gets a list of translation directions supported by the...

Description Usage Arguments Value Examples

Description

Gets a list of translation directions supported by the service

Usage

1
yandex_supported_languages(yandex_api_key, lang = "en")

Arguments

yandex_api_key

yandex API key

lang

Defaults to English ("en")

Value

A list with two data frames The first data frame gives the supported translation directions (all columns are character data types) The second data frame matches language abbreviations with full language name (all columns are character data types) See https://tech.yandex.com/translate/doc/dg/reference/getLangs-docpage/ for more details

Examples

1
2
3
supported_languages = yandex_supported_languages(yandex_api_key)
available_translations = supported_languages[[1]]
abbreviations = supported_languages[[2]]

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