Sentiment Analysis of the Top 5 E-commerce Platforms in Indonesia using Text Mining and Natural Language Processing (NLP)
Abstract
This research attempts to depict a sentiment comparison of the top 5 E-commerce platforms in Indonesia by gathering the emotional tone behind sentence contents related to customer sentiments, customer experiences, and the brand reputation of E-commerce. Data were collected using Python 3.11.4 with the google-play-scraper library, extracted from user reviews/comments on each play store page of the top 5 E-commerce platforms in Indonesia. A sampling of 10,000 records was taken to form a long document term matrix (DTM) of 59,981,785 due to the limitation of CPU capacity for data matrix size. R Programming version 4.3.1 was employed for sentiment analysis in this study. It can be concluded that user comments or reviews on the top five (5) E-commerce platforms in Indonesia show positive sentences indicating user satisfaction (3664 sentences), neutral sentences indicating average user appreciation (2282 sentences), and negative sentences indicating user dissatisfaction (4054 sentences). At least with more positive and neutral sentences, it is indicated that 59.64% of E-commerce users in Indonesia express a positive opinion on the performance of the top 5 E-commerce platforms in the country.
Downloads
References
Medium, “The Top 10 Marketplace E-Commerce in Indonesia in 2021 | by 9cv9 official | Medium.” [Online]. Available: https://medium.com/@9cv9official/the-top-10-marketplace-e-commerce-in-indonesia-in-2021-6846d699345b. [Accessed: 16-Mar-2023].
MonkeyLearn, “Sentiment Analysis Guide.” [Online]. Available: https://monkeylearn.com/sentiment-analysis/. [Accessed: 16-Mar-2023].
L. Yang, Y. Li, J. Wang, and R. S. Sherratt, “Sentiment Analysis for E-Commerce Product Reviews in Chinese Based on Sentiment Lexicon and Deep Learning,” IEEE Access, vol. 8, pp. 23522–23530, 2020.
Y. Liu, J. Lu, J. Yang, and F. Mao, “Sentiment analysis for e-commerce product reviews by deep learning model of Bert-BiGRU-Softmax,” Math. Biosci. Eng., vol. 17, no. 6, pp. 7819–7837, Nov. 2020.
S. Zhang and H. Zhong, “Mining Users Trust From E-Commerce Reviews Based on Sentiment Similarity Analysis,” IEEE Access, vol. 7, pp. 13523–13535, 2019.
A. Bayhaqy, S. Sfenrianto, K. Nainggolan, and E. R. Kaburuan, “Sentiment Analysis about E-Commerce from Tweets Using Decision Tree, K-Nearest Neighbor, and Naïve Bayes,” 2018 Int. Conf. Orange Technol. ICOT 2018, Jul. 2018.
S. Vanaja and M. Belwal, “Aspect-Level Sentiment Analysis on E-Commerce Data,” Proc. Int. Conf. Inven. Res. Comput. Appl. ICIRCA 2018, pp. 1275–1279, Dec. 2018.
J. Jabbar, I. Urooj, W. Junsheng, and N. Azeem, “Real-time sentiment analysis on E-Commerce application,” Proc. 2019 IEEE 16th Int. Conf. Networking, Sens. Control. ICNSC 2019, pp. 391–396, May 2019.
S. Kumar, M. Gahalawat, P. P. Roy, D. P. Dogra, and B. G. Kim, “Exploring impact of age and gender on sentiment analysis using machine learning,” Electron., vol. 9, no. 2, Feb. 2020.
K. K. Tseng, R. F. Y. Lin, H. Zhou, K. J. Kurniajaya, and Q. Li, “Price prediction of e-commerce products through Internet sentiment analysis,” Electron. Commer. Res., vol. 18, no. 1, pp. 65–88, Mar. 2018.
S. Zhang, D. Zhang, H. Zhong, and G. Wang, “A multiclassification model of sentiment for e-commerce reviews,” IEEE Access, vol. 8, pp. 189513–189526, 2020.
N. Barney, “What Is Sentiment Analysis (Opinion Mining)? | Definition from TechTarget.” [Online]. Available: https://www.techtarget.com/searchbusinessanalytics/definition/opinion-mining-sentiment-mining. [Accessed: 16-Mar-2023].
S. Gupta, “Sentiment Analysis: Concept, Analysis and Applications | by Shashank Gupta | Towards Data Science.” [Online]. Available: https://towardsdatascience.com/sentiment-analysis-concept-analysis-and-applications-6c94d6f58c17. [Accessed: 16-Mar-2023].
A. AWS, “Apa itu Analisis Sentimen? - Penjelasan tentang Analisis Sentimen - AWS.” [Online]. Available: https://aws.amazon.com/id/what-is/sentiment-analysis/. [Accessed: 16-Mar-2023].
STHDA, “Text mining and word cloud fundamentals in R : 5 simple steps you should know - Easy Guides - Wiki - STHDA.” [Online]. Available: http://www.sthda.com/english/wiki/text-mining-and-word-cloud-fundamentals-in-r-5-simple-steps-you-should-know. [Accessed: 16-Mar-2023].
A. Salcedo, “RPubs - Sentiment Analysis R.” [Online]. Available: https://rpubs.com/aneudissalcedo/week5-homework. [Accessed: 16-Mar-2023].
T. S. Holliger, “RPubs - A Practical Application of the TM Package.” [Online]. Available: https://rpubs.com/tsholliger/301914. [Accessed: 16-Mar-2023].
P. Chris Bail and D. University, “Basic Text Analysis in R.” [Online]. Available: https://sicss.io/2020/materials/day3-text-analysis/basic-text-analysis/rmarkdown/Basic_Text_Analysis_in_R.html. [Accessed: 16-Mar-2023].
Afxwilhelm, “Introduction to Text Ming Package (TM).” [Online]. Available: http://afxwilhelm.github.io/statsWithR/tutorials/textMiningIntro.html. [Accessed: 16-Mar-2023].
Geeksforgeeks, “Filter data by multiple conditions in R using Dplyr - GeeksforGeeks.” [Online]. Available: https://www.geeksforgeeks.org/filter-data-by-multiple-conditions-in-r-using-dplyr/. [Accessed: 16-Mar-2023].
Supriyd, “GitHub - supriyd/Sentiment-Analysis-with-R: Analisis sentimen kali ini data yang digunakan adalam ulasa maskapai lion air yang telah diunduh pada postingan sebelumnya. Analisis dilakukan dengan menggunakan program R. semoga membantu terimakasih.” [Online]. Available: https://github.com/supriyd/Sentiment-Analysis-with-R. [Accessed: 16-Mar-2023].
L. Florence, “RPubs - Sentiment Analysis Sriwijaya Air.” [Online]. Available: https://rpubs.com/LauraEflor/sasriwijaya. [Accessed: 16-Mar-2023].
S. R. A. E. Virgana Targa, “Web scraping with Chrome Extensions - Web Scraper - Free Web Scraping.” [Online]. Available: https://www.youtube.com/watch?v=a-Nqe_GDoGU. [Accessed: 16-Mar-2023].
A. Chandramohan, “What is corpus in R? - Quora.” [Online]. Available: https://www.quora.com/What-is-corpus-in-R. [Accessed: 16-Mar-2023].
C. Project, “Introduction to corpus.” [Online]. Available: https://cran.r-project.org/web/packages/corpus/vignettes/corpus.html. [Accessed: 16-Mar-2023].
C. Khanna, “Text preprocessing: Stop words removal | Chetna | Towards Data Science.” [Online]. Available: https://towardsdatascience.com/text-pre-processing-stop-words-removal-using-different-libraries-f20bac19929a. [Accessed: 16-Mar-2023].
Y. Wibisono, “Stop words untuk Bahasa Indonesia.” [Online]. Available: https://yudiwbs.wordpress.com/2008/07/23/stop-words-untuk-bahasa-indonesia/. [Accessed: 16-Mar-2023].
C. Facer, “Text Analysis: Hooking up Your Term Document Matrix to Custom R Code - Displayr.” [Online]. Available: https://www.displayr.com/text-analysis-hooking-up-your-term-document-matrix-to-custom-r-code/. [Accessed: 16-Mar-2023].
Softscients, “Membuat Document Term Matrix - Softscients.” [Online]. Available: https://softscients.com/2021/02/16/membuat-document-term-matrix/. [Accessed: 16-Mar-2023
Copyright (c) 2023 R. A. E. Virgana Targa Sapanji, Dani Hamdani, Parlindungan Harahap
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).