The Model of Sentiment Analysis for Classifying the Online Shopping Reviews

Main Article Content

Pisit Bowornlertsutee
Worapat Paireekreng

Abstract

Nowadays, users can make a decision to order online goods and services from searching information related to goods and services. These may be based on opinions and reviews from previous purchasers as a guideline for purchasing decisions. Moreover, the current opinions information and reviews are enormous and increased all the time. consumers have to spend time for information analytics. Therefore, the model of sentiment analysis regarding goods and services reviews is needed. This research aims to build a model of Sentiment analysis with 3-level of emotion. they are positive neutral and negative, regarding previous user’s reviews and opinions towards online products and services. The techniques used in this research are Machine Learning including Word Segmentation and Bag of Words which compared four categories of sentiment analysis methods: LSTM, SGD, Logistic Regression and Support Vector Machines. There are 5 steps for model building as following: 1) Data Preparation Phase 2) Word Tokenization Phase 3) Training & Streaming Phase 4) Classification phase and 5) Model Evaluation Phase. The consumers’ opinions were gathered the datasets from open data with number of 12,900 comments. The model can help consumers to make a decision for purchasing of goods and services, and help entrepreneurs gain the information. This is to improve products and services in the future. This proposed method can classify the opinions into 3 scales which are positive, neutral and negative opinions. In summary, the proposed sentiment analysis model can perform LSTM accuracy is at 81.27%, Logistic Regression accuracy is at 69%, SGD accuracy is at 66% and Support Vector Machines accuracy is at 65%. However, the LSTM shows better performance on the classification compared to other techniques with deep learning approach. It also found that the F1-score can be implemented for Thai text appropriately.

Article Details

Section
Research Article

References

P. Bowornlertsutee and W. Paireekreng, “The model of sentiment analysis for online shopping review using false detection technique,” (in Thai), in Proc. 14th Nat. Conf. Digit. Technol. Sustain. Wellbeing and Smart Soc., Bangkok, Thailand, Jun. 21, 2019, pp. 477–486.

P. Laowsungsuk, A. Jinda, and S. Sitthisarn, “Sentiment analysis of restaurant reviews on review web sites,” (in Thai), Thaksin Univ. J., vol. 20, no. 1, pp. 39–47, 2017.

M. Masdisornchote, “Constructing Thai opinion mining,” (in Thai), J. Sripatum Rev. Sci. Technol., vol. 6, no. 1, pp.120–128, 2014.

P. Kasemmetheekarun, P. Meesut, and S. Nuanmeesri, “Sentiment analysis system of Thai video on social media using support vector machine,” (in Thai), CRMA J., vol. 14, no. 1, pp. 21–33, 2016.

B. Chiraratanasopha, “Sentimental analysis and keyword extraction from Thai users of Facebook in COVID-19 period,” Prog. Appl. Sci. Technol., vol. 11, no. 1, pp. 66–72, 2021.

P. Bowornlertsutee and W. Paireekreng, “Thai sentiment analysis techniques for online customer reviews,” (in Thai), RMUTSV Res. J., vol. 14, no. 3, 2022, Art. no. 245470.

M. Manhem, S. Dolah, S. Chunkaew, and S. Mak-on, “Model for the classification of feelings of reviews using techniques decision tree case studies hotel reservation web site,” (in Thai), J. Sci. Technol. Songkhla Rajabhat Univ., vol. 1, no. 2, pp. 69–79, 2020.

S. Srisawakarn and S. Srisuay, “Sentiment analysis opinion mining using text extraction,” (in Thai), J. Educational Technol. Commun. Fac. Educ. Mahasarakham Univ., vol. 6, no. 2, pp. 95–104, 2020.

X. Fan, X. Li, F. Du, X. Li, and M. Wei, “Apply word vectors for sentiment analysis of APP reviews,” in Proc. 3rd Int. Conf. Syst. and Inform. (ICSAI), Shanghai, China, Nov. 2016, pp. 1062–1066, doi: 10.1109/ICSAI.2016.7811108.

T. Chumwatana, “Using sentiment analysis technique for analyzing Thai customer satisfaction from social media,” in Proc. 5th Int. Conf. Comput. and Inform., Istanbul, Turkey, Aug. 2015, pp. 659–664.

N. Sornjapo, “Thai text automatic clustering model using machine learning by unsupervised learning with natural language processing,” (in Thai), Sripatum Chonburi J., vol. 14, no. 4, pp. 95–106, 2018.

C. Haruechaiyasak, A. Kongthon, P. Palingoon, and K. Trakultaweekoon, “S-Sense: A sentiment analysis framework for social media monitoring applications,” Inf. Technol. J., vol. 14, no. 1, pp. 11–22, 2018.

I. Lorattanachaiyong, “Generating Thai sentiment lexicon from online reviews,” M.A. thesis, Dept. Arts, Chulalongkorn Univ., Bangkok, Thailand, 2017.

P. Promla and C. Sanrach, “The comparison of efficiency on the analysis of satisfaction on teaching performance using sentiment analysis by ensemble technique,” KKU Res. J. (Graduate Studies), vol. 20, no. 4, pp. 104–149, 2020.

W. Fongngen and S. Pethan, “Sentiment analysis opinion mining from Facebook comments using data mining technique,” (in Thai), J. Ind. Technol. Ubon Ratchathani Rajabhat Univ., vol. 11, no. 1, pp. 121–132, 2021.

O. Pravatborisut, Python for data science data visualization and machine learning. Bangkok, Thailand: Provision (in Thai), 2021.

S. Hiriyannaiah, S. G. Matt, and S. K. GopalaIyengar, “A hybrid model using MaLSTM based on recurrent neural networks with support vector machines for sentiment analysis,” Eng. Appl. Sci. Res., vol. 47, no. 3, pp. 232–240, 2020.

S. Diab, “Optimizing stochastic gradient descent in text classification base on fine-tuning hyper-parameters approach,” Int. J. Comput. Sci. Inf. Secur., vol. 16, no. 12, pp. 155–160, 2018.

X. Xie, K. Neelora, and S. Laohakiat, “Sentimental analysis using Twitter data,” M.S. thesis, Dept. Comput. Sci., Srinakharinwirot Univ., Bangkok, Thailand, 2018.