Gov Decisions
Gov Decisions
Abstract— On internet, there are plenty of social networking sites Politics: On twitter, the majority of tweets are about
on which people express their perception regarding a topic every politics so the politicians want to make a use of it and connect
day which can be helpful for sentiment analysis. In this paper, to the general population. The general mass express their
we have discussed the general procedures in sentiment analysis feelings regarding various government policies and decisions
and how we are going to use python and its libraries for on the platform provided by social media. Hence, opinion
performing sentiment analysis on data retrieved from twitter’s mining about politics related inputs can be used to understand
website so we can get the view of what public thinks of last ten the public view regarding the input, thereby helping
government decisions like Demonetization, Goods and Service politicians.
Tax (GST), Bharat Interface for Money (BHIM), Citizen
Amendment Act (CAA). People on internet express their opinions, views and
insights about numerous topics on various social networking
Keywords—Opinion mining, Sentiment analysis, Machine sites and other sites, these sites can be used to mine data,
learning, Twitter, Python, Natural Language Processing. which act as a source for sentiment analysis.
104
978-1-7281-4097-1/20/$31.00 ©2020 IEEE
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Intelligent Engineering and Management (ICIEM)
In reference to Dr. Kavita Pabreja [7] GST sentiment analysis Retweets must be eliminated because it does not add any value
using Twitter data, emotions of people are put under in the sentiment analysis.
analyzation which shows peoples acceptance for GST but
with too much contradictory feeling. Goods and services are 2.) Tokenization:
divided into five different tax slabs for collection of tax - 0%, Tokenization is a process which dissect the text and separate
5%, 12%, 18% and 28%. Her work analysed how the people them into individual set of words. This is a crucial task in both
are reacting. She divided her work under anger, anticipation, NLP and Sentiment analysis but it is even more significant in
disgust, fear, sad, joy and surprise. sentiment analysis as sentiment information is frequently
dispersed through the text and unusually represented.
III. METHODOLOGY 3.) Eliminating stop-words:
The stop words occurrence is quite repetitive and persistent in
The general flow of steps in the performing sentiment analysis text as they perform task of connecting sub part of sentences.
is given in the figure 1. There are mainly four significant They can be removed from the collection of words present in
modules in the sentiment analysis: data collection, processing, text only they do not alter the sentiment of the entire text. This
classification modules and analysis of output. can be done by examining every word present in the text
against a dictionary (WEKA) comprising stop words such as
“and”, “or”, “still”, “also”, “able”, “the”, “which”, etc. and
discarding all the matched ones. [5]
Some of the most typical procedures carried out for pre- Supervised learning as the name suggests the nearness of an
processing of tweets are: administrator as a trainer. It is the process of deducing a
function through input-output pairs that maps an input to a
1.) Deletion of redundant tweets:
105
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Intelligent Engineering and Management (ICIEM)
particular output. It draws out the inference from a labelled the objective content for example dictionary-based technique
data set being trained. and the content arrangement strategy. In the primary
methodology semantic direction of the record is determined
Furthermore, with respect to Sentiment analysis, we have 3 by adding the SO of the words and expressions in the report.
algorithms in Supervised learning i.e. - Naïve In the second methodology, a classifier is worked from the
Bayes, Bayesian logistic regression and Maximum explained occasions of the content or sentences. The
Entropy Classifier [2]. vocabulary-based methodology functions admirably in cross-
space and can be improved effectively with a wellspring of
extra information for estimation order. We follow the main
methodology in this examination work.[9]
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Intelligent Engineering and Management (ICIEM)
Tweepy:
TextBlob:
Matplotlib:
A picture is worth a thousand words, and with Pythons
matplotlib library, it luckily takes far not exactly a thousand
expressions of code to plot. Matplotlib library can be used in
python scripts for plotting two dimensional plots like bar
charts, pie charts, etc.
V.SURVEY RESULT
107
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Intelligent Engineering and Management (ICIEM)
References: -
[2] Gupta, B., Negi, M., Vishwakarma, K., Rawat, G., Badhani, P., &
Tech, B. (2017). Study of Twitter sentiment analysis using
machine learning algorithms on Python. International Journal of
Computer Applications, 165(9), 29-34.
[4] Zimbra, D., Ghiassi, M., & Lee, S. (2016, January). Brandrelated
Twitter sentiment analysis using feature engineering and the
dynamic architecture for artificial neural networks. In 2016 49th
Hawaii International Conference on System Sciences (HICSS)
(pp. 1930-1938). IEEE.
[5] Barnaghi, P., Ghaffari, P., & Breslin, J. G. (2016, March). Opinion
mining and sentiment polarity on twitter and correlation between
events and sentiment. In 2016 IEEE Second International
Conference on Big Data Computing Service and Applications (Big
Data Service) (pp. 52-57). IEEE.
[6] Arun, K., Srinagesh, A., & Ramesh, M. (2017). Twitter sentiment
analysis on demonetization tweets in India using R language.
International Journal of Computer Engineering In Research
Trends, 4(6), 252-258.
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.
2020 International Conference on Intelligent Engineering and Management (ICIEM)
[10] Cruz, L., Ochoa, J., Roche, M., & Poncelet, P. (2016, September).
Dictionary-Based Sentiment Analysis applied to specific domain
using a Web Mining approach. In 3rd. Annual Internacional
Symposium on Information Management and Big Data (p.
80).
109
Authorized licensed use limited to: Cornell University Library. Downloaded on August 15,2020 at 07:57:49 UTC from IEEE Xplore. Restrictions apply.