Google Translate Text-To-Speech


The google_text_to_speech
package is a Python-based solution designed to provide versatile and user-friendly text-to-speech (TTS) capabilities. Leveraging the Google Translate TTS API, it enables users to convert written text into spoken words in various languages.
.
āāā clean_up_ws.sh
āāā coverage.sh
āāā docs
ā āāā conf.py
ā āāā index.rst
ā āāā make.bat
ā āāā Makefile
ā āāā prepare_plantuml.sh
ā āāā requirements.txt
ā āāā resources
ā ā āāā LabSoft2.png
ā āāā src
ā āāā architecture.md
ā āāā user_stories.md
āāā images
ā āāā TransparentLogo.png
āāā LICENSE
āāā README.md
āāā requirements.txt
āāā setup.py
āāā src
ā āāā google_text_to_speech
ā āāā google_translate_tts.py
ā āāā __init__.py
ā āāā _version.py
āāā tests
āāā test_google_translate_tts.py
āāā test-reports
8 directories, 20 files
Table of Contents
Installation
pip install google_text_to_speech
Quick Start
from google_text_to_speech import play_tts
text = "Hello World!"
language = "en"
play_tts(text, language)
Features
- Multiple Language Support: Utilizes Google's TTS service to offer speech synthesis in numerous languages.
- Handling of Large Texts: Splits long texts into sentences to avoid limitations related to URL length and TTS service constraints.
- Real-Time Audio Playback: Converts text to speech in real-time, with the capability to play the audio immediately.
Documentation and Reports
Contributing
Contributions are welcome! Please read our Contributing Guidelines for more information.
License
This project is licensed under the MIT License.
Developed with ā¤ļø by
