Implemented Artificial Intelligent Speaker.
Speech to Text : Google Streaming Speech Recognition API, Google Speech Recognition
Conversaion : Watson, Aibril(korean)
Text to Speech : gTTS, Naver Clova TTS, AWS Polly TTS
- Ubuntu 16.04
- Python 3.5
sudo apt-get install python3-dev virtualenvsudo apt-get install portaudio19-devsudo apt-get install ffmpeg
Google Streaming Speech Recognition
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/your/credentials-key.jsonAibril Conversation
export watson_username=YOUR_USER_NAME
export watson_password=YOUR_PASSWORD
export watson_workspace=YOUR_WORKSPACE
export watson_url=YOUR_URL
export watson_version=YOUR_VERSIONNaver Clova TTS
export naver_tts_client_id=YOUR_CLIENT_ID
export naver_tts_client_secret=YOUR_CLIENT_SECRETAWS Polly TTS
Creating virtualenv
cd AI-Speakervirtualenv env --python=python3.5source env/bin/activatepip install -r requirements.txt
Run
python main.py