A NARRATIVE PROCESS OF REACTION STUDY OF INDIAN TWEET IN GROCERIES DISASTER
Keywords:
Opinion Mining, Sentiment Analysis, KNN, Naïve Bayes Classifier, Food price Crisis.Abstract
Sentiment analysis (Opinion mining) is an important concept in today’s world and due to the advent of social media it has become a huge source of database. Since almost everybody in the modern era is involved with some social media platform, the public mood is hugely reflected in the social media today. This thesis proposes to utilize this source of information and predict the sentiments of public towards a particular topic. Food price crisis is being studied here in this thesis and public opinion is predicted for the topic. Twitter data is utilized for the same and live tweets of Indian origin are extracted using twitter API called ‘tweepy’. Oauth is used as handler and tweets are filtered for specific keywords and location using latitude longitude data. The tweets are saved into a database. They first preprocessed for removal of spam, special characters, url, short words etc. The tweets are then stemmed and tokenized and TF-IDF score is calculated for all the keywords. Feature select ion is applied on it using Chi- Square and information gain. A term document matrix (TDM) is created which is fed to the classifiers for classification. Two classifiers has been analyzed in this thesis: KNN and Naïve Bayes. The results of both the classifier has been found to be satisfactory while the KNN outperforms the Naïve Bayes Classifiers in terms of accuracy. Thus a novel method is designed for sentiment analysis of Indian tweets regarding food price crisis.