Загрузка...

Google Translate API for Python - Step-by-Step guide

In this video, you'll learn how to use the free and unlimited Google Translator API for Python. This is a great option if you don't have the processing power to run open-source models available on Hugging Face locally.

We'll walk you through:
- Installing the googletrans library
- Translating text strings
- Reading and translating text files (TXT)
- Extracting and translating text from PDF files (using PyPDF2)

By the end of this video, you'll be able to translate various text formats using the Google Translator API in Python!

Useful links:
- The googletrans documentation:
https://py-googletrans.readthedocs.io/en/latest/
- The source code:
https://github.com/ImadSaddik/GoogleTranslatePythonAPI

Support us at:
https://www.patreon.com/3CodeCamp

⭐️ Contents ⭐️:
(00:00) Introduction
(00:52) Installing the dependencies
(01:39) Translate a simple string
(03:26) Translate a TXT file
(05:02) Translate a PDF file
(09:14) The End

#3code_campers #google_translate #google_translate_python

Видео Google Translate API for Python - Step-by-Step guide канала 3CodeCamp
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки