Table 1 Online comment analysis method of tourist attractions.

From: Online comments of tourist attractions combining artificial intelligence text mining model and attention mechanism

Research stage

Technology/method

Detailed description

Data collection

Scrapy reptile

Use Python’s Scrapy framework to capture online comment data from the target website

Data preprocessing

NLTK library and jieba word segmentation

Remove HTML tags, duplicate, text cleaning, word segmentation and part-of-speech tagging

Text sentiment analysis

BERT model

Use BERT model to classify emotions and predict the emotional tendency of comments

Topic extraction

LDA theme model

Use LDA model to extract key topics and keywords from comments

Emotional evolution analysis

Time series analysis

Analyze the changing trend of emotional tendency with time

Tourist recommendations

Collaborative filtering recommendation

Recommend tourist attractions based on user behavior similarity

Content recommendation

Match recommendation based on the characteristics of tourist attractions and user preferences

Mixed recommendation

Combine the advantages of collaborative filtering and content recommendation to provide comprehensive recommendation