drewvlaz / virtual-assistant

A simple virtual assistant powered by a multinomial Naive Bayes classifier

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Simple Virtual Assistant

Overview

This is a virtual assistant aimed for students powered by Naive Bayes. Actions available include responding to greetings and praise, telling jokes, retrieving the weather, checking grades, playing music, and looking things up.

Demo

Simple Demo

Files

There are also some files that need to be created for full functionality. Create a keys.json file in /src/main/resources using the following format for weather, grades, and music functionality.

{
    "weather": "Dark Sky Weather API"
    "grade_username": "your username",
    "grade_password": "your password",
    "spotify_username": "you username",
    "spotify_password": "your password"
}

Building

This project uses Gradle to handle build configuration and JavaFX for the GUI. Make sure to be using Java version 8.

Linux, Mac, and Windows

git clone https://github.com/drewvlaz/virtual-assistant && cd virtual-assistant
gradle shadowjar && java -jar build/libs/virtual-assistant-1.0-all.jar

About

A simple virtual assistant powered by a multinomial Naive Bayes classifier

License:MIT License


Languages

Language:Java 56.5%Language:C++ 32.3%Language:Python 6.7%Language:CSS 3.5%Language:CMake 1.0%