GithubHelp home page GithubHelp logo

lingua-translator-microsoft's Introduction

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->new(
        api_key  => $api_key,
        app_id   => $app_id,
    );

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

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

    say $translator->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 <[email protected]>

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

lingua-translator-microsoft's People

Contributors

larion avatar manwar avatar

Watchers

 avatar  avatar  avatar

Forkers

manwar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.