An open API service indexing awesome lists of open source software.

https://github.com/xiaohan2012/twitter-sent-dnn

Deep Neural Network for Sentiment Analysis on Twitter
https://github.com/xiaohan2012/twitter-sent-dnn

deep-neural-networks sentiment-analysis theano twitter

Last synced: 16 days ago
JSON representation

Deep Neural Network for Sentiment Analysis on Twitter

Awesome Lists containing this project

README

        

# Twitter Sentiment Analysis using ConvNet

A tool to

- predict sentiment "positiveness" for tweets

## How to use it?

```
>> from sentiment import sentiment_score
>> print sentiment_score(u"I love you")
0.9999
```

It returns a sentiment index ranging from 0 (negative sentiment) to 1 (positive sentiment).

## Online Demo

- predict sentiment "positiveness" for single tweets
- gain an overview of the "positiveness" of [hashtags](https://support.twitter.com/articles/49309-using-hashtags-on-twitter#)

Click [here](https://twitter-sentiment-cnn.herokuapp.com/)

## Algorithm

Please refer to [A Convolutional Neural Network for Modelling Sentences](http://nal.co/papers/Kalchbrenner_DCNN_ACL14) for more information about the algorithm.

## Technical choices

- [Tornado](http://www.tornadoweb.org/en/stable/) as the web framework
- [Theano](http://deeplearning.net/software/theano/) as the neural network training implementation
- [Scipy](http://www.scipy.org/) as the neural network classification(online version) implementation

## Training techniques

1. Fan-in, fan-out initialization
2. Dropout
3. AdaDelta

## Contributors
Han Xiao and Yao Lu