Milovidov Mikhail > Lingua-Translate-Yandex-0.02 > Lingua::Translate::Yandex

Download:
Lingua-Translate-Yandex-0.02.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: Lingua-Translate-Yandex-0.03

NAME ^

Lingua::Translate::Yandex - class for access to Yandex Translation Api.

VERSION ^

Version 0.01

SYNOPSIS ^

    use Lingua::Translate::Yandex;

    my $translator = Lingua::Translate::Yandex->new();
    say $translator->translate("Hello", "ru");
    ...

CONSTRUCTORS ^

new()

METHODS ^

getLanguages

Return array with all supported pairs of languages.

detectLanguage($text)

Return language of $text.

translate($text, $to)

Translate $text in $to language.

getXmlResponse($url)

Return response from request to $url in XML format.

AUTHOR ^

Milovidov Mikhail, <milovidovwork at yandex.ru>

BUGS ^

Please report any bugs or feature requests to bug-lingua-translate-yandex at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Lingua-Translate-Yandex. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT ^

You can find documentation for this module with the perldoc command.

    perldoc Lingua::Translate::Yandex

You can also look for information at:

LICENSE AND COPYRIGHT ^

Copyright 2012 Milovidov Mikhail.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.

syntax highlighting: