Abstract
Despite the important role of the sentiment of customer reviews in the tourist decision-making process, it has received limited attention from the field of tourism demand forecasting. This study aims to examine the sentiment information of customer reviews and explore its potential in enhancing hotel demand forecast. Empirically, four Macau luxury hotels are selected and their customer reviews are crawled from two popular online platforms. A deep learning method, the Long Short-Term Memory model, is used to extract sentiment information from consumer reviews. Three sentiment indices, namely, bullish index, average index and variance index, are constructed and examined. The effectiveness of these sentiment indices is further evaluated by the autoregressive integrated moving average with exogenous variables model. Empirical results indicate that the inclusion of the sentiment indices helps with improving forecast accuracy. The findings of this study further emphasise the importance of textual content to hotel practitioners in terms of strategy formulation, revenue management and competitiveness enhancement.
Introduction
Demand forecasting is a core element of hotel revenue management. Accurate forecasts of hotel reservation, occupancy and guest arrivals are crucial for hoteliers to allocate hotel resources efficiently and develop appropriate price strategies (Dergiades et al., 2018; Frechtling, 2001; Song and Li, 2008; Weatherford and Kimes, 2003). A large body of studies has investigated hotel demand forecasts using various techniques, with a primary focus on low-frequency demand series such as weekly or monthly. In those studies, traditional economic variables, including income, tourism prices and exchange rates, are used as independent variables in the modelling process (Wu et al., 2017a). More recently, with the rapid development of information technology, the rich content from the internet has introduced an important opportunity to upgrade tourism-related data and generate timely demand forecasts. Big data from the internet can reflect tourists’ preference and their decision-making progress in real time, providing abundant and high-quality information for demand forecasting research (Yang et al., 2014). Tourism-related big data generated by tourists, such as web search data or social media data, have been applied to hotel and tourism demand forecasting research. Choi and Varian (2012) introduced Google Trends data as new explanatory variables to model tourism demand, revealing the considerable potential of search data in tourism demand forecasting. Pan and Yang (2017) adopted multi-source data, including web search data, weather data and local website traffic data, to construct an accurate forecasting model of hotel occupancy, emphasising the superiority of big data in tourism demand analysis. In addition to web search data, social media data are also proved to be effective in improving forecasting accuracy (Li et al., 2020; Önder et al., 2019a).
Among the applications of big data in tourism literature, the information of text content has not been widely used for hotel forecasting. According to Ady and Quadri-Felitti (2015), 95% of travellers search for online hotel reviews, and one-third of them consider the opinions expressed in reviews before making a booking decision (Hu et al., 2017). Therefore, online hotel reviews can reflect tourist behaviours to some extent and social media textual data could be considered when modelling and anticipating tourists’ needs. Text content analysis of social media textual data such as online reviews has been increasingly used to understand tourist perception such as experience, guest satisfaction and helpfulness, allowing hoteliers to meet guest needs in a timely and specific manner (Ghose and Ipeirotis, 2011; Xiang et al., 2015; Xu and Li, 2016).
Sentiment analysis is an effective way to capture tourist sentiment and emotional contagion from online textual reviews. Compared with traditional tourism demand determinants, sentiment analysis has three advantages. Firstly, it can capture tourist preference by extracting tourist sentiment. Secondly, it is capable of predicting tourist behaviour because sentiment in the review serves as an emotional contagion that delivers a positive or negative signal from previous tourists to prospective tourists (Pugh, 2001; Subramony and Pugh, 2015). Finally, it quantifies the unstructured big data using text mining techniques.
Sentiment analysis has been applied in various fields such as product sales forecasting (Fan et al., 2017; Yu et al., 2010; Zhang et al., 2020) and finance forecasting (Audrino et al., 2020; Nti et al., 2020). However, the use of sentiment analysis has not elicited considerable attention from tourism and hotel demand forecasting literature, with Önder et al. (2019b) and Colladon et al. (2019) as two exceptions. In Önder et al. (2019b), texts from online news media coverage were rated as either positive or negative via automated semantic routines. They made an initial attempt to use web sentiment of news media coverage to predict tourist arrivals of four European cities, demonstrating a superior forecast accuracy by incorporating web sentiment data into forecast models. Colladon et al. (2019) used review text from travel forums of TripAdvisor to make tourism demand predictions. The machine learning algorithm included in the software Condor was used to classify the sentiment polarity of community posts and calculate the sentiment value. The results have shown that sentiment-based text data can be used as an important explanatory variable in a tourism demand model to improve forecast accuracy. Önder et al. (2019b) and Colladon et al. (2019) demonstrate that online sentiment-based text data can be regarded as an effective data source and possess a great potential to improve tourism demand forecasts. With the rapid and diverse development of information technology, taking advantage of big data analysis and gaining useful insight from various user-generated content data is essential (Li et al., 2018a). However, no study has considered the use of sentiment analysis for hotel demand forecasting. The present study attempts to explore the predictive ability of the sentiment feature extracted from customer reviews for hotel demand forecasting.
Techniques of sentiment analysis have been further developed and improved. With developments in computer science, some deep learning models, such as the Long Short-Term Memory model (LSTM), have been used for sentiment polarity judgement, achieving promising results (Priyadarshini and Cotton, 2021; Sun et al., 2017). Compared with sentiment analysis techniques used in Önder et al. (2019b) and Colladon et al. (2019), LSTM has the advantages in handling sequences of any length and learning the temporal dependence from the data through the cell state (Hochreiter and Schmidhuber, 1997), which is well suited for processing sequential data. Thus, this study is designed to use LSTM for sentiment analysis.
Sentiment analysis has been used in the tourism context, but existing studies only extract the overall sentiment polarity of customer reviews. Further sentiment information such as diversity has not been considered. Therefore, this study constructs three sentiment indices to capture different aspects of the review sentiment, namely, the bullish sentiment index (BSI), the average sentiment index (ASI) and the variance sentiment index (VSI). The BSI borrows the idea from the stock market, which can be used to reflect the sentiment orientation of tourists on a particular day. The ASI and VSI are measured to evaluate the central tendency and dispersion of daily sentiment conveyed by tourists. The objective of the present study is threefold. Firstly, this study explores the potential of the sentiment feature extracted from customer review text in improving the accuracy of hotel demand forecasts. Secondly, this study examines the effectiveness of the LSTM algorithm as a tool for sentiment index construction. Lastly, three sentiment indices, namely, BSI, ASI and VSI, are constructed and examined for their performances in hotel demand forecasting.
Literature review
Hotel and tourism demand forecasting with big data
Accurate demand forecasts have recently received increasing attention from academic and industry practitioners in hotel and tourism demand forecasting (Li and Wu, 2019). Many empirical studies examine forecasting accuracy using more advanced forecasting techniques, such as combination forecasting (Li et al., 2019a), multivariate forecasting (Chen et al., 2019a) and pattern recognition forecasting (Hu et al., 2021). Moreover, AI-based techniques are also attracting increasing attention from the field of tourism demand forecasting since 2000 (Song et al., 2019). In recent years, tourism industry practitioners have focused more on quantitative evidence and used it as a reference for strategy and policy formulations (Li and Wu, 2019). With improved understanding and increasing availability of online big data, many researchers have attempted to forecast demand for hotels and tourism using online data. Four types of internet big data have been applied in hotel and tourism demand forecast literature, namely, web search and website traffic data, social media statistics, online textual data and online photo data. The most prevailing data type used in tourism demand forecasting is web search data, which reflects tourists’ preference and their decision-making progress by focussing on the records of web searching behaviour (Dergiades et al., 2018; Ghose et al., 2014). Pan et al. (2012) explore the usefulness of search query volume in hotel demand forecasting using five tourist-related Google search queries in the context of 110 hotels in Charleston, South Carolina. Bangwayo-Skeete and Skeete (2015) integrate a mixed-data sampling approach into the tourism demand modelling process to incorporate weekly Google search queries of ‘hotel and flights’ with monthly tourist arrivals to the Caribbean countries. Rivera (2016) uses a dynamic linear model to forecast tourism demand in Puerto Rico with the integration of Google Trends data and hotel registrations. Hu and Song (2020) further combine Google search data with traditional economic variables, such as tourist income, exchange rate and prices, to predict the volume for tourist arrivals from Hong Kong to Macau. Their findings suggest further enhancement on the effectiveness of big data in combination with causal variables in tourism demand forecasting practice.
Social media statistics are also frequently used in recent forecasting literature. Gunter et al. (2019) innovate by using the number of ‘Likes’ on Facebook posts for tourism demand forecasting. The study has shown that Likes data, as one important category of Facebook statistics, can enhance forecast accuracy. In a similar study on Austrian cities, Önder et al. (2019a) further confirm the predictive power of the Likes data on tourism demand. Some studies have sought to forecast hotel and tourism demand with online review data, but these attempts are mainly restricted to the use of numerical variables. Li et al. (2020) incorporate Baidu search engine data with online review data (volume and average rating) from Ctrip and Qunar to forecast weekly tourist arrivals to Mount Siguniang, finding an improved forecasting performance with data from multiple platforms. Khatibi et al. (2020) generate predictions for the counts of visitation to national parks in the United States and museums in the United Kingdom, with the application of review counts crawled from TripAdvisor. The findings suggest that the prediction based on the combination of review counts and environmental features outperforms other counterparts. Concerning the cancellation forecasting of hotel reservations, Antonio et al. (2019) adopt the award-winning ensemble tree-based machine learning algorithm, namely, the XGBoost model, to make hotel cancellation predictions using the volumes and ratings of online review data from multiple sources such as Booking.com and TripAdvisor. In addition to the counts of Likes and reviews, the metadata of online photos have been used in forecasting practices in hospitality research (Chen et al., 2019c; Colladon et al., 2019).
Despite the frequent appearance of online review counts and ratings in tourism demand forecast literature, only a few studies have investigated the usefulness of internal information of the review text in hotel and tourism demand analysis. Önder et al. (2019b) extract the sentiment information of online news media coverage via automated semantic routines to predict tourist arrivals to four European cities. The results indicate that the inclusion of sentiment-based textual data further improves the accuracy of tourism demand forecasts. Starosta et al. (2019) use a single-output neural network to extract the sentiment of news coverage in the German-speaking media and construct sentiment index as a proxy variable to supplement tourism demand information, revealing a significant correlation between the sentiment information of news coverage and tourism demand. More recently, studies that explore the predictive power of review textual data from travel social media are emerging. Colladon et al. (2019) use travel forum data that contains review text to predict international arrivals to seven European capital cities. They applied methods and tools of social network and semantic analysis to investigate user-generated content data retrieved from TripAdvisor. By considering three dimensions of online social interactions (Gloor et al., 2017), namely, degree of interactivity, degree of connectivity and language use, and using methods of social network and semantic analysis, Colladon et al. (2019) investigate the performance of user-generated contents in tourism demand forecasting process. Sentiment-based textual data from travel social media are further confirmed to have great potential to make predictions and can be regarded as an important indicator for the understanding of hotel and tourism demand.
Online textual reviews analysis in hotels
Comparing with review ratings and review statistics, online textual reviews of hotels include richer information, which reflects customer perceptions and experience (Xu and Li, 2016). Online textual reviews can serve as a feedback mechanism to help hoteliers anticipate the demands of guests and, therefore, increase the competitiveness of the hotel. Some studies have focused on the text content of the reviews to find the salient attributes on guests’ perceptions of their hotel stay experience (Berezina et al., 2016; Zhao et al., 2019). Specifically, text analysis methods, including latent semantic analysis (Xu and Li, 2016) and content analysis (Zhang and Mao, 2012), are used to explore and examine the effectiveness of these attributes. Empirical results of these studies show that textual review mining can effectively help practitioners to understand and anticipate the needs and preferences of guests, thereby providing significant business value in the big data era (Berezina et al., 2016; Zhao et al., 2019). Apart from identifying the attributes of online textual reviews of hotels, some studies also explore the potential of textual reviews on hotel room sales forecasting (Blal and Sturman, 2014), language style (Wu et al., 2017b), review helpfulness (Ma et al., 2018) and the relationship between textual reviews and online rating (Geetha et al., 2017; Li et al., 2019b). Among others, the identification of reviewers’ sentiment forms the basis of text analysis in most research. In particular, Geetha et al. (2017) investigate the relationship between online customer reviews and customer rating by analysing the sentiment polarity of reviews. Gao et al. (2018) consider online reviews as opinion-rich resources and propose a novel sentiment analysis model to extract comparative relations from online reviews and to construct competitiveness analysis that helps restaurants to identify top competitors and develop improvement strategies accordingly. Zhang et al. (2016) examine a sentimental interplay between reviews and ratings and reveal that satisfied or neutral customers are more inclined to show emotional signals. Accordingly, sentiment information contained in customer reviews can be regarded as a meaningful information resource to identify latent needs and behavioural preferences of tourists.
Given that online textual reviews are opinion-rich resources that can effectively reflect customer needs, investigating reviews as complementary information to demand time series in the analysis of hotel demand is logical. Several social media websites, such as Ctrip and TripAdvisor, have established online review systems to encourage tourists to upload their reviews, which could affect the behaviours of other tourists by influencing their decision-making progress. However, only a few studies have conducted hotel demand forecasting by mining the sentiment value of textual reviews. The present study aims to extend the current hotel demand forecasting literature by extracting sentiment variables from hotel review texts and integrating these extracted variables into hotel demand forecasting models.
Sentiment analysis used in forecasting
Sentiment analysis is an artificial intelligence technology to evaluate text emotion objectively (Lohr, 2012). The analysis mainly focuses on lexicon construction, feature extraction, polarity determination and semantic computing. Sentiment polarity determination is one of the fundamental tasks of sentiment analysis, which is widely used to obtain the emotional information that the reviewers express and analyse their emotional states. Many methods are available to conduct sentiment polarity classification, including lexicon-based, keyword-based and machine learning methods (Cambria et al., 2016; Giachanou and Crestani, 2016). To date, sentiment indicator extraction with sentiment polarity classification is among one of the most common methods in forecasting. Thus, indicators are mainly used in product sales forecasting (Fan et al., 2017; Lau et al., 2018), unemployment forecasting (Rambaccussing and Kwiatkowski, 2020) and stock market fluctuation forecasting (Bollen et al., 2011; Nti et al., 2020; Yu et al., 2013). Fan et al. (2017) propose a novel model that combines the Bass model and Naïve Bayesian (NB) sentiment analysis and incorporates historical sales data and online reviews in the process of sales forecasting. Their results demonstrate that the combination method improves the forecasting performance in comparison with the benchmark sales forecasting models. Rambaccussing and Kwiatkowski (2020) focus on the UK economic policies reported in newspapers and propose linear support vector machine as the technique of sentiment analysis in their forecast of unemployment. Considerable improvements in prediction are found when using popular printed media-based indices.
Although sentiment information of social media textual data has been widely used in the field of sales and financial forecasting, its applications in hotel and tourism forecasting literature remain rare. Nevertheless, Önder et al. (2019b) and Colladon et al. (2019) have attempted to use web sentiment indicators for tourism demand forecasting, noting that sentiment variables can properly complement the existing explanatory variables. With developments in computer science, sentiment analysis techniques have also been further developed and improved. Some deep learning models, such as Convolutional neural network (CNN), recurrent neural network (RNN) and Long Short-Term Memory model (LSTM), have been used for sentiment polarity judgement (Priyadarshini and Cotton, 2021; Sun et al., 2017).
Among these deep learning techniques, LSTM has the advantage of handling sequences of any length and learning the temporal dependence from the data through the cell state (Hochreiter and Schmidhuber, 1997). Moreover, LSTM is designed for better memory storage to avoid the problem of gradient exploding or vanishing compared with standard RNN. In addition to these general benefits, LSTM can also learn the lead or lag order that varied with circumstances, making it well suited for processing sequence data (Bi et al., 2020; Sutskever et al., 2014). Owing to these advantages, this model has been used for tourism forecasting (Bi et al., 2020; Law et al., 2019) and sentiment extraction (Abdi et al., 2019; Liu and Guo 2019). Therefore, this study aims to adopt this promising technique to construct sentiment indices from hotel online reviews and then include these innovative variables into the autoregressive integrated moving average with exogenous variables (ARIMAX) model to examine its hotel forecasting ability.
Methodology
A forecasting framework with sentiment-based review data is proposed and illustrated in Figure 1. The first stage is the sentiment analysis and index construction by training the LSTM model, whereas the second stage uses the constructed sentiment indices in autoregressive integrated moving average with an exogenous variables model (ARIMAX) for hotel demand forecasting. The LSTM and NB models are used for sentiment polarity determination of hotel reviews, which are crawled from Ctrip and Qunar. In this step, positive or negative sentiment value is identified for each review. Sentiment information is extracted by the means of average, variance and bullish sentiment statistics matching with counts of online reviews every day. Three composite indices, namely, ASI, VSI and BSI, are then calculated according to sentiment values of the reviews. These three indices capture different aspects of the review sentiment. ASI evaluates the average sentiment conveyed by tourists and VSI measures the dispersion of sentiments. BSI is used to reflect the sentiment orientation of tourists who stay in a hotel on a particular day. Finally, the effectiveness of constructed indices is tested in an ARIMAX model by comparing its hotel demand forecast performance with benchmark models. In the present study, the forecasting performance is measured by the mean absolute percentage error (MAPE) and the root mean square error (RMSE). Research framework.
Data collection and preprocessing
Ctrip.com and Qunar.com are the two prevailing online travel social media platforms in China. They are selected as the review data sources in the present study not only for their abundant data volume but also for the dominant market shares they have occupied in China. Ctrip and Qunar have long-established online review systems to encourage tourists to upload reviews for hotel stays, and both travel social media platforms restrict review posting to only the actual guests of the host hotel. The review data in the present study are acquired using an author-generated python crawling system, which accesses the API of the two social media and crawls the content from the hotel webpage. The crawled review dataset includes hotel name, textual review, review rating, posting date and travel type.
Macau is chosen to be the empirical context of the present study in testing the construction of sentiment indices. Specifically, online reviews of four Macau luxury hotels on Ctrip and Qunar, namely, Hotel Lisboa (LM), Venetian Macau (VM), Sheraton Macau (SM) and Parisian Macau (PM), are used to construct the sentiment indices. The demand for these four hotels by mainland Chinese travellers is further used in a forecasting practice to test the effectiveness of constructed indices. Macau is chosen for its attractiveness in short-haul travels from surrounding regions (Fong, 2017). Short-haul tourists are easier to be influenced by online information to make timely decisions, in comparison with medium- and long-haul tourists (Hu and Song, 2020). Furthermore, after exploring data from some other hotels in Macau, the review data of the chosen four luxury hotels reveals higher quality (in terms of missing values and outliers), which is valuable for the empirical analysis in the present study. The review volumes each day are used as the proxy of daily hotel demand by mainland Chinese visitors, given that the two social media platforms restrict review posting by only actual hotel guests (Chen et al., 2019b).
The review data retrieved from Qunar are available after October 2016, whereas the review data from Ctrip are only available after November 2017. The time span of the data is further stringed to after March 2018 due to a large number of missing values and outliers before that date. To avoid potential errors that could be caused by the Hong Kong social unrest in the second half of 2019, we only use the reviews data of four Macau luxury hotels between 1 March 2018 and 31 March 2019. After preliminary data cleaning, our sample contains 12,118 reviews for SM, 15,560 reviews for VM, 9317 reviews for PM and 12,533 reviews for LM. The reviews used in this study use simplified Chinese characters.
Further data preprocessing is carried out to eliminate the symbol marks and stopwords. Moreover, word segmentation and tokenisation are used to prepare the phrases for sentiment analysis using the LSTM. To calculate the sentiment indices from hotel reviews, a labelled hotel review sentiment corpus is prepared for AI-based model training. The prepared corpus includes 4000 positive or negative labelled reviews from the annotated corpus of Chinese hotel reviews (Tan, 2020).
Sentiment analysis and index construction
In the present study, the LSTM model (Abdi et al., 2019) and the NB model (Yu et al., 2013) are used for sentiment analysis. The sentiment of reviews is categorised as either positive or negative. In the NB model, each sentence is represented using the bag-of-words approach, where each word is weighted using term-frequency and inverse document frequency. The multinomial NB function is then used to analyse the sentiment of labelled hotel reviews. However, due to the difficulty of the NB model in capturing information from sequential data and the neglect of the syntactic structure, distinguish the meaning of different sentences by itself is not feasible for the NB model. On this note, the LSTM network is proposed to deal with sequential data of the reviews for sentiment analysis by using memory cells that preserve memory states over long periods. The LSTM model has the advantage of identifying the syntactic structure and learning long-term dependencies among the input sequences on the basis of the means of the Word2vec approach (Li et al., 2018b). The LSTM memory cell contains three main gates to regulate and store sentiment information: input gate, output gate and forgetting gate, all of which jointly determine the information stored in a given cell.
The Chinese word embedding corpus of Zhihu trained by the Skip-Gram model of the Word2vec approach (Li et al., 2018b) is used to conduct word embedding representation for labelled hotel sentiment reviews and hotel reviews of the four chosen Macau luxury hotels. The LSTM model is trained to analyse the word vector to obtain the sentiment value. This section with the LSTM model focuses on sentiment value assignment, and the forecasting ability will be examined in the next section.
The annotated hotel reviews after vectorisation are divided into a training set (80%) and a test set (20%) for each hotel. The LSTM model is trained with the feature word vector from the training set. In particular, an Adam optimiser with loss function binary cross-entropy is adopted as the optimiser, the activation ‘sigmoid’ is used to classify the sentiment of reviews data into two categories, and the threshold of sentiment value is set to 0.5 to distinguish positive and negative sentiments (scores greater than 0.5 are perceived as positive and scores lower than 0.5 are set as negative).
Then, in the test dataset, four standard measures, namely, Accuracy, Precision, Recall and F1-score, are used to evaluate the classification performance of LSTM and NB (Schütze et al., 2008). Accuracy (Acc) refers to a ratio of correctly predicted reviews to the total number of reviews, which is the most intuitive measure. Precision (Prec) refers to the percentage of correctly predicted positive (negative) reviews in the total number of predicted positive (negative) reviews. Recall (Rec) refers to the percentage of correctly predicted positive (negative) reviews in the total number of actual positive (negative) reviews. F1-score (F1) is a composite score calculated by the corresponding Precision and Recall. The following equations illustrate the computation of these four standard measures:
The outcomes of sentiment analysis of the NB and LSTM models are compared according to the four standard measures, and the better model is used in hotel demand forecasting. Three indices are constructed based on the sentiment analysis results. The BSI borrows the idea from the stock market, where the share of buy signals reflects the sentiment expressed by the traders (Antweiler and Frank, 2004; Li et al., 2018b). In the present study, BSI is used to reflect the sentiment orientation of tourists who stay in a hotel on a particular day. The BSI of online reviews in Macau luxury hotel h on date i is calculated as
The ASI and VSI are measured to evaluate central and dispersion of the sentiment in the reviews, as shown below
Forecasting models and performance measures
The ARIMAX model is frequently used in hotel and tourism forecasting (Li et al., 2017; Pan et al., 2012; Volchek et al., 2019; Yang et al., 2015) with superior forecasting performance. The present study uses the ARIMAX model to verify the predictive power of sentiment indices extracted from hotel reviews. Six dummy variables (representing Monday through Saturday, with Sunday omitted to avoid multicollinearity) are included to capture the weekly seasonality in the data.
A univariate ARIMA model and a Naïve model are also estimated as benchmark models. The forecasts are only based on hotel review series from March 2018 to March 2019. The analyses are carried out using software R.
Two measures of forecasting accuracy are adopted to evaluate the forecasting performance of the proposed models: the MAPE and RMSE. These measures are the two most widely used measurements to assess forecasting accuracy by examining the difference between forecasts and real demand (Song and Li, 2008; Song et al., 2019; Wu et al., 2017a).
They are calculated as follows
Empirical results
In the present study, daily review counts are used as the proxy of hotel demand for the empirical test of sentiment indices. We adopt review counts to measure hotel demand due to two reasons. Firstly, in our chosen platforms, only tourists with real experience in the hotel can post their reviews. Thus, the review counts can reflect the trend and fluctuation of the hotel guest booking. Secondly, according to Chen et al. (2019b), review counts have been used as the proxy of demand and it is highly related to real booking. Therefore, this study uses daily review counts as the proxy because real booking data are not accessible.
We use the daily reviews data series of four Macau luxury hotels (Hotel Lisboa, VM, SM and PM), covering the period from 1 March 2018 to 31 March 2019. The entire time series is further divided into a training set of 365 observations from 1 March 2018 to 28 February 2019 and a testing set of 31 observations from 1 March 2019 to 31 March 2019. Rolling forecasts are generated by the proposed model to evaluate the forecasting performance. The hotel demands of four luxury hotels are plotted in Figure 2. Daily hotel demand from March 2018 to March 2019.
Sentiment analysis
The comparisons between LSTM and NB for the sentiment classification.

