APP下载

关键词关联融合CNN的短文本分类算法

2018-11-26陈海霞杨喜旺卫洁洁

电脑知识与技术 2018年22期

陈海霞 杨喜旺 卫洁洁

摘要:针对短文本长度短,特征稀疏,表达信息能力不足的特点,提出一种短文本分类算法,首先用改进的Apriori算法挖掘頻繁2项集,获取关联规则,然后根据关联规则对短文本信息进行补充,解决特征稀疏,表达能力不足的问题,最后用有类别标签的训练集训练卷积神经网络得到分类器,对待测短文本进行分类。对于本文提出的理论,通过实验测试了算法的分类准确率和召回率,证明了本文方法的可行性,并与其余短文本分类算法CNN+KNN、Apriori等短文本分类算法做了对比。

关键词:短文本分类 ; Apriori算法 ; 关联规则; 卷积神经网络

中图分类号:TP391 文献标识码:A 文章编号:1009-3044(2018)22-0261-04

Abstract: Against the short length of shor text、sparse characteristics and weak ability of expressing information,we put forword to a kind of short text classification algorithm, it first uses the improved Apriori algorithmn to extract the frequent 2-itemsets and ger association rules.then accoding to the association rules to supplement the shoret text information.,finally uses training set with category label to train the convolution neural network (CNN) to get the classifier and then classify the short text sets classified .In the end, through the experiment about precision and recall rate of classification of the algorithm,this method is poved feasible .And we also make comparison with other short text classification algorithms such as CNN+KNN、Apriori.

Key words:short text classification;Apriori algorithm; association rules; convolution neural network

国内外先后出现Facebook、微博等社交平台,微博、网络评论等短文本形式的信息大量融入人们的生活,并逐渐成为人们获取新闻实时信息及日常交流互动的主要方式。这些内容包含了用户的兴趣、潜在需求、意图倾向,涉及了 政治、经济、文化、教育、医疗等很多方面,包含大量有用的信息,但一般都是字数较少且不规范的短文本,如何从这些短文本中挖掘出想要的信息成为一个挑战。其中短文本分类技术便是通过将短文本分类使得用户可以按照类别爱好选择想要的信息,但是短文本存在特征稀疏、表达信息能力差的特点,针对这些特点,本文提出基于关键词语义关联和CNN结合的中文短文本分类算法。

目前较常用的文本分类算法,根据文本特征表示方式不同,分为两类:一种是基于向量空间模型(Vector Space Model,VSM)的分类算法,但是将文本转为向量空间,会导致向量维数过高的特点,如文献[1][2]基于向量空间模型,对维数进行降维处理。……

登录APP查看全文