Lingua::Translate::Bing - class to access the function of translation provided by "Bing Translation Api".
Version 0.01
use Lingua::Translate::Bing; my $translator = Lingua::Translate::Bing->new(client_id => "1111111", client_secret => "111111"); print $translator->translate("Hello", "ru"); ...
that you will must get in http://datamarket.azure.com/dataset/bing/microsofttranslator.
ATTENTION! Microsoft offers free access to Bing Translator for no more than 2,000,000 characters/month.
Text, that must will be translated.
Language code. Such as in http://msdn.microsoft.com/en-us/library/hh456380.aspx
Returns token from Microsoft OAuth service.
Returns last actual tokens from "tokens.xml" file.
Gets token from Microsoft OAuth service and write it to "tokens.xml".
Gets token from "tokens.xml" if it exist. Else update "tokens.xml".
Language code.
Token from Microsoft OAuth service.
Milovidov Mikhail, <milovidovwork at yandex.ru>
<milovidovwork at yandex.ru>
Please report any bugs or feature requests to bug-bingtranslationapi at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=BingTranslationApi. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-bingtranslationapi at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Lingua::Translate::Bing
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=BingTranslationApi
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/BingTranslationApi
CPAN Ratings
http://cpanratings.perl.org/d/BingTranslationApi
Search CPAN
http://search.cpan.org/dist/BingTranslationApi/
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.
To install Lingua::Translate::Bing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lingua::Translate::Bing
CPAN shell
perl -MCPAN -e shell install Lingua::Translate::Bing
For more information on module installation, please visit the detailed CPAN module installation guide.