Cargando…
Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China
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 h...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10004568/ https://www.ncbi.nlm.nih.gov/pubmed/36897917 http://dx.doi.org/10.1371/journal.pone.0275382 |
_version_ | 1784904865716109312 |
---|---|
author | Wen, Yu Liang, Yezhang Zhu, Xinhua |
author_facet | Wen, Yu Liang, Yezhang Zhu, Xinhua |
author_sort | Wen, Yu |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-10004568 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-100045682023-03-11 Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China Wen, Yu Liang, Yezhang Zhu, Xinhua PLoS One Research Article 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. Public Library of Science 2023-03-10 /pmc/articles/PMC10004568/ /pubmed/36897917 http://dx.doi.org/10.1371/journal.pone.0275382 Text en © 2023 Wen et al https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited. |
spellingShingle | Research Article Wen, Yu Liang, Yezhang Zhu, Xinhua Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title | Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title_full | Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title_fullStr | Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title_full_unstemmed | Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title_short | Sentiment analysis of hotel online reviews using the BERT model and ERNIE model—Data from China |
title_sort | sentiment analysis of hotel online reviews using the bert model and ernie model—data from china |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10004568/ https://www.ncbi.nlm.nih.gov/pubmed/36897917 http://dx.doi.org/10.1371/journal.pone.0275382 |
work_keys_str_mv | AT wenyu sentimentanalysisofhotelonlinereviewsusingthebertmodelanderniemodeldatafromchina AT liangyezhang sentimentanalysisofhotelonlinereviewsusingthebertmodelanderniemodeldatafromchina AT zhuxinhua sentimentanalysisofhotelonlinereviewsusingthebertmodelanderniemodeldatafromchina |