Sentiment Analysis on Social Media Reviews Datasets with Deep Learning Approach
Abstract
Thanks to social media, people are now able to leave guiding comments quickly about their favorite restaurants, movies, etc. This has paved the way for the field of sentiment analysis, which brings together various disciplines. In this study, Yelp restaurant reviews and IMDB movie reviews dataset were used together with the data collected from Twitter. Word2Vec (W2V), Global Vector (GloVe) and Bidirectional Encoder Representation (BERT) word embedding methods, Term Frequency-Reverse Document Frequency (TF-IDF), and the Bag-of-Words (BOW) were used on these datasets. Convolutional Neural Network (CNN), Long Short-Term Memory (LSTM), Recurrent Neural Network (RNN), Support Vector Machine (SVM), and Naive Bayes (NB) were used in the sentiment analysis models. Accuracy, F-measure (F), Sensitivity (Sens), Precision (Pre), and Receiver Operating Characteristics (ROC) were used in the evaluation of the model performance. The Accuracy rates of the models created by the Machine Learning (ML) and Deep Learning (DL) methods using the IMDB dataset were in the range of 81%-90% and 84%-94%, respectively. These rates were in the range of 80%-86% and 81%-89% for the Yelp dataset, and in the range of 75%-79% and 85%-98% for the Twitter dataset. The models that incorporated the BERT word embedding method have the best performance, compared to the other models with ML and DL. Therefore, BERT method is recommended for this type of analysis in future studies.
Keywords
References
- E. Park, J. Kang, D. Choi, and J. Han, “Understanding Customers' Hotel Revisiting Behaviour: a sentiment analysis of Online Feedback Reviews,” Current Issues in Tourism, vol. 23, pp. 605-611, 2020, doi: 10.1080/13683500.2018.1549025.
- B. Pang and L. Lee, "Opinion mining and sentiment analysis", Foundations Trends Information Retrival, vol. 2, no. 2, 2008, pp. 1-135.
- O. Kaynar, H. Arslan, Y. Görmez and F. Demirkoparan, "Makine Öğrenmesi Yöntemleri ile Duygu Analizi," International Artificial Intelligence and Data Processing Symposium (IDAP), pp. 1-5, Malatya, 2017.
- A. Al Hamoud, A. Alwehaibi, K. Roy, and M. Bikdash, “Classifying Political Tweets Using Naïve Bayes and Support Vector Machines,” In International Conference on Industrial, Engineering and Other Applications of Applied Intelligent Systems, pp. 736-744, 2018, doi: 10.1007/978-3-319-92058-0_71.
- S. Symeonidis, D. Effrosynidis, and A, Arampatzis, “A Comparative Evaluation of Pre‐Processing Techniques and Their Interactions for Twitter Sentiment Analysis,” Expert System Applications, vol. 110, pp. 298-310, 2018, doi: 10.1016/j.eswa.2018.06.022.
- M. A. Paredes-Valverde, R. Colomo-Palacios, M. P. Salas-Zárate, and R. Valencia-García, “Sentiment Analysis in Spanish for Improvement of Products and Services: A Deep Learning Approach,” Scientific Programming, vol. 2017, 2017, doi: 10.1155/2017/1329281.
- J. Zheng and L. Zheng, "A Hybrid Bidirectional Recurrent Convolutional Neural Network Attention-Based Model for Text Classification," IEEE Access, vol. 7, 2019, pp. 106673-106685, doi: 10.1109/ACCESS.2019.2932619.
- S. Liu, “Sentiment Analysis of Yelp Reviews: A Comparison of Techniques and Models”, arXiv preprint, arXiv:2004.13851, 2020.
Details
Primary Language
English
Subjects
Artificial Intelligence
Journal Section
Research Article
Authors
Fatih Kayaalp
0000-0002-8752-3335
Türkiye
Publication Date
April 30, 2021
Submission Date
November 28, 2020
Acceptance Date
February 4, 2021
Published in Issue
Year 1970 Volume: 4 Number: 1
Cited By
A Virtual Assistant Design and Application on Industrial Database
Uluslararası Yönetim Bilişim Sistemleri ve Bilgisayar Bilimleri Dergisi
https://doi.org/10.33461/uybisbbd.952310Classification of Imbalanced Offensive Dataset – Sentence Generation for Minority Class with LSTM
Sakarya University Journal of Computer and Information Sciences
https://doi.org/10.35377/saucis...1070822Cross lingual transfer learning for sentiment analysis of Italian TripAdvisor reviews
Expert Systems with Applications
https://doi.org/10.1016/j.eswa.2022.118246Sentiment analysis using a deep ensemble learning model
Multimedia Tools and Applications
https://doi.org/10.1007/s11042-023-17278-6How do practitioners view Arctic shipping Routes? a cognitive appraisal approach
Transportation Research Part D: Transport and Environment
https://doi.org/10.1016/j.trd.2022.103432Semantic rule-based sentiment detection algorithm for Russian publicism sentences
Modeling and Analysis of Information Systems
https://doi.org/10.18255/1818-1015-2023-4-394-417DistilRoBiLSTMFuse: an efficient hybrid deep learning approach for sentiment analysis
PeerJ Computer Science
https://doi.org/10.7717/peerj-cs.2349Semantic Rule-Based Sentiment Detection Algorithm for Russian Publicism Sentences
Automatic Control and Computer Sciences
https://doi.org/10.3103/S0146411624700408
