mayank93 / twitter-sentiment-analysis Goto Github PK
View Code? Open in Web Editor NEWSentiment Analysis on Twitter
Sentiment Analysis on Twitter
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
I am able to execute all commands but python ./code/findf1.py ./code/taskB.gs ./code/taskB.pred generates an error
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?
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'
Cannot send email.. What to do ??
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.