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 条
  • [21] Hospital Facebook Reviews Analysis Using a Machine Learning Sentiment Analyzer and Quality Classifier
    Rahim, Afiq Izzudin A.
    Ibrahim, Mohd Ismail
    Chua, Sook-Ling
    Musa, Kamarul Imran
    HEALTHCARE, 2021, 9 (12)
  • [22] 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)
  • [23] 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
  • [24] Feasibility of Using Rating to Predict Sentiment for Online Reviews
    Azman, Azreen
    Sulaiman, Puteri Suhaiza
    Abdullah, Muhamad Taufik
    Alksher, Mostafa
    Alshari, Eissa M.
    Kadir, Rabiah Abdul
    2017 ASIA MODELLING SYMPOSIUM (AMS 2017) / 11TH INTERNATIONAL CONFERENCE ON MATHEMATICAL MODELLING & COMPUTER SIMULATION, 2017, : 37 - 41
  • [25] Sentiment Analysis for Arabic Reviews in Social Networks Using Machine Learning
    Hammad, Mustafa
    Al-awadi, Mouhammd
    INFORMATION TECHNOLOGY: NEW GENERATIONS, 2016, 448 : 131 - 139
  • [26] Sentiment Analysis for Arabic Reviews using Machine Learning Classification Algorithms
    Sayed, Awny A.
    Elgeldawi, Enas
    Zaki, Alaa M.
    Galal, Ahmed R.
    PROCEEDINGS OF 2020 INTERNATIONAL CONFERENCE ON INNOVATIVE TRENDS IN COMMUNICATION AND COMPUTER ENGINEERING (ITCE), 2020, : 56 - 63
  • [27] Sentiment Analysis of Movie Reviews in Hindi Language using Machine Learning
    Nanda, Charu
    Dua, Mohit
    Nanda, Garima
    PROCEEDINGS OF THE 2018 IEEE INTERNATIONAL CONFERENCE ON COMMUNICATION AND SIGNAL PROCESSING (ICCSP), 2018, : 1069 - 1072
  • [28] Sentiment Analysis of Yelp Reviews by Machine Learning
    Hemalatha, S.
    Ramathmika
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 700 - 704
  • [29] An Emotion-Based Rating System for Books Using Sentiment Analysis and Machine Learning in the Cloud
    Gogula, Sandhya Devi
    Rahouti, Mohamed
    Gogula, Suvarna Kumar
    Jalamuri, Anitha
    Jagatheesaperumal, Senthil Kumar
    APPLIED SCIENCES-BASEL, 2023, 13 (02):
  • [30] Context-based sentiment analysis on customer reviews using machine learning linear models
    Chinnalagu A.
    Durairaj A.K.
    PeerJ Computer Science, 2021, 7