Sentiment analysis method of consumer comment text based on BERT and hierarchical attention in e-commerce big data environment

被引:2
作者
Chang, Wanjun [1 ]
Zhu, Mingdong [1 ]
机构
[1] Henan Inst Technol, Colloge Comp Sci & Technol, Xinxiang 453003, Henan, Peoples R China
关键词
e-commerce big data; BERT; BiLSTM; hierarchical attention; deep learning; EMOTION ANALYSIS;
D O I
10.1515/jisys-2023-0025
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
This study proposes an emotional analysis method of consumer comment text based on Bidirectional Encoder Representations from Transformers (BERT) and hierarchical attention. First, using the BERT pre-training model, the left and right contextual information is fused to enhance the semantic representation of words and generate dynamic word vectors containing contextual semantics. Second, the bidirectional long short-term memory network is used to obtain the sequence feature matrix, and the sentence representation and the text representation are obtained using the two-layer long short-term memory. Finally, the local attention mechanism and the global attention mechanism are introduced into the sentence representation layer and the text representation layer, respectively, and the text emotion of consumer comments is classified by softmax. Experiments show that the accuracy of the proposed method in Laptop data set is 93.01% and that in Restaurant data set is 92.45%. Therefore, the performance of the proposed method in the emotional analysis of consumer comment text is significantly better than that of the comparison method.
引用
收藏
页数:12
相关论文
共 25 条
  • [1] Sentiment Analysis of Chinese E-commerce Reviews Based on BERT
    Xie, Song
    Cao, Jingjing
    Wu, Zhou
    Liu, Kai
    Tao, Xiaohui
    Xie, Haoran
    2020 IEEE 18TH INTERNATIONAL CONFERENCE ON INDUSTRIAL INFORMATICS (INDIN), VOL 1, 2020, : 713 - 718
  • [2] Sentiment Analysis of Social Network Comment Text Based on LSTM and Bert
    Si, Hongying
    Wei, Xianyong
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2023, 32 (17)
  • [3] Sentiment Analysis of the Consumer Review Text Based on BERT-BiLSTM in a Social Media Environment
    Zhou, Xueli
    INTERNATIONAL JOURNAL OF INFORMATION TECHNOLOGIES AND SYSTEMS APPROACH, 2023, 16 (02)
  • [4] BERT-enhanced sentiment analysis for personalized e-commerce recommendations
    Karabila, Ikram
    Darraz, Nossayba
    EL-Ansari, Anas
    Alami, Nabil
    EL Mallahi, Mostafa
    MULTIMEDIA TOOLS AND APPLICATIONS, 2023, 83 (19) : 56463 - 56488
  • [5] HBert: A Long Text Processing Method Based on BERT and Hierarchical Attention Mechanisms
    Lv, Xueqiang
    Liu, Zhaonan
    Zhao, Ying
    Xu, Ge
    You, Xindong
    INTERNATIONAL JOURNAL ON SEMANTIC WEB AND INFORMATION SYSTEMS, 2023, 19 (01)
  • [6] Chinese Multicategory Sentiment of E-Commerce Analysis Based on Deep Learning
    Li, Hongchan
    Wang, Jianwen
    Lu, Yantong
    Zhu, Haodong
    Ma, Jiming
    ELECTRONICS, 2023, 12 (20)
  • [7] Sentiment Analysis of Chinese E-Commerce Product Reviews Using ERNIE Word Embedding and Attention Mechanism
    Huang, Weidong
    Lin, Miao
    Wang, Yuan
    APPLIED SCIENCES-BASEL, 2022, 12 (14):
  • [8] Sentiment analysis for e-commerce product reviews by deep learning model of Bert-BiGRU-Softmax
    Liu, Yi
    Lu, Jiahuan
    Yang, Jie
    Mao, Feng
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2020, 17 (06) : 7819 - 7837
  • [9] Sentiment Analysis of Comment Data Based on BERT-ETextCNN-ELSTM
    Deng, Lujuan
    Yin, Tiantian
    Li, Zuhe
    Ge, Qingxia
    ELECTRONICS, 2023, 12 (13)
  • [10] Research on sentiment analysis of hotel review text based on BERT-TCN-BiLSTM-attention model
    Chi, Dianwei
    Huang, Tiantian
    Jia, Zehao
    Zhang, Sining
    ARRAY, 2025, 25