This project demonstrates the translation of 1000 Hindi words into English using the Google Translate API via the googletrans library. The project automates the translation process, making it efficient and scalable for large datasets.
Input: 1000 Hindi words
Output: Translated English words
Library: googletrans
- Translation Automation:
- The
googletranslibrary is used to translate Hindi words into English. - The library supports batch translation, making it efficient for large datasets.
- The
- Installation:
- Install the
googletranslibrary using pip:pip install googletrans==4.0.0-rc1
- Install the
- Loading Hindi Words:
- The 1000 Hindi words are loaded from a .csv file "hindi_names.csv".
- Translation Process:
- The
Translatorclass fromgoogletransis used to translate each word.
- The
- Output:
- The translated English words are displayed or can be saved for further use.
- Python 3.8+
- Libraries:
googletrans - Internet connection (required for API access)
This project is licensed under the MIT License. See the LICENSE file for details.