Enhancing Customer Experience in E-commerce through Lexicon and TextBlob Sentiment Analysis
DOI:
https://doi.org/10.58812/wsshs.v2i07.1747Keywords:
Text Mining, Sentiment, Analysis Lexicon, TextBlob, Data, ScienceAbstract
This study evaluates customer satisfaction in business and e-commerce using sentiment analysis based on Indonesian Lexicon and TextBlob. The method used in this study is an explorative quantitative approach with sentiment analysis techniques that compare the Lexicon and TextBlob methods in processing customer review data. The analysis results show the dominance of the neutral sentiment category, with Lexicon producing around 1400 neutral reviews, 1000 positive reviews, and less than 200 negative reviews, while TextBlob shows more than 2000 neutral reviews with less than 500 positive reviews and almost no negative reviews. These findings reveal that the Lexicon method is more sensitive in detecting positive sentiment than TextBlob, which tends to be conservative. The implication of this study is the importance of choosing the right sentiment analysis method to improve customer service strategies. With an accuracy score of 78.52%, precision of 68.11%, and F1-Score of 63.54%, this analysis provides practical insights into how companies can effectively interpret customer sentiment to improve service quality and overall customer satisfaction.
References
[1] S. Kumar, A. K. Kar, and P. V. Ilavarasan, “Applications of text mining in services management: A systematic literature review,” Int. J. Inf. Manag. Data Insights, vol. 1, no. 1, p. 100008, 2021.
[2] M. Zhang, Y. Wang, and H. Olya, “Shaping social media analytics in the pursuit of organisational agility: a real options theory perspective,” Tour. Manag., vol. 88, p. 104415, 2022.
[3] E. Park, J. Kang, D. Choi, and J. Han, “Understanding customers’ hotel revisiting behaviour: a sentiment analysis of online feedback reviews,” Curr. Issues Tour., vol. 23, no. 5, pp. 605–611, 2020.
[4] S. R. Nazar and T. Bhattasali, “Sentiment analysis of customer reviews,” Azerbaijan J. High Perform. Comput., vol. 4, no. 1, pp. 113–125, 2021.
[5] P. A. Bodhankar, R. K. Nasare, and G. Yenurkar, “Designing a sales prediction model in tourism industry and hotel recommendation based on hybrid recommendation,” in 2019 3rd International Conference on Computing Methodologies and Communication (ICCMC), IEEE, 2019, pp. 1224–1228.
[6] S. M. Ferdous, S. N. E. Newaz, S. B. S. Mugdha, and M. Uddin, “Sentiment Analysis in the Transformative Era of Machine Learning: A Comprehensive Review,” Stat. Optim. Inf. Comput., vol. 13, no. 1, pp. 331–346, 2025.
[7] S. Wong et al., “EEG based automated seizure detection–A survey of medical professionals,” Epilepsy Behav., vol. 149, p. 109518, 2023.
[8] L.-Y. Ong and M.-C. Leow, “Comparative Study of Leveraging Big Data Processing Techniques for Sentiment Analysis,” in 2023 10th International Conference on Electrical Engineering, Computer Science and Informatics (EECSI), IEEE, 2023, pp. 343–348.
[9] I. Chalkias, K. Tzafilkou, D. Karapiperis, and C. Tjortjis, “Learning analytics on YouTube educational videos: exploring sentiment analysis methods and topic clustering,” Electronics, vol. 12, no. 18, p. 3949, 2023.
[10] S. S. Sharma and G. Dutta, “SentiDraw: Using star ratings of reviews to develop domain specific sentiment lexicon for polarity determination,” Inf. Process. Manag., vol. 58, no. 1, p. 102412, 2021.
[11] S. Shayaa et al., “Sentiment analysis of big data: methods, applications, and open challenges,” Ieee Access, vol. 6, pp. 37807–37827, 2018.
[12] A. Taparia and T. Bagla, “Sentiment analysis: predicting product reviews’ ratings using online customer reviews,” Available SSRN 3655308, 2020.
[13] M. H. D. T. A. Bangsa, S. Priyanta, and Y. Suyanto, “Aspect-based sentiment analysis of online marketplace reviews using convolutional neural network,” IJCCS (Indonesian J. Comput. Cybern. Syst., vol. 14, no. 2, pp. 123–134, 2020.
[14] R. Ahuja, A. Chug, S. Kohli, S. Gupta, and P. Ahuja, “The impact of features extraction on the sentiment analysis,” Procedia Comput. Sci., vol. 152, pp. 341–348, 2019.
[15] S. Verma, “Sentiment analysis of public services for smart society: Literature review and future research directions,” Gov. Inf. Q., vol. 39, no. 3, p. 101708, 2022.
[16] H. J. Lee, M. Lee, H. Lee, and R. A. Cruz, “Mining service quality feedback from social media: A computational analytics method,” Gov. Inf. Q., vol. 38, no. 2, p. 101571, 2021.
[17] A. Trivedi, S. Mondal, S. S. Mathew, and A. Jadhav, “Customer Review Analysis of Indian Multiplex Chain Services,” in 2024 International Conference on Intelligent and Innovative Technologies in Computing, Electrical and Electronics (IITCEE), IEEE, 2024, pp. 1–6.
[18] M. Maggon and H. Chaudhry, “Exploring Relationships Between Customer Satisfaction and Customer Attitude from Customer Relationship Management Viewpoint: An Empirical Study of Leisure Travellers,” FIIB Bus. Rev., vol. 7, pp. 57–65, Mar. 2018, doi: 10.1177/2319714518766118.
[19] M. S. Hossain, M. F. Rahman, M. K. Uddin, and M. K. Hossain, “Customer sentiment analysis and prediction of halal restaurants using machine learning approaches,” J. Islam. Mark., vol. 14, no. 7, pp. 1859–1889, 2022.
[20] Z. Wang, V. Joo, C. Tong, X. Xin, and H. C. Chin, “Anomaly detection through enhanced sentiment analysis on social media data,” in 2014 IEEE 6th international conference on cloud computing technology and science, IEEE, 2014, pp. 917–922.
[21] A. Balahur, R. Mihalcea, and A. Montoyo, “Computational approaches to subjectivity and sentiment analysis: Present and envisaged methods and applications,” Computer Speech & Language, vol. 28, no. 1. Elsevier, pp. 1–6, 2014.
[22] A. Mahgoub et al., “Sentiment analysis: Amazon electronics reviews using bert and textblob,” in 2022 20th International Conference on Language Engineering (ESOLEC), IEEE, 2022, pp. 6–10.
[23] K. Machová, M. Mikula, X. Gao, and M. Mach, “Lexicon-based sentiment analysis using the particle swarm optimization,” Electronics, vol. 9, no. 8, p. 1317, 2020.
[24] C. S. G. Khoo and S. B. Johnkhan, “Lexicon-based sentiment analysis: Comparative evaluation of six sentiment lexicons,” J. Inf. Sci., vol. 44, no. 4, pp. 491–511, 2018.
[25] M. Taboada, J. Brooke, M. Tofiloski, K. Voll, and M. Stede, “Lexicon-based methods for sentiment analysis,” Comput. Linguist., vol. 37, no. 2, pp. 267–307, 2011.
Downloads
Published
Issue
Section
License
Copyright (c) 2024 Hartatik Hartatik

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.









