This is a Python3 implementation of a conversational chatbot. You can train a chatbot using the chatterbot library with a simple conversational corpus.
The implementation can listen to the voice of a speaker and process it. The output can be written or using a spoken voice.
Install dependencies:
$ pip3 install chatterbot
$ pip3 install chatterbot-corpus
$ pip3 install requests
$ pip3 install googletrans
$ pip3 install translate
$ pip3 install numpy
$ pip3 install matplotlib
$ pip3 install speech_recognition
$ pip3 install sounddevice
$ pip3 install pyaudio
$ pip3 install wave
Clone the following repositories:
git clone https://github.com/socom20/ChatBot.git
cd ..
git clone https://github.com/socom20/Acapela_TTS_API.git
git clone https://github.com/socom20/voice_handler.git
git clone https://github.com/socom20/Mitsuku.git
python3 ./chatbot.py