Depicting The Public Sentiment Variations On Twitter
Depicting The Public Sentiment Variations On Twitter
23 www.erpublication.org
Depicting the Public Sentiment Variations on Twitter
Pre-processing tasks (tokenization, stop word removal, Each tweet is tokenized and a list is created which contains
part-of-speech tagging) are done using nltk on each sentence the words followed by the Boolean value indicating whether
of the datasets. or not the words are present in the word_features list.
Using the Nave Bayes classifier, the tweet is classified as
(1) Tokenization We segment text by splitting it by spaces positive or negative, depending on whether the words in the
and punctuation marks, and form a bag of words. tweet appear more frequently in the positive category or the
(2) Stop word removal Stop words are natural negative category.
language words which have very little meaning, such as
"and", "the", "a", "an", and similar words. A Pie Chart is generated showing the percentage of
(3) Part-of-speech tagging It is a sentence-based process and positive and negative tweets about that topic out of the total
given a sentence formed of a sequence of words, number of tweets.
part-of-speech tagging tries to label (tag) each word with its
correct part-of-speech. The number of tweets based on which the pie chart is
Therefore, pre-processing techniques on tweets are necessary generated is also displayed.
for obtaining satisfactory results on sentiment analysis
24 www.erpublication.org
International Journal of Engineering and Technical Research (IJETR)
ISSN: 2321-0869 (O) 2454-4698 (P), Volume-5, Issue-1, May 2016
1. Pie-Chart representation ACKNOWLEDGMENT
Software will generate a pie-chart showing the percentage of We take this opportunity to express our profound gratitude
positive and negative sentiments based on the users entered and deep regards to our mentor Mr.Pradeep Pattayat (QE
topic. Lead, Persistent Systems) for his exemplary guidance,
monitoring and constant encouragement throughout the
course of this thesis.
REFERENCES
[1] Alexander Pak, Patrick Paroubek, Twitter as a Corpus for Sentiment
Analysis and Opinion Mining, F-91405 Orsay Cedex, France.
[2] D. Chakrabarti and K. Punera. Event summarization using tweets. In
Proc. of the Fifth International AAAI Conference on Weblogs and
Social Media, Barcelona, Catalonia, Spain, 2011.
[3] B. Pang and L. Lee, Opinion mining and sentiment analysis, Found.
Trends Inform. Retrieval, vol. 2, no. (12), pp. 1135, 2008.
[4] M. Hu and B. Liu, Mining and summarizing customer reviews, in
Proc. 10th ACM SIGKDD, Washington, DC, USA, 2004.
2. Number of tweets based on which Pie-Chart is plotted [5] D. Tao, X. Tang, X. Li, and X. Wu,Asymmetric bagging and random
subspace for support vector machines-based relevance feedback in
image retrieval, IEEE Trans. Patt.Anal. Mach. Intell., vol. 28, no. 7,
pp.10881099, Jul. 2006
[6] O. Tsur and A. Rappoport, Whats in a hashtag?: content based
prediction of the spread of ideas in microblogging communities, in
WSDM, 2012,
pp. 643652.
[7] A. Cui, M. Zhang, Y. Liu, S. Ma, and K. Zhang, Discover breaking
events with popular hashtags in twitter, in CIKM, 2012,
pp.1794-1798.
[8] H. Kwak, C. Lee, H. Park and S. B. Moon, What is twitter, a social
network or a news media? in WWW, 2010, pp 591-600
VI. CONCLUSIONS
Nowadays, the opinions and reviews of people on social
networking sites like Twitter are hugely inuential on other
people and their decisions. This system can help such people
nd about sentiments about a topic on Twitter and make
necessary decisions conveniently.
25 www.erpublication.org