Translation API – Google Cloud Python Tutorials p.5

///Translation API – Google Cloud Python Tutorials p.5

Translation API – Google Cloud Python Tutorials p.5

FavoriteLoadingAdd to favorites

Welcome to part 5 of the Google Cloud tutorial series, in this tutorial we’re going to cover the Translation API.

As usual, you first need to enable this, and of course you need to have your credentials all set up (see part 2 if you haven’t done this).

The translation API allows us to take any (well, just about) language and translate it into a target language. The beauty of this is that you don’t need to know the language that you’re attempting to translate, you just need to know what language you want it to be in.

Sample code: https://pythonprogramming.net/translation-api-google-cloud-tutorial/

https://www.facebook.com/pythonprogramming.net/
https://plus.google.com/+sentdex

By |2017-05-01T12:21:06+00:00April 26th, 2017|Programming Video Tutorials, Python Video Tutorials|17 Comments

17 Comments

  1. Jonathan Ma April 26, 2017 at 9:25 pm - Reply

    Hi, I’m using the Google Translate API and I have about 2.5 million characters to translate from English to Greek and Latin each. I’m currently getting a daily limit exceeded message even though I have enabled billing and increased the quotas. Do you know what might be the problem? I’m also reporting no usage on the project dashboard even though I’ve used it quite a bit.

  2. fw pc April 26, 2017 at 9:27 pm - Reply

    yep, you have a tipo. it is not "ene español " is ; it is meant to be "en español".

  3. desperado6191 April 26, 2017 at 9:28 pm - Reply

    can you remind me what is result [‘translate’]

  4. Sarthak Chowdhary April 26, 2017 at 9:30 pm - Reply

    Great Tutorial! I have been trying to translate Japanese text into English. This is the error that I have been getting "UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xe9 in position 0: ordinal not in range(128)" how do I get around this?

  5. Michael Beckett April 26, 2017 at 9:37 pm - Reply

    Neat stuff. Some really cool tools in here.

  6. Adam J Duncan - Geospatial April 26, 2017 at 9:37 pm - Reply

    EASILY in my top ten channels; top three tutorials channels. Up there with Bucky. Love you, Gaylord! (Please note that I call him such not because he’s the Lord of the Gays, but he’s like a Happy Lord — no offence is intended, he just seems like a Gaylord to me! 😀 ) In fact you go a little more into "thinking like a programmer" instead of just syntax, so you’re a notch above Bucky in some ways. Mad respect!

  7. Gon Nespral April 26, 2017 at 9:39 pm - Reply

    You really should check out dispy for python distributed computing… (http://dispy.sourceforge.net/examples.html)

  8. pocoyo asoy April 26, 2017 at 9:42 pm - Reply

    Please make blogger API tuts? Thanks

  9. Ragheb Alghezi April 26, 2017 at 9:51 pm - Reply

    Thanks for the awesome tutorials! Is there a Google search API? i.e. Can we make a query to Google search engine and scrape results etc.?

  10. Creuilcreuil _ April 26, 2017 at 9:58 pm - Reply

    Bonne vidéos comme d’habitude

  11. Jeremiah Johnson April 26, 2017 at 9:58 pm - Reply

    Question that doesn’t have anything to do with this video.
    Here is my unrelated question.

    Okay, I’m working on a snake game and
    I want to know how to make my
    snake go faster each time it eats the food,
    I have my fps set on 60 and
    I want it to go +5 fps each time food is ate.

    I’ve been programming for about 2 weeks
    and started this game about a week ago, thank you.

  12. Michael Koller April 26, 2017 at 9:58 pm - Reply

    Very cool series! Do we just delete the VM instance to stop being charged or do we need to disable the API’s as well? Thanks!

  13. Atharva Kshirsagar April 26, 2017 at 9:59 pm - Reply

    while True:
    print ("YOU ARE AWESOME DUDE!")

  14. _Shadow_Player_ April 26, 2017 at 10:11 pm - Reply

    second 😀

  15. Durty Filthy April 26, 2017 at 10:11 pm - Reply

    Hey, can I translate your videos to the Russian?

  16. Sonic Roshan April 26, 2017 at 10:12 pm - Reply

    first

  17. Guido _Crimineel April 26, 2017 at 10:16 pm - Reply

    1:)

Leave A Comment

*