yandex.Yandex¶
-
class
yandex.
Yandex
(api_token)[source]¶ Yandex python wrapper.
Methods
__init__
(api_token)param api_token: API token from yandex. get_language_map
([lang])Gets a dictionary mapping of all supported languages get_language_pairs
([lang])Gets a list of all supported languages pairs guess_language
(text[, possible_languages])Guesses the language from a text sample translate
(text, to_lang[, from_lang, format])Translates text from a language into another one.