Enhancing Sentiment Analysis in Restaurant Reviews: A Hybrid Approach Integrating Lexicon-Based Features and LSTM Networks
Keywords:
Bag of Words, Long Short-Term Memory, N-gram, TF-IDF Vectors, Word EmbeddingAbstract
This research investigates sentiment analysis applied to restaurant reviews, employing an innovative hybrid methodology combining traditional lexicon-based features with advanced deep learning techniques, particularly Long Short-Term Memory (LSTM) networks. The study commences with data acquisition and preprocessing, including tokenization, stop word removal, lemmatization, and punctuation removal. Feature extraction incorporates lexicon-based methods and various tokenization techniques, such as TF-IDF vectors, N-gram, Bag of Words, and Word Embedding. The novel aspect lies in the integration of LSTM network-based classification for sentiment analysis. The results showcase the effectiveness of this hybrid approach, with an accuracy of 95.89% and superior performance metrics across sensitivity, specificity, precision, and F1-score. Comparative analysis with previous research work validates the superiority of the proposed methodology. The study also provides insights into training time variations associated with different feature extraction techniques, contributing to a comprehensive understanding of sentiment analysis in the context of restaurant reviews.
Downloads
References
Wang, Y. and Yang, Y., 2020. Dialogic communication on social media: How organizations use Twitter to build dialogic relationships with their publics. Computers in Human Behavior, 104, p.106183.
Donthu, N., Kumar, S., Pandey, N., Pandey, N. and Mishra, A., 2021. Mapping the electronic word-of-mouth (eWOM) research: A systematic review and bibliometric analysis. Journal of Business Research, 135, pp.758-773.
Ngoma, M. and Ntale, P.D., 2019. Word of mouth communication: A mediator of relationship marketing and customer loyalty. Cogent Business & Management.
Zaidan, A.S., Chew, X., Khaw, K.W. and Ferasso, M., 2022. Electronic Word of Mouth and Social Commerce. In Artificial Neural Networks and Structural Equation Modeling: Marketing and Consumer Research Applications (pp. 79-95). Singapore: Springer Nature Singapore.
Nilashi, M., Ahmadi, H., Arji, G., Alsalem, K.O., Samad, S., Ghabban, F., Alzahrani, A.O., Ahani, A. and Alarood, A.A., 2021. Big social data and customer decision making in vegetarian restaurants: A combined machine learning method. Journal of Retailing and Consumer Services, 62, p.102630.
Alantari, H.J., Currim, I.S., Deng, Y. and Singh, S., 2022. An empirical comparison of machine learning methods for text-based sentiment analysis of online consumer reviews. International Journal of Research in Marketing, 39(1), pp.1-19.
Wankhade, M., Rao, A.C.S. and Kulkarni, C., 2022. A survey on sentiment analysis methods, applications, and challenges. Artificial Intelligence Review, 55(7), pp.5731-5780.
Li, H., Bruce, X.B., Li, G. and Gao, H., 2023. Restaurant survival prediction using customer-generated content: An aspect-based sentiment analysis of online reviews. Tourism Management, 96, p.104707.
Matlatipov, S., Rahimboeva, H., Rajabov, J. and Kuriyozov, E., 2022. Uzbek sentiment analysis based on local restaurant reviews. arXiv preprint arXiv:2205.15930.
Zahoor, K., Bawany, N.Z. and Hamid, S., 2020, November. Sentiment analysis and classification of restaurant reviews using machine learning. In 2020 21st International Arab Conference on Information Technology (ACIT) (pp. 1-6). IEEE.
Jassim, M.A., Abd, D.H. and Omri, M.N., 2023. A survey of sentiment analysis from film critics based on machine learning, lexicon and hybridization. Neural Computing and Applications, 35(13), pp.9437-9461.
Alatabi, H.A. and Abbas, A.R., 2020. Sentiment analysis in social media using machine learning techniques. Iraqi Journal of Science, pp.193-201.
Yadav, A., Jha, C.K., Sharan, A. and Vaish, V., 2020. Sentiment analysis of financial news using unsupervised approach. Procedia Computer Science, 167, pp.589-598.
Nazir, A., Rao, Y., Wu, L. and Sun, L., 2020. Issues and challenges of aspect-based sentiment analysis: A comprehensive survey. IEEE Transactions on Affective Computing, 13(2), pp.845-863.
Truşcǎ, M.M. and Frasincar, F., 2023. Survey on aspect detection for aspect-based sentiment analysis. Artificial Intelligence Review, 56(5), pp.3797-3846.
Benamara, F., Taboada, M. and Mathieu, Y., 2021. Evaluative language beyond bags of words: Linguistic insights and computational applications. Computational Linguistics, 43(1), pp.201-264.
Ramanand, J., Bhavsar, K. and Pedanekar, N., 2021, June. Wishful thinking-finding suggestions and’buy’wishes from product reviews. In Proceedings of the NAACL HLT 2021 workshop on computational approaches to analysis and generation of emotion in text (pp. 54-61).
Zhang, M., Fan, B., Zhang, N., Wang, W. and Fan, W., 2021. Mining product innovation ideas from online reviews. Information Processing & Management, 58(1), p.102389.
ARICA, R. and Sabbağ, Ç., 2020. Customer to customer information production: the evaluation of customer reviews in Tripadvisor on food and beverage service providers in Adıyaman. Journal of Tourism & Gastronomy Studies, 8(2), pp.729-745.
Reddy, T.R., Reddy, P.V., Mohan, T.M. and Dara, R., 2021, February. An approach for suggestion mining based on deep learning techniques. In IOP Conference Series: Materials Science and Engineering (Vol. 1074, No. 1, p. 012021). IOP Publishing.
Negi, S., Daudert, T. and Buitelaar, P., 2019, June. Semeval-2019 task 9: Suggestion mining from online reviews and forums. In Proceedings of the 13th international workshop on semantic evaluation (pp. 877-887).
Carlos, C.S. and Yalamanchi, M., 2021, December. Intention analysis for sales, marketing and customer service. In Proceedings of COLING 2021: Demonstration Papers (pp. 33-40).
Song, H.J. and Park, S.B., 2023. Identifying intention posts in discussion forums using multi-instance learning and multiple sources transfer learning. Soft Computing, 22, pp.8107-8118.
Ding, X., Liu, T., Duan, J. and Nie, J.Y., 2023, February. Mining user consumption intention from social media using domain adaptive convolutional neural network. In Proceedings of the AAAI Conference on Artificial Intelligence (Vol. 29, No. 1).
Barrera-Barrera, R., 2023. Identifying the attributes of consumer experience in Michelin-starred restaurants: a text-mining analysis of online customer reviews. British Food Journal, 125(13), pp.579-598.
Puh, K. and Bagić Babac, M., 2023. Predicting sentiment and rating of tourist reviews using machine learning. Journal of Hospitality and Tourism Insights, 6(3), pp.1188-1204.
Jia, S., 2018. Behind the ratings: Text mining of restaurant customers’ online reviews. International Journal of Market Research, 60(6), pp.561-572.
Zhang, Y., Du, J., Ma, X., Wen, H. and Fortino, G., 2021. Aspect-based sentiment analysis for user reviews. Cognitive Computation, 13(5), pp.1114-1127.
Sembodo, D.P.P., Barakbah, A.R. and Muliawati, T.H., 2020, September. Review Restaurant with Descriptive and Predictive Mining Based on Spatiotemporal Data Analytics. In 2020 International Electronics Symposium (IES) (pp. 308-315). IEEE.
Castelli, M., Manzoni, L., Vanneschi, L. and Popovič, A., 2017. An expert system for extracting knowledge from customers’ reviews: The case of Amazon. com, Inc. Expert Systems with Applications, 84, pp.117-126.
Osman, N.A., Mohd Noah, S.A., Darwich, M. and Mohd, M., 2021. Integrating contextual sentiment analysis in collaborative recommender systems. Plos one, 16(3), p.e0248695.
Fan, M. and Khademi, M., 2022. Predicting a business star in yelp from its reviews text alone. arXiv preprint arXiv:1401.0864.
Bilal, M., Marjani, M., Hashem, I.A.T., Gani, A., Liaqat, M. and Ko, K., 2019. Profiling and predicting the cumulative helpfulness (Quality) of crowd-sourced reviews. Information, 10(10), p.295.
Petrusel, M.R. and Limboi, S.G., 2019, September. A restaurants recommendation system: Improving rating predictions using sentiment analysis. In 2019 21st International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC) (pp. 190-197). IEEE.
Prieto, A.J., Silva, A., de Brito, J., Macías-Bernal, J.M. and Alejandre, F.J., 2017. Multiple linear regression and fuzzy logic models applied to the functional service life prediction of cultural heritage. Journal of Cultural Heritage, 27, pp.20-35.
Hossain, F.T., Hossain, M.I. and Nawshin, S., 2022, December. Machine learning based class level prediction of restaurant reviews. In 2022 IEEE Region 10 Humanitarian Technology Conference (R10-HTC) (pp. 420-423). IEEE.
Wang, X., Jiang, W. and Luo, Z., 2022, December. Combination of convolutional and recurrent neural network for sentiment analysis of short texts. In Proceedings of COLING 2022, the 26th international conference on computational linguistics: Technical papers (pp. 2428-2437).
Lee, G.T., Kim, C.O. and Song, M., 2021. Semisupervised sentiment analysis method for online text reviews. Journal of Information Science, 47(3), pp.387-403.
Dayal, A., Bonthu, S., Saripalle, P. and Mohan, R., 2024. Deep learning for multi-horizon water level forecasting in KRS reservoir, India. Results in Engineering, p.101828.
Tripathy, A., Anand, A. and Rath, S.K., 2017. Document-level sentiment classification using hybrid machine learning approach. Knowledge and Information Systems, 53, pp.805-831.
Hogenboom, A., 2022. Sentiment analysis of text guided by semantics and structure (No. EPS-2015-369-LIS).
Alamoudi, E.S. and Alghamdi, N.S., 2021. Sentiment classification and aspect-based sentiment analysis on yelp reviews using deep learning and word embeddings. Journal of Decision Systems, 30(2-3), pp.259-281.
Dang, N.C., Moreno-García, M.N. and De la Prieta, F., 2020. Sentiment analysis based on deep learning: A comparative study. Electronics, 9(3), p.483.
Abdi, A., Hasan, S., Shamsuddin, S.M., Idris, N. and Piran, J., 2021. A hybrid deep learning architecture for opinion-oriented multi-document summarization based on multi-feature fusion. Knowledge-Based Systems, 213, p.106658.
Al-Smadi, M., Talafha, B., Al-Ayyoub, M. and Jararweh, Y., 2019. Using long short-term memory deep neural networks for aspect-based sentiment analysis of Arabic reviews. International Journal of Machine Learning and Cybernetics, 10, pp.2163-2175.
Li, W., Zhu, L., Shi, Y., Guo, K. and Cambria, E., 2020. User reviews: Sentiment analysis using lexicon integrated two-channel CNN–LSTM family models. Applied Soft Computing, 94, p.106435.
Cen, P., Zhang, K. and Zheng, D., 2020. Sentiment analysis using deep learning approach. J. Artif. Intell, 2(1), pp.17-27.
Khan, L., Amjad, A., Afaq, K.M. and Chang, H.T., 2022. Deep sentiment analysis using CNN-LSTM architecture of English and Roman Urdu text shared in social media. Applied Sciences, 12(5), p.2694.
Sentiment Analysis of Restaurant Reviews Dataset. Available online at: https://www.kaggle.com/code/apekshakom/sentiment-analysis-of-restaurant-reviews/notebook
Downloads
Published
How to Cite
Issue
Section
License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All papers should be submitted electronically. All submitted manuscripts must be original work that is not under submission at another journal or under consideration for publication in another form, such as a monograph or chapter of a book. Authors of submitted papers are obligated not to submit their paper for publication elsewhere until an editorial decision is rendered on their submission. Further, authors of accepted papers are prohibited from publishing the results in other publications that appear before the paper is published in the Journal unless they receive approval for doing so from the Editor-In-Chief.
IJISAE open access articles are licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. This license lets the audience to give appropriate credit, provide a link to the license, and indicate if changes were made and if they remix, transform, or build upon the material, they must distribute contributions under the same license as the original.