Skip to content

Riturao/NLP-Speech-in-one-language-to-speech-in-other-language

Repository files navigation

NLP-Speech-in-one-language-to-speech-in-other-language

Speech recognition and conversion into speech of any other language

Requirements

python 3.6

gTTS

googletrans

pyAudio --->Bindings for PortAudio v19, the cross-platform audio input/output stream libra

speechrecognition

google-speech ---->Google Speech is a simple multiplatform command line tool to read text using Google Translate TTS (Text To Speech) API.

pyttsx3 ---> pyttsx3 is a text-to-speech conversion library in Python. Unlike alternative libraries, it works offline, and is compatible with both Python 2 and 3.

playsound -----> playing the mp3 sound

Installing them

pip install gTTS pip install googletrans pip install pyAudio pip install speechrecognition pip install google-speech pip install pyttsx3 pip install playsound

YOU CAN CHOOSE THE LANGUAGE OF INPUT AND OUTPUT. It needs internet connection to work.