Cargando…
Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model
Sentiment analysis of netizens’ comments can accurately grasp the psychology of netizens and reduce the risks brought by online public opinion. However, there is currently no effective method to solve the problems of short text, open word range, and sometimes reversed word order in comments. To bett...
Autores principales: | , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9202631/ https://www.ncbi.nlm.nih.gov/pubmed/35721405 http://dx.doi.org/10.7717/peerj-cs.1005 |
_version_ | 1784728571648933888 |
---|---|
author | Jiang, Xuchu Song, Chao Xu, Yucheng Li, Ying Peng, Yili |
author_facet | Jiang, Xuchu Song, Chao Xu, Yucheng Li, Ying Peng, Yili |
author_sort | Jiang, Xuchu |
collection | PubMed |
description | Sentiment analysis of netizens’ comments can accurately grasp the psychology of netizens and reduce the risks brought by online public opinion. However, there is currently no effective method to solve the problems of short text, open word range, and sometimes reversed word order in comments. To better solve the above problems, this article proposes a hybrid model of sentiment classification, which is based on bidirectional encoder representations from transformers (BERT), bidirectional long short-term memory (BiLSTM) and a text convolution neural network (TextCNN) (BERT-BiLSTM-TextCNN). The experimental results show that (1) the hybrid model proposed in this article can better combine the advantages of BiLSTM and TextCNN; it not only captures local correlation while retaining context information but also has high accuracy and stability. (2) The BERT-BiLSTM-TextCNN model can extract important emotional information more flexibly in text and achieve multiclass classification tasks of emotions more accurately. The innovations of this study are as follows: (1) the use of BERT to generate word vectors has the advantages of more prior information and a full combination of contextual semantics; (2) the BiLSTM model, as a bidirectional context mechanism model, can obtain contextual information well; and (3) the TextCNN model can obtain important features well in the problem of text classification, and the combined effect of the three modules can significantly improve the accuracy of emotional multilabel classification. |
format | Online Article Text |
id | pubmed-9202631 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-92026312022-06-17 Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model Jiang, Xuchu Song, Chao Xu, Yucheng Li, Ying Peng, Yili PeerJ Comput Sci Artificial Intelligence Sentiment analysis of netizens’ comments can accurately grasp the psychology of netizens and reduce the risks brought by online public opinion. However, there is currently no effective method to solve the problems of short text, open word range, and sometimes reversed word order in comments. To better solve the above problems, this article proposes a hybrid model of sentiment classification, which is based on bidirectional encoder representations from transformers (BERT), bidirectional long short-term memory (BiLSTM) and a text convolution neural network (TextCNN) (BERT-BiLSTM-TextCNN). The experimental results show that (1) the hybrid model proposed in this article can better combine the advantages of BiLSTM and TextCNN; it not only captures local correlation while retaining context information but also has high accuracy and stability. (2) The BERT-BiLSTM-TextCNN model can extract important emotional information more flexibly in text and achieve multiclass classification tasks of emotions more accurately. The innovations of this study are as follows: (1) the use of BERT to generate word vectors has the advantages of more prior information and a full combination of contextual semantics; (2) the BiLSTM model, as a bidirectional context mechanism model, can obtain contextual information well; and (3) the TextCNN model can obtain important features well in the problem of text classification, and the combined effect of the three modules can significantly improve the accuracy of emotional multilabel classification. PeerJ Inc. 2022-06-08 /pmc/articles/PMC9202631/ /pubmed/35721405 http://dx.doi.org/10.7717/peerj-cs.1005 Text en © 2022 Jiang 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, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Artificial Intelligence Jiang, Xuchu Song, Chao Xu, Yucheng Li, Ying Peng, Yili Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title | Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title_full | Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title_fullStr | Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title_full_unstemmed | Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title_short | Research on sentiment classification for netizens based on the BERT-BiLSTM-TextCNN model |
title_sort | research on sentiment classification for netizens based on the bert-bilstm-textcnn model |
topic | Artificial Intelligence |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9202631/ https://www.ncbi.nlm.nih.gov/pubmed/35721405 http://dx.doi.org/10.7717/peerj-cs.1005 |
work_keys_str_mv | AT jiangxuchu researchonsentimentclassificationfornetizensbasedonthebertbilstmtextcnnmodel AT songchao researchonsentimentclassificationfornetizensbasedonthebertbilstmtextcnnmodel AT xuyucheng researchonsentimentclassificationfornetizensbasedonthebertbilstmtextcnnmodel AT liying researchonsentimentclassificationfornetizensbasedonthebertbilstmtextcnnmodel AT pengyili researchonsentimentclassificationfornetizensbasedonthebertbilstmtextcnnmodel |