/Affective-Computing-VN

Basically a chatbot that detects what the user's feeling according to their input.

Primary LanguageTeX

Sentiment Analysis through a chatbot

This consists in a chatbot that will recognize patterns in an input to determine whoever's writing it feeling, and acting accordingly. Still a WIP.

Contents

This repository has all the files needed to run the algorithm, and the thesis itself as well.

  • thesis: Contains the LaTeX files.
  • game: Contains all the files needed to run it, such as Python scripts and datasets (Formerly tried using Ren'py, still needs cleaning)
  • design: All the design attempts at modeling an assistant are in this folders.

Libraries used in this project

Library Site Version
pygame Link 2.0.0
Keras Link 2.6.0
TensorFlow Link 2.6.0
nltk Link 3.5
chatterbot Link 1.0.5

How to Use

# Running the frontend, should be straight-forward.
$ python3 game/frontend.py

# In case you need to retrain it.
$ python3 game/sentiment_analysis_training.py