Giter VIP home page Giter VIP logo

twitter-sentiment-analysis's Introduction

Slides available at: http://www.slideshare.net/dalmiaayushi/sentiment-analysis-in-twitter
Video available at: https://www.youtube.com/watch?v=CuAyE9NISzo

This project aims sentiment analysis at two levels:

Sub Task A: Sentiment Analysis of the tweet considering sub phrases
Sub Task B: Sentiment Analysis of the tweet as a whole

Prerequisites:

 1) Python 2.6 or higher
 2) Java
 3) NLTK 2.0     http://www.nltk.org
 4) NumPy        http://numpy.scipy.org
 5) SentiWordNet http://sentiwordnet.isti.cnr.it
 6) Sentiment_classifier 0.5 https://pypi.python.org/pypi/sentiment_classifier
 7) LIBSVM :https://github.com/cjlin1/libsvm
 
"./INSTALL" contains commands to install the  Prerequisite Libraries for ubuntu 14.04.

Look into the ReadMe files of the respective folder to learn more

twitter-sentiment-analysis's People

Contributors

ayushidalmia avatar mayank93 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

twitter-sentiment-analysis's Issues

8 command generate an error

I am able to execute all commands but python ./code/findf1.py ./code/taskB.gs ./code/taskB.pred generates an error

Test on your own dataset

I have successfully ran your code and now I want to test in my own dataset. So how should I provide my data for testing?

No such file or directory: '/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/modules/ark-tweet-nlp-0.3.2/tokenized/tffstonfounjqixewlzg'

While Adding new test from 'Add Test' I got following error. There's not any folder named tokenized in Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/modules/ark-tweet-nlp-0.3.2/ directory. Am I doing anything wrong?

Traceback (most recent call last):
  File "/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/gluon/restricted.py", line 209, in restricted
    exec ccode in environment
  File "/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/controllers/default.py", line 178, in <module>
  File "/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/gluon/globals.py", line 185, in <lambda>
    self._caller = lambda f: f()
  File "/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/gluon/tools.py", line 2783, in f
    return action(*a, **b)
  File "/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/controllers/default.py", line 97, in addTest
    data=tokenize(Tweet)
  File "applications/TSAA/modules/tokenizer.py", line 13, in tokenize
    f=open(inputFile,'w')
IOError: [Errno 2] No such file or directory: '/home/dp/Downloads/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/modules/ark-tweet-nlp-0.3.2/tokenized/tffstonfounjqixewlzg'

internal error Ticket issued: TSAA/192.168.2.116.2017-04-03.23-08-38.b3415d4b-797a-4af3-82c4-87faa15491ba

Traceback (most recent call last):
File "C:\Users\vinit bagde\Desktop\Twitter-Sentiment-Analysis-master\Twitter-Sentiment-Analysis-master\front-end\web2py\gluon\restricted.py", line 209, in restricted
exec ccode in environment
File "C:/Users/vinit bagde/Desktop/Twitter-Sentiment-Analysis-master/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/controllers/default.py", line 178, in
File "C:\Users\vinit bagde\Desktop\Twitter-Sentiment-Analysis-master\Twitter-Sentiment-Analysis-master\front-end\web2py\gluon\globals.py", line 185, in
self._caller = lambda f: f()
File "C:\Users\vinit bagde\Desktop\Twitter-Sentiment-Analysis-master\Twitter-Sentiment-Analysis-master\front-end\web2py\gluon\tools.py", line 2783, in f
return action(*a, **b)
File "C:/Users/vinit bagde/Desktop/Twitter-Sentiment-Analysis-master/Twitter-Sentiment-Analysis-master/front-end/web2py/applications/TSAA/controllers/default.py", line 97, in addTest
data=tokenize(Tweet)
File "applications\TSAA\modules\tokenizer.py", line 13, in tokenize
f=open(inputFile,'w')
IOError: [Errno 2] No such file or directory: 'C:\Users\vinit bagde\Desktop\Twitter-Sentiment-Analysis-master\Twitter-Sentiment-Analysis-master\front-end\web2py\applications\TSAA\modules\ark-tweet-nlp-0.3.2\tokenized\qhxwxurcpxnmpdudhpsz'
Error snapshot

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.