<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">Lingua-Translator-Microsoft

This is a client library for the Microsoft Translator API

SYNOPSIS

    my $api_key = read_file('/home/myapp/priv/bing.priv');
    my $translator = Lingua::Translator::Microsoft-&gt;new(
        api_key  =&gt; $api_key,
        app_id   =&gt; $app_id,
    );

    say $translator-&gt;translate('nl', 'en', 'voorbeeld'); # outputs 'example'

    my $wav = $translator-&gt;speak('de', 'WorГјber man nicht sprechen kann, darГјber muss man schweigen');
    open(my $fh, "&gt;", "tractatus.wav");
    print $fh $wav;
    system("mplayer tractatus.wav");

    say $translator-&gt;detect("Ci vuole un fiore."); # outputs 'it'

INSTALLATION

To install this module, run the following commands:

    perl Makefile.PL
    make
    make test
    make install

SUPPORT AND DOCUMENTATION

After installing, you can find documentation for this module with the
perldoc command.

    perldoc Lingua::Translator::Microsoft

You can also look for information at:

    RT, CPAN's request tracker
        http://rt.cpan.org/NoAuth/Bugs.html?Dist=Lingua-Translator-Microsoft

    AnnoCPAN, Annotated CPAN documentation
        http://annocpan.org/dist/Lingua-Translator-Microsoft

    CPAN Ratings
        http://cpanratings.perl.org/d/Lingua-Translator-Microsoft

    Search CPAN
        http://search.cpan.org/dist/Lingua-Translator-Microsoft/

Github

The source code for this module is hosted on Github:

https://github.com/larion/lingua-translator-microsoft

COPYRIGHT AND LICENCE

Copyright (C) 2016 Larion Garaczi &lt;larion@cpan.org&gt;

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.
</pre></body></html>