SENTIMENT ANALYSIS OF CUSTOMER REVIEWS

Volume 4 (1), June 2021, Pages 113-125

Syed Rashiq Nazar1, Tapalina Bhattasali2


St. Xavier’s College (Autonomous), Kolkata 1This email address is being protected from spambots. You need JavaScript enabled to view it., 2This email address is being protected from spambots. You need JavaScript enabled to view it.


Abstract

Sentiment analysis is a process in which we classify text data as positive, negative, or neutral or into some other category, which helps understand the sentiment behind the data. Mainly machine learning and natural language processing methods are combined in this process. One can find customer sentiment in reviews, tweets, comments, etc. A company needs to evaluate the sentiment behind the reviews of its product. Customer sentiment can be a valuable asset to the company. This ultimately helps the company make better decisions regarding its product marketing and improving product quality. This paper focuses on the sentiment analysis of customer reviews from Amazon. The reviews contain textual feedback along with a rating system. The aim is to build a supervised machine learning model to classify the review as positive or negative. As reviews are in the text format, there is a need to vectorize the text to numerical format for the computer to process the data. To do this, we use the Bag-of-words model and the TF-IDF (Term Frequency-Inverse Document Frequency) model. These two models are related to each other, and the aim is to find which model performs better in our case. The problem in our case is a binary classification problem; the logistic regression algorithm is used. Finally, the performance of the model is calculated using a metric called the F1 score.

Keywords:

Sentiment Analysis, Customer Review, Bag of Words, TF-IDF, Supervised Machine Learning.

DOI: https://doi.org/10.32010/26166127.2021.4.1.113.125

 

 

Reference 

Algorithmia (2018) “Introduction to sentiment analysis: What is sentiment analysis?” Available Online At: https://algorithmia.com/blog/introduction-sentiment-analysis

Gupta, S. (2018). Sentiment analysis: concept, analysis and applications. Toward Data Science.

Haddi, E., Liu, X., & Shi, Y. (2013). The role of text pre-processing in sentiment analysis. Procedia Computer Science, 17, 26-32.

Kaggle (n.d.) Sentiment Analysis. Available Online At: https://www.kaggle.com/snap/amazon-fine-food-reviews

Liu, B. (2012). Sentiment analysis and opinion mining. Synthesis lectures on human language technologies, 5(1), 1-167.

Mishne, G., & Glance, N. S. (2006, March). Predicting movie sales from blogger sentiment. In AAAI spring symposium: computational approaches to analyzing weblogs (pp. 155-158).

Monkeylearn (n.d.) Sentiment Analysis: A Definitive Guide. Available Online At: https://monkeylearn.com/sentiment-analysis/

Pandey, P., & Soni, N. (2019, February). Sentiment Analysis on Customer Feedback Data: Amazon Product Reviews. In 2019 International Conference on Machine Learning, Big Data, Cloud and Parallel Computing (COMITCon) (pp. 320-322). IEEE.

Pang, B., Lee, L., & Vaithyanathan, S. (2002). Thumbs up? Sentiment classification using machine learning techniques. arXiv preprint cs/0205070.

Yi, S., & Liu, X. (2020). Machine learning based customer sentiment analysis for recommending shoppers, shops based on customers’ review. Complex & Intelligent Systems, 6(3), 621-634.