Daily bullish sentiment index from March 2018 to March 2019.

Daily average sentiment index from March 2018 to March 2019.

Daily variance sentiment index from March 2018 to March 2019.
Hotel demand forecasting
The constructed sentiment indices are tested in a hotel demand forecast model for their effectiveness as hotel demand indicators. The ARIMAX model is used to verify the predictive power of sentiment indices. An ARIMAX model (Box and Jenkins, 1970; Pankratz, 2009) takes the form of
Estimation results of ARIMAX models.
Notes: ***, ** and *significance at the 0.01, 0.05 and 0.10 levels, respectively. Standard errors are presented in parentheses.
Forecasting accuracy.
Note: ARIMAX: autoregressive integrated moving average with exogenous variables; MAPE: mean absolute percentage error; RMSE: root mean square error. The bold and italic numbers represent the best performance compared to the other models.
In general, the incorporation of sentiment indices improves the accuracy of short-term forecasts of 1–7-day-ahead forecasts. In particular, as for SM, the inclusion of sentiment indices improves the forecasting accuracy for all forecasts from one to 7 days ahead, demonstrating the predictive potential of sentiment-based review data. The forecast results of the other three hotels are not decisive. In the case of PM, the ARIMAX model incorporating sentiment indices outperforms the benchmarks for forecast horizons 2, 3, 5 and 6 according to MAPE, whereas the ARIMA model performs better for 1-day-ahead, 4-day-ahead and 7-day-ahead forecasts. For LM, the ARIMAX model with sentiment indices produces the lowest MAPE values for forecast horizons 1, 2, 4, 5, 6 and 7, but not for the 3-day-ahead forecast. For VM, the ARIMAX model with sentiment indices provides better forecast accuracy for forecast horizons 1, 2, 3, 4 and 6 according to RMSE and the best forecast performance except for h = 2, 5 and 7 according to MAPE. For all four hotels, the average MAPEs of the ARIMAX model with sentiment indices are the lowest. Sentiment information contained in textual reviews has considerable predictive potential to deliver accurate hotel demand forecasts. The present results extend the previous studies on tourism demand forecasting with big data, especially for review data.
Conclusion and future research directions
Conclusion
With the rapid and diverse development of the internet and smartphones, review platforms such as Ctrip and Qunar have become important platforms for users to express their feelings and search for information. A large volume of data is generated every day, potentially indicating the interests and preferences of users and enhance demand analysis research (Volchek et al., 2019). On the basis of an empirical investigation of four Macau luxury hotels, this study aims to investigate the predictive ability of online textual reviews on hotel demand. The LSTM is found to produce better review sentiment values in the sentiment analysis, and three construct sentiment indices are all proved to be effective in improving the forecast accuracy in the analysis of hotel demands. Three sentiment indices are proposed in the present study, namely, BSI, VSI and ASI. The empirical results reveal that, compared with the benchmark model without sentiment indices, hotel demand forecasting incorporating sentiment indices could improve the forecasting performance in most contexts. Nonetheless, the optimal lags of sentiment indices to be included in the forecasting practice are different across hotels, reflecting a heterogeneous choice behaviour of consumers in selecting different hotels.
This study contributes to the hospitality forecasting study from three perspectives. Firstly, the present study is among the first to use customer textual reviews for hotel demand forecasting by the mean of extracting information through deep learning sentiment analysis. While using online review data for predictions, the majority of previous studies focus merely on the numerical aspect, such as reviews volume or reviews rating (Antonio et al., 2019; Li, et al., 2020). Önder et al. (2019b) and Colladon et al. (2019) represent two exceptions that adopted textual information in their model of hotel and tourism demand. Secondly, compared with previous studies that only extracted the overall sentiment polarity of textual big data for demand analysis (Colladon et al., 2019; Önder et al., 2019), the present study quantifies sentiment information of customer reviews at different levels of measurement and constructs three sentiment indices (the BSI, VSI and ASI) for hotel demand analysis, shedding light on future hotel and tourism demand forecasting research. Thirdly, the present study represents one of the initial attempts of using LSTM to extract sentiment information from hotel reviews in the field of hotel and tourism demand forecast, following some advancements in sentiment analysis literature (Sun et al., 2017).
The findings of this study provide hotel managers managerial implications. Firstly, sentiment information contained in customer reviews can be regarded as a valuable information resource to identify the latent needs of customers (Geetha et al., 2017; Zhang et al., 2016). Constant monitoring of the sentiment indices proposed in the present study could help the managers to understand the attitudinal dynamics of the guests on hotel performance. Thus, information is crucial to the evaluation of performance, the assurance of service quality and the enhancement of the competitiveness of the hotel. Secondly, online customer reviews data are timely to reflect tourist behaviours or behaviour intentions. Thus they benefit to produce accurate demand forecasts especially under the COVID-19 outbreak.
Limitations and future research directions
A few limitations emerge from the findings of the present study. Firstly, bias may exist when the number of hotel reviews is used as the proxy of hotel demand. Further studies are encouraged to use actual hotel demand data whenever data availability allows. Secondly, the present study has a particular focus on short-haul travel from mainland China to Macau. Further investigations could explore the forecasting performance of sentiment information in other contexts, such as long-haul hotel demand forecasting. Moreover, the outbreak of the COVID-19 pandemic has caused a severe impact on the global tourism industry. The present study used pre-COVID-19 data to investigate the use of sentiment analysis in hotel demand forecast during a normal period. Future studies could consider the use of travel reviews for advanced hotel demand forecasting such as scenario forecasting and probabilistic forecasting (Qiu et al., 2021; Wu et al., 2021) in the context of COVID-19 to examine the predictive ability of sentiment analysis under crisis.
As one of the pioneering studies to use textual reviews and sentiment analysis in hotel and tourism demand forecasting literature, the present study also reveals some promising directions for future studies. In addition to sentiment information, textual reviews contain a wide variety of information that can be useful in hotel demand forecasting. The themes extracted from guest reviews could be used to infer the different needs of reviewers and therefore provide the hotel with directions for improvement. Therefore, a fine-grained sentiment analysis, such as joint sentiment-topic analysis (Li et al., 2019b), could be conducted to identify and extract multidimensional demand information, serving the purpose of precise marketing and enhancing the competitiveness of the hotel. Furthermore, economic determinants of demand are frequently used in hotel demand forecasting methods (Hu and Song, 2020). The predictive ability of the combination of these economic determinants and online customer reviews also needs further exploration.
Footnotes
Declaration of conflicting interests
The author(s) declared no potential conflicts of interest with respect to the research, authorship, and/or publication of this article.
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: This work was supported by National Natural Science Foundation of China (No. 72071218 and 71573289), Guangdong Basic and Applied Basic Research Foundation (2020B1515020031), and Start-up Research Grant of University of Macau (SRG2019-00182-FBA).
