gTTS is a Python library and CLI tool for interacting with Google Translate’s text-to-speech API.
feature
- A customizable speech-specific sentence tokenizer that allows reading text of unlimited length while maintaining correct intonation, abbreviations, decimals, etc.;
- A customizable text preprocessor, for example, can provide pronunciation correction;
Install
quick start
Command Line:
$ gtts-cli 'hello' --output hello.mp3
module:
>>> from gtts import gTTS
>>> tts = gTTS('hello')
>>> tts.save('hello.mp3')
#gTTS #homepage #documentation #downloads #Pythonbased #texttospeech #library #News Fast Delivery