Back to Search Start Over

Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China.

Authors :
Wen, Yu
Liang, Yezhang
Zhu, Xinhua
Source :
PLoS ONE. 3/10/2023, Vol. 17 Issue 3, p1-14. 14p.
Publication Year :
2023

Abstract

The emotion analysis of hotel online reviews is discussed by using the neural network model BERT, which proves that this method can not only help hotel network platforms fully understand customer needs but also help customers find suitable hotels according to their needs and affordability and help hotel recommendations be more intelligent. Therefore, using the pretraining BERT model, a number of emotion analytical experiments were carried out through fine-tuning, and a model with high classification accuracy was obtained by frequently adjusting the parameters during the experiment. The BERT layer was taken as a word vector layer, and the input text sequence was used as the input to the BERT layer for vector transformation. The output vectors of BERT passed through the corresponding neural network and were then classified by the softmax activation function. ERNIE is an enhancement of the BERT layer. Both models can lead to good classification results, but the latter performs better. ERNIE exhibits stronger classification and stability than BERT, which provides a promising research direction for the field of tourism and hotels. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
19326203
Volume :
17
Issue :
3
Database :
Academic Search Index
Journal :
PLoS ONE
Publication Type :
Academic Journal
Accession number :
162353091
Full Text :
https://doi.org/10.1371/journal.pone.0275382