Coder Social home page Coder Social logo

sentiment-analysis's Introduction

Sentiment analysis of audio conversations.

To run the program run main.py in the python terminal from Phase I folder.

$ python main.py

Expected output

	>>> 0 035afDS.wav
		1 019auUF.wav
		...
		...
		...
		398 030anUN.wav 

		S 	H 	F 	A 	N
		Forest Classifier:
		[[9 0 2 0 9]
		 [0 9 0 3 1]
		 [5 0 8 1 1]
		 [0 5 1 9 2]
		 [4 2 0 0 7]]

		Accuracy: 55.8 %

The output is a confusion matrix of classifications of emotions {Fear, Sadness, Anger, Neutral, Happiness}.

Phase 1 of the project was to implement the sentiment analysis engine on a set of audio signals from the Italian Datsbase. It detects the emotion of the person speaking based on the variation in frequency of the voice signal. Phase 1 successfully implemented with upto 55% accuracy on a windows 8 machine and upto 50% on Ubuntu 14.04 machine.

Phase 2 was to deal with the speaker separation. It is a challenging task and requires the implementation of more features and much better research. Simple MFCCs and pre emphasis will not so the trick. Do work on in the future. Approches tried include removing chunks of the song bounded by consecutive zeros, if the peak of the chunk is lesser than a threshold value. The reconstruction from class.py is highly inaccurate. Reason:Unknown.

sentiment-analysis's People

Contributors

chetanvashisht avatar

Watchers

James Cloos 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.