Git Product home page Git Product logo

deepsentiment's Introduction

DeepSentiment

Speech Emotion Recognition using Fast Fourier Transform and Support Vector Machine

This module aims at extracting emotion components within human speech like Pitch and Loudness and use them to identify the emotion state of the speaker. Support Vector Machines are used to segregate the features into various emotion states like Anger, Sadness, Fear, Happy and Neutral. Some of these emotion states are interleaved, reducing the precision with which we can decipher the emotion state, hence we have also incorporated text based sentiment recognition to improve precision of prediction. We have used Pyspark (Apache Spark) library to develop the model for this purpose.

Prerequisites

1.) The following are the prerequsite python modules that needs to be installed to execute the Standalone component:

sudo pip install numpy 
sudo pip install scipy
sudo pip install pandas
sudo pip install SpeechRecognition
sudo pip install -U scikit-learn
sudo pip install findspark
sudo pip install flask
sudo pip install analyse
sudo pip install flask_cors

Note: There may be other prerequiste library files that needs to installed before installing the above mentioned modules.

2.) Follow the instructions mentioned in the link to install Aubio(pitch extraction library).

3.) If you want to train your own model, then install the latest version of [ Apache Spark ] (http://spark.apache.org/downloads.html) and use the code inside Spark for training the model.

Downloads

Clone the repository using the below mentioned command and execute the bash script.

git clone https://github.com/vyassu/DeepSentiment.git
cd DeepSentimemt/Code/StandAlone
chmod 755 script.sh
$./script.sh

Test and Run

There are two ways to run the program

1.) HTML/CSS userinterface through which you can record your voice and get the output, or upload a WAV file. in your browser paste the below

URL http://localhost:5000/deepsentiment

2.) Execute the below mentioned command

      python Controller.py

Follow the directions for commandline testing.

##Note: The record voice feature is still in development stage!!

deepsentiment's People

Contributors

neilchitnis avatar smeera380 avatar vyassu avatar

Watchers

 avatar  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.