Sentiment Analysis of Social Network Comment Text Based on LSTM and Bert

被引:0
|
作者
Si, Hongying [1 ]
Wei, Xianyong [2 ]
机构
[1] Shangqiu Normal Univ, Dept Math, Shangqiu, Henan, Peoples R China
[2] Shangqiu Polytech, Shangqiu 476000, Henan, Peoples R China
关键词
Text sentiment analysis; personality prediction; LSTM; Bert; deep learning; Bert-LSTM; word embedding; EMOTION ANALYSIS; EXPRESSIONS; MODEL;
D O I
10.1142/S0218126623502924
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
This paper has the aim of solving problems in research studies on the analysis tasks of text emotion; the problems are the low utilization of text, the difficulty of effective information extraction, the failure of recognizing word polysemy with effectiveness. Thus, based on LSTM and Bert, the method of sentiment analysis on text is adopted. To be precise, word embedding of dataset in view of the skip-gram model is used for training course. In each sample, the word embeddings combine matric with the two-dimensional feature to be neural network input. Next, construction of analysis model for text sentiment combines Bert pre-training language model and long short-term memory (LSTM) network, using the word vector pre-trained by Bert instead of that trained in the traditional way to dynamically generate the semantic vector according to the word context. Finally, the semantic representation of words from text is improved by effectively identifying the polysemy of words, and the semantic vector is input into the LSTM to capture the semantic dependencies, thereby enhancing the ability to extract valid information. The Accuracy, Precision, Recall and F-Measure for the method of Bert-LSTM based on analysis of text sentiment are 0.89, 0.9, 0.84 and 0.87, indicating high value than the compared ones. Thus, the proposed method significantly outperforms the comparison methods in text sentiment analysis.
引用
收藏
页数:14
相关论文
共 50 条
  • [1] Text sentiment analysis based on BERT-CBLBGA
    Jia, Keliang
    Meng, Fanxu
    Liang, Jing
    Gong, Pimei
    [J]. COMPUTERS & ELECTRICAL ENGINEERING, 2023, 112
  • [2] Sentiment Analysis of Short Informal Text by Tuning BERT - Bi-LSTM Model
    Agrawal, Shreyas
    Dutta, Sumanto
    Patra, Bidyut Kr
    [J]. IEEE EUROCON 2021 - 19TH INTERNATIONAL CONFERENCE ON SMART TECHNOLOGIES, 2021, : 98 - 102
  • [3] Weibo Text Sentiment Analysis Based on BERT and Deep Learning
    Li, Hongchan
    Ma, Yu
    Ma, Zishuai
    Zhu, Haodong
    [J]. APPLIED SCIENCES-BASEL, 2021, 11 (22):
  • [4] Persian Text Sentiment Analysis Based on BERT and Neural Networks
    Zardak, Siroos Rahmani
    Rasekh, Amir Hossein
    Bashkari, Mohammad Sadegh
    [J]. IRANIAN JOURNAL OF SCIENCE AND TECHNOLOGY-TRANSACTIONS OF ELECTRICAL ENGINEERING, 2023, 47 (04) : 1623 - 1634
  • [5] Persian Text Sentiment Analysis Based on BERT and Neural Networks
    Siroos Rahmani Zardak
    Amir Hossein Rasekh
    Mohammad Sadegh Bashkari
    [J]. Iranian Journal of Science and Technology, Transactions of Electrical Engineering, 2023, 47 : 1623 - 1634
  • [6] Text Sentiment Analysis based on BERT and Convolutional Neural Networks
    Huang, P.
    Zhu, H. J.
    Zheng, L.
    Wang, Y.
    [J]. 2021 5TH INTERNATIONAL CONFERENCE ON NATURAL LANGUAGE PROCESSING AND INFORMATION RETRIEVAL, NLPIR 2021, 2021, : 1 - 7
  • [7] Sentiment Analysis of the Consumer Review Text Based on BERT-BiLSTM in a Social Media Environment
    Zhou, Xueli
    [J]. INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGIES AND SYSTEMS APPROACH, 2023, 16 (02)
  • [8] Comparative Analysis of Convolutional Neural Network and LSTM in Text-Based Sentiment Classification
    Kalaivani, M. S.
    Jayalakshmi, S.
    [J]. PROCEEDINGS OF THE 2021 FIFTH INTERNATIONAL CONFERENCE ON I-SMAC (IOT IN SOCIAL, MOBILE, ANALYTICS AND CLOUD) (I-SMAC 2021), 2021, : 1205 - 1211
  • [9] Deep Bidirectional LSTM Network Learning-Based Sentiment Analysis for Arabic Text
    Elfaik, Hanane
    Nfaoui, El Habib
    [J]. JOURNAL OF INTELLIGENT SYSTEMS, 2021, 30 (01) : 395 - 412
  • [10] Short Text Sentiment Analysis of Micro-blog Based on BERT
    Zheng, Jianzhong
    Chen, Xiaoliang
    Du, Yajun
    Li, Xianyong
    Zhang, Jiabo
    [J]. ADVANCED MULTIMEDIA AND UBIQUITOUS ENGINEERING, 2020, 590 : 390 - 396