Cargando…
An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis
Text representation of social media is an important task for users' sentiment analysis. Utilizing the better representation, we can accurately acquire the real semantic information expressed by online users. However, existing works cannot achieve the best results. In this paper, we construct an...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Hindawi
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9098270/ https://www.ncbi.nlm.nih.gov/pubmed/35571684 http://dx.doi.org/10.1155/2022/5754151 |
_version_ | 1784706343987314688 |
---|---|
author | Liu, Wenfeng Yi, Jing Hu, Zhanliang Gao, Yaling |
author_facet | Liu, Wenfeng Yi, Jing Hu, Zhanliang Gao, Yaling |
author_sort | Liu, Wenfeng |
collection | PubMed |
description | Text representation of social media is an important task for users' sentiment analysis. Utilizing the better representation, we can accurately acquire the real semantic information expressed by online users. However, existing works cannot achieve the best results. In this paper, we construct and implement a sentiment analysis model based on the improved BERT and syntactic dependency. Firstly, by studying the word embeddings of BERT, we have ameliorated the embeddings representation. Attention mechanism is added to the word embeddings, sentence embeddings, and position embeddings. Secondly, we have exploited the dependency syntax analysis of the text, and the dependency relationship of different syntactic components will be obtained. For different syntactic components, the hierarchical attention mechanism is used to construct the phrase embeddings or block embeddings. Finally, we splice the syntactic blocks for sentiment analysis. Extensive experiments show that the proposed model has a stronger ability than the baselines on two standard data sets. |
format | Online Article Text |
id | pubmed-9098270 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Hindawi |
record_format | MEDLINE/PubMed |
spelling | pubmed-90982702022-05-13 An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis Liu, Wenfeng Yi, Jing Hu, Zhanliang Gao, Yaling Comput Intell Neurosci Research Article Text representation of social media is an important task for users' sentiment analysis. Utilizing the better representation, we can accurately acquire the real semantic information expressed by online users. However, existing works cannot achieve the best results. In this paper, we construct and implement a sentiment analysis model based on the improved BERT and syntactic dependency. Firstly, by studying the word embeddings of BERT, we have ameliorated the embeddings representation. Attention mechanism is added to the word embeddings, sentence embeddings, and position embeddings. Secondly, we have exploited the dependency syntax analysis of the text, and the dependency relationship of different syntactic components will be obtained. For different syntactic components, the hierarchical attention mechanism is used to construct the phrase embeddings or block embeddings. Finally, we splice the syntactic blocks for sentiment analysis. Extensive experiments show that the proposed model has a stronger ability than the baselines on two standard data sets. Hindawi 2022-05-05 /pmc/articles/PMC9098270/ /pubmed/35571684 http://dx.doi.org/10.1155/2022/5754151 Text en Copyright © 2022 Wenfeng Liu et al. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |
spellingShingle | Research Article Liu, Wenfeng Yi, Jing Hu, Zhanliang Gao, Yaling An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title | An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title_full | An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title_fullStr | An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title_full_unstemmed | An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title_short | An Improved BERT and Syntactic Dependency Representation Model for Sentiment Analysis |
title_sort | improved bert and syntactic dependency representation model for sentiment analysis |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9098270/ https://www.ncbi.nlm.nih.gov/pubmed/35571684 http://dx.doi.org/10.1155/2022/5754151 |
work_keys_str_mv | AT liuwenfeng animprovedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT yijing animprovedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT huzhanliang animprovedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT gaoyaling animprovedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT liuwenfeng improvedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT yijing improvedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT huzhanliang improvedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis AT gaoyaling improvedbertandsyntacticdependencyrepresentationmodelforsentimentanalysis |