yandex_dictionary_api library

The API is used for getting detailed dictionary entries from the static Yandex.Dictionary. Unlike conventional translation dictionaries, it is compiled automatically using the technologies at the root of the Yandex machine translation system. Yandex.Dictionary entries include the word’s part of speech, and translations are grouped with examples. For English words, the transcription is provided. The service supports a total of 17 language pairs.

Classes

Def
A transcription of the search word may be provided in the ts attribute.
Ex
A example value.
ExTr
A example translation value.
Mean
A meaning value.
Syn
A synonym value.
Tr
A translation value.
YandexDictionaryApi
A Yandex Dictionary API Package.
YandexDictionaryClient
It requests Yandex services and parses the data.
YandexDictionaryKey
All API methods are accessed using a key. Please fill out this simple form to get your free API key.
YandexLookupRequest
The request to be sent to the lookup service.
YandexLookupResponse
The response from lookup service.

Exceptions / Errors

YandexDictionaryBlockedKeyException
Thrown when this API key has been blocked.
YandexDictionaryDailyRequestLimitException
Exceeded the daily limit on the number of requests.
YandexDictionaryException
An YandexDictionaryException is thrown if an error occurs while sending the request.
YandexDictionaryInvalidKeyException
Thrown when invalid API key.
YandexDictionaryLangNotSupportedException
The specified translation direction is not supported.
YandexDictionaryTextTooLongException
The text size exceeds the maximum.
YandexDictionaryUnknownException
Thrown when unknown error cases.