The distribution and sentiment characteristics of tourists directly reflect the state of tourism development, and are an important reference for tourists to choose scenic areas. Sensing the tourist distributions and their sentiment variations can provide decision support for the development planning of scenic areas. In this study, we crawled tourist social media data to explore tourist distribution characteristics and the patterns of tourist sentiment variations. First, we used web crawlers to obtain social media data (tourist comment data) and the location data of China’s 5A scenic areas from the Ctrip tourism platform. Second, SnowNLP (Simplified Chinese Text Processing) was optimized and used to classify the sentiment of tourists’ comments and calculate the sentiment value. Finally, we mined the distribution characteristics of tourists in 5A scenic areas and the spatio-temporal variations in tourists’ sentiments. The results show that: (1) There is a negative correlation between the number of tourists to China’s 5A scenic areas and tourist sentiment: the number of tourists is highest in October and lowest in March, while tourist sentiment is highest in March and lowest in October. (2) The spatio-temporal distribution of tourists has obvious aggregation: temporally mainly in July, August and October, spatially mainly in the Yangtze River Delta city cluster, Beijing-Tianjin-Hebei city cluster, and Guanzhong Plain city cluster. (3) Tourist sentiment cold/hot spots vary significantly by city clusters: the Yangtze River Delta city cluster is always a sentiment hot spot; the northern city cluster has more sentiment cold spots; the central city cluster varies significantly during the year; the southwestern city cluster has more sentiment hot spots.
Mining hotel social sensing data and analyzing its spatial and temporal characteristics can provide decision support for hotel managers. Present research on this topic is limited to the overall hotel industry and text mining. Here, we first obtain POI and reviews for star-rated hotels in Nanchang from 2018 to 2021. Secondly, the hotel POI (Point of Interest) is combined with the sentiment value of customer reviews. Finally, comparative analysis and topic mining of Spatio-temporal aspects of text reviews of different star-rated hotels are conducted using sentiment analysis, spatial analysis, and thematic social network analysis. Results show that: (1) Hotel star rating and hotel review sentiment value are significantly positively correlated. The seasonal trends of different star rating hotel sentiment values are similar, but are highest in summer and lower in autumn; (2) The highest sentiment value is seen for friends’ outings and the lowest is for business trips; (3) Customer reviews of star-rated hotels focus on three aspects: facilities, service, and location. Three-star hotels focus on the stay experience, while four-star hotels focus on the breakfast situation. Exploring hotel social sensing data can intuitively illustrate hotel selection’s behavioral patterns and spatial-temporal characteristics. The methods of this study can expand the application of social sensing data in different fields, such as the tourism and restaurant industries.