PrePAN

Sign in to PrePAN

YAndex::Dictionary APi for Yandex Dictionary

Author
jamesroseaxl@twitter
Date
URL
Status
In Review
Good

Synopsis

use Yandex::Dictionary;
use utf8;

my $dic = Yandex::Dictionary->new;
$dic->set_key('yandex_key');

$dic->set_text('time');

$dic->set_lang('en-tr');

#$dic->set_format('xml');

print $dic->get_result(), "\n";

Description

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.

Comments

Please sign up to post a review.