Coder Social home page Coder Social logo

virtual-assistant's Introduction

Virtual-Assistant

Download the database of the chatbot from this link and put it in the same repository as the bot
Could't put it here because file was too big
https://drive.google.com/file/d/1RAHOlFdUcn0kNo2GFhNOBHAhnKEB3nVQ/view?usp=sharing

Library Requirements

pip3 install SpeechRecognition
pip3 install PyAudio
pip3 install Wave pip3 install gTTS
pip3 install playsound
pip3 install ChatterBot pip3 install pydub

Conversational

loop is written in the code to demonstrate the conversing ability of the bot [run the code to see]
its trained on an ubuntu related conversation to help them with ubuntu interface

Usage

how to call the function: converse(text)
returns: reply

Text to speech

Usage

how to call the function: text_to_speech(text)

Process of text to speech function

converts the text to speech
saves the converted audio into mp3
plays the mp3 audio file

Speech to text

start speaking when say something gets printed in the console

Usage

how to call the function: convert()
returns: text version of what you say

Ascii Animation

some of the frames of the same animation are seperated due to the limitations of github
put all the frames and the animation script in the same repository and run the script
animation will play in the terminal
in the case where the animation cannot be viewed propely just make text smaller in the terminal to see the whole thing

virtual-assistant's People

Contributors

bransonli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.