1School of Information Management, Nanjing University, Nanjing 210023, China 2School of Management, Nanjing University of Posts and Telecommunications, Nanjing 210003, China 3Jiangsu Provincial Key Laboratory of Data Engineering and Knowledge Service, Nanjing 210023, China
[Objective] This study conducts sentiment analysis using the emotional knowledge contained in the syntactic structures of texts from online health communities. We propose an online health community sentiment analysis model, WoBEK-GAT, based on emotional enhancement and knowledge fusion. [Methods] Firstly, we utilized WoBERT Plus for dynamic word embedding. Then, we extracted semantic features using CNN and BiLSTM. Finally, we fully integrated key syntactic information from pruned dependency trees with external emotional knowledge through sentiment enhancement and knowledge fusion strategies. We fed these inputs into the GAT to output sentiment categories. [Results] We conducted comparative experiments on a constructed Chinese dataset. The proposed model’s MacroF1 value reached 88.48%. It was 15.49%, 14.15%, and 13.15% over baseline models CNN, BiLSTM, and GAT, respectively. [Limitations] We should have considered sentiment knowledge in multimodal information such as pictures and speeches. [Conclusions] The proposed model could effectively improve sentiment analysis capability.
张伟, 徐宗煌, 蔡鸿宇, 韩普, 石进. 基于情感增强和知识融合的在线健康社区情感分析研究*[J]. 数据分析与知识发现, 2024, 8(3): 53-62.
Zhang Wei, Xu Zonghuang, Cai Hongyu, Han Pu, Shi Jin. Sentiment Analysis of Online Health Community Based on Emotional Enhancement and Knowledge Fusion. Data Analysis and Knowledge Discovery, 2024, 8(3): 53-62.
(Wu Jiang, Li Shanshan, Zhou Lusha, et al. Research on Dynamic Evolution of Users’ Relationship Network in Online Health Community Based on Stochastic Actor-Oriented Model[J]. Journal of the China Society for Scientific and Technical Information, 2017, 36(2): 213-220.)
[2]
Rodrigues R G, das Dores R M, Camilo-Junior C G, et al. SentiHealth-Cancer: A Sentiment Analysis Tool to Help Detecting Mood of Patients in Online Social Networks[J]. International Journal of Medical Informatics, 2016, 85(1): 80-95.
doi: 10.1016/j.ijmedinf.2015.09.007
pmid: 26514078
[3]
Zhao K, Yen J, Greer G, et al. Finding Influential Users of Online Health Communities: A New Metric Based on Sentiment Influence[J]. Journal of the American Medical Informatics Association, 2014, 21(e2): e212-e218.
doi: 10.1136/amiajnl-2013-002282
[4]
Ali T, Schramm D, Sokolova M, et al. Can I Hear You? Sentiment Analysis on Medical Forums[C]// Proceedings of the 6th International Joint Conference on Natural Language Processing. Stroudsburg: Association for Computational Linguistics, 2013: 667-673.
(Guo Fengyi, Ji Xuemei. Co-Occurrence and Correlation Analysis of Emergent Topics and Emotions in Online Health Communities under Public Health Emergencies[J]. Information Studies: Theory & Application, 2022, 45(4): 190-198.)
(Liu Bing, Li Xin, Zhang Hezhao, et al. Thematic Characteristics and Emotional Factors of Women’s Information Needs During Their Identity Transition Period in the Online Health Community: A Case Study of the “Pregnant Section” in “Mama.cn”[J]. Information Studies: Theory & Application, 2019, 42(5): 87-92.)
(Ye Yan, Wu Peng, Zhou Zhi, et al. Research on Online Medical Service Quality Identification Based on LDA-BiLSTM Model[J]. Information Studies: Theory & Application, 2022, 45(8): 178-183, 168.)
[8]
Chen T, Xu R F, He Y L, et al. Improving Sentiment Analysis via Sentence Type Classification Using BiLSTM-CRF and CNN[J]. Expert Systems with Applications, 2017, 72: 221-230.
doi: 10.1016/j.eswa.2016.10.065
[9]
Liang B, Su H, Gui L, et al. Aspect-Based Sentiment Analysis via Affective Knowledge Enhanced Graph Convolutional Networks[J]. Knowledge-Based Systems, 2022, 235: 107643.
doi: 10.1016/j.knosys.2021.107643
[10]
Zhou J, Huang J X, Hu Q V, et al. SK-GCN: Modeling Syntax and Knowledge via Graph Convolutional Network for Aspect-Level Sentiment Classification[J]. Knowledge-Based Systems, 2020, 205: 106292.
doi: 10.1016/j.knosys.2020.106292
[11]
Lai Y N, Zhang L F, Han D H, et al. Fine-Grained Emotion Classification of Chinese Microblogs Based on Graph Convolution Networks[J]. World Wide Web, 2020, 23(5): 2771-2787.
doi: 10.1007/s11280-020-00803-0
[12]
Zhu X F, Zhu L, Guo J F, et al. GL-GCN: Global and Local Dependency Guided Graph Convolutional Networks for Aspect-Based Sentiment Classification[J]. Expert Systems with Applications, 2021, 186: 115712.
doi: 10.1016/j.eswa.2021.115712
[13]
Zeng J D, Liu T Y, Jia W J, et al. Fine-Grained Question-Answer Sentiment Classification with Hierarchical Graph Attention Network[J]. Neurocomputing, 2021, 457: 214-224.
doi: 10.1016/j.neucom.2021.06.040
(Fan Tao, Wang Hao, Wu Peng. Sentiment Analysis of Online Users’ Negative Emotions Based on Graph Convolutional Network and Dependency Parsing[J]. Data Analysis and Knowledge Discovery, 2021, 5(9): 97-106.)
(Chinese BERT with Word as Basic Unit[EB/OL]. [2021-11-18]. https://github.com/ZhuiyiTechnology/WoBERT.)
[16]
Kim Y. Convolutional Neural Networks for Sentence Classification[OL].arXiv Preprint, arXiv:1408.5882.
[17]
Schuster M, Paliwal K K. Bidirectional Recurrent Neural Networks[J]. IEEE Transactions on Signal Processing, 1997, 45(11): 2673-2681.
doi: 10.1109/78.650093
[18]
Che W X, Li Z H, Liu T. LTP: A Chinese Language Technology Platform[C]// Proceedings of the 23rd International Conference on Computational Linguistics:Demonstrations. New York: ACM Press, 2010: 13-16.
[19]
Bruna J, Zaremba W, Szlam A, et al. Spectral Networks and Locally Connected Networks on Graphs[OL]. arXiv Preprint, arXiv: 1312.6203.
[20]
Pang S G, Xue Y, Yan Z H, et al. Dynamic and Multi-Channel Graph Convolutional Networks for Aspect-Based Sentiment Analysis[C]// Findings of the Association for Computational Linguistics:ACL-IJCNLP 2021. Stroudsburg: Association for Computational Linguistics, 2021: 2627-2636.
(Lou Yan, Yang Jialin, Huang Lucheng, et al. Analysis of Public Concerns and Emotions of Gerontechnology Based on Social Q&A Community—Taking “Zhihu” as an Example[J]. Journal of Intelligence, 2020, 39(3): 115-122.)
[22]
Zhang X, Zhao J B, LeCun Y. Character-Level Convolutional Networks for Text Classification[C]// Proceedings of the 29th Annual Conference on Neural Information Processing Systems. New York: ACM Press, 2015: 649-657.
[23]
Vaswani A, Shazeer N, Parmar N, et al. Attention is All You Need[C]// Proceedings of the 31st Annual Conference on Neural Information Processing Systems. New York: ACM Press, 2017: 5998-6008.
(Wang Hao, Gong Lijuan, Zhou Zeyu, et al. Detecting Mis/Dis-Information from Social Media with Semantic Enhancement[J]. Data Analysis and Knowledge Discovery, 2023, 7(2): 48-60.)