Predicting sentiment and rating of tourist reviews using machine learning

被引:37
|
作者
Puh, Karlo [1 ]
Babac, Marina Bagic [1 ]
机构
[1] Univ Zagreb, Fac Elect Engn & Comp, Zagreb, Croatia
关键词
Sentiment analysis; Machine learning; Deep learning; Customer reviews; Tourism;
D O I
10.1108/JHTI-02-2022-0078
中图分类号
F [经济];
学科分类号
02 ;
摘要
Purpose - As the tourism industry becomes more vital for the success of many economies around the world, the importance of technology in tourism grows daily. Alongside increasing tourism importance and popularity, the amount of significant data grows, too. On daily basis, millions of people write their opinions, suggestions and views about accommodation, services, and much more on various websites. Well-processed and filtered data can provide a lot of useful information that can be used for making tourists' experiences much better and help us decide when selecting a hotel or a restaurant. Thus, the purpose of this study is to explore machine and deep learning models for predicting sentiment and rating from tourist reviews. Design/methodology/approach - This paper used machine learning models such as Naive Bayes, support vector machines (SVM), convolutional neural network (CNN), long short-term memory (LSTM) and bidirectional long short-term memory (BiLSTM) for extracting sentiment and ratings from tourist reviews. These models were trained to classify reviews into positive, negative, or neutral sentiment, and into one to five grades or stars. Data used for training the models were gathered from TripAdvisor, the world's largest travel platform. The models based on multinomial Naive Bayes (MNB) and SVM were trained using the term frequency-inverse document frequency (TF-IDF) for word representations while deep learning models were trained using global vectors (GloVe) for word representation. The results from testing these models are presented, compared and discussed. Findings - The performance of machine and learning models achieved high accuracy in predicting positive, negative, or neutral sentiments and ratings from tourist reviews. The optimal model architecture for both classification tasks was a deep learning model based on BiLSTM. The study's results confirmed that deep learning models are more efficient and accurate than machine learning algorithms. Practical implications - The proposed models allow for forecasting the number of tourist arrivals and expenditure, gaining insights into the tourists' profiles, improving overall customer experience, and upgrading marketing strategies. Different service sectors can use the implemented models to get insights into customer satisfaction with the products and services as well as to predict the opinions given a particular context. Originality/value - This study developed and compared different machine learning models for classifying customer reviews as positive, negative, or neutral, as well as predicting ratings with one to five stars based on a TripAdvisor hotel reviews dataset that contains 20,491 unique hotel reviews.
引用
收藏
页码:1188 / 1204
页数:17
相关论文
共 50 条
  • [31] Drug Recommendation System based on Sentiment Analysis of Drug Reviews using Machine Learning
    Garg, Satvik
    2021 11TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE & ENGINEERING (CONFLUENCE 2021), 2021, : 175 - 181
  • [32] Using Machine Learning to Predict the Sentiment of Online Reviews: A New Framework for Comparative Analysis
    Budhi, Gregorius Satia
    Chiong, Raymond
    Pranata, Ilung
    Hu, Zhongyi
    ARCHIVES OF COMPUTATIONAL METHODS IN ENGINEERING, 2021, 28 (04) : 2543 - 2566
  • [33] Sentiment Classification for Chinese Reviews Using Machine Learning Methods Based on String Kernel
    Zhang, Changli
    Zuo, Wanli
    Peng, Tao
    He, Fengling
    THIRD 2008 INTERNATIONAL CONFERENCE ON CONVERGENCE AND HYBRID INFORMATION TECHNOLOGY, VOL 2, PROCEEDINGS, 2008, : 909 - 914
  • [34] Sentiment Analysis of Roman Urdu on E-Commerce Reviews Using Machine Learning
    Chandio, Bilal
    Shaikh, Asadullah
    Bakhtyar, Maheen
    Alrizq, Mesfer
    Baber, Junaid
    Sulaiman, Adel
    Rajab, Adel
    Noor, Waheed
    CMES-COMPUTER MODELING IN ENGINEERING & SCIENCES, 2022, 131 (03): : 1263 - 1287
  • [35] Sentiment Analysis of Product Reviews Using Machine Learning and Pre-Trained LLM
    Ghatora, Pawanjit Singh
    Hosseini, Seyed Ebrahim
    Pervez, Shahbaz
    Iqbal, Muhammad Javed
    Shaukat, Nabil
    BIG DATA AND COGNITIVE COMPUTING, 2024, 8 (12)
  • [36] An explainable machine learning model for sentiment analysis of online reviews
    Mrabti, Soufiane El
    EL-Mekkaoui, Jaouad
    Hachmoud, Adil
    Lazaar, Mohamed
    KNOWLEDGE-BASED SYSTEMS, 2024, 302
  • [37] SENTIMENT RATING ALGORITHM OF PRODUCT ONLINE REVIEWS
    Raghupathi, D.
    Yannou, B.
    Farel, R.
    Poirson, E.
    DS 77: PROCEEDINGS OF THE DESIGN 2014 13TH INTERNATIONAL DESIGN CONFERENCE, VOLS 1-3, 2014, : 2135 - 2145
  • [38] Predicting bitcoin price movements using sentiment analysis: a machine learning approach
    Gurrib, Ikhlaas
    Kamalov, Firuz
    STUDIES IN ECONOMICS AND FINANCE, 2022, 39 (03) : 347 - 364
  • [39] Sentiment Classification of Tourist's Opinion on Tourist Places of Interest in South India using Tweet Reviews
    Bharathi, G.
    Anandharaj, G.
    COMPUTER JOURNAL, 2023, 66 (04): : 815 - 825
  • [40] Predicting Box Office and Audience Rating of Chinese Films using Machine Learning
    Jiang, Luyao
    Wang, Zhengduo
    PROCEEDINGS OF 2018 INTERNATIONAL CONFERENCE ON EDUCATION TECHNOLOGY MANAGEMENT (ICETM 2018), 2018, : 58 - 62