计算机科学
人工智能
编码
卷积神经网络
自然语言处理
合并(版本控制)
图形
文本图
情报检索
自动汇总
理论计算机科学
生物化学
化学
基因
出处
期刊:PeerJ
[PeerJ]
日期:2022-01-05
卷期号:7: e831-e831
被引量:9
摘要
Text classification is a fundamental task in many applications such as topic labeling, sentiment analysis, and spam detection. The text syntactic relationship and word sequence are important and useful for text classification. How to model and incorporate them to improve performance is one key challenge. Inspired by human behavior in understanding text. In this paper, we combine the syntactic relationship, sequence structure, and semantics for text representation, and propose an attention-enhanced capsule network-based text classification model. Specifically, we use graph convolutional neural networks to encode syntactic dependency trees, build multi-head attention to encode dependencies relationship in text sequence, merge with semantic information by capsule network at last. Extensive experiments on five datasets demonstrate that our approach can effectively improve the performance of text classification compared with state-of-the-art methods. The result also shows capsule network, graph convolutional neural network, and multi-headed attention has integration effects on text classification tasks.
科研通智能强力驱动
Strongly Powered by AbleSci AI