计算机工程与应用 ›› 2019, Vol. 55 ›› Issue (13): 123-128.DOI: 10.3778/j.issn.1002-8331.1812-0142

• 模式识别与人工智能 • 上一篇    下一篇

面向智能客服的句子相似度计算方法

纪明宇,王晨龙,安  翔,牟伟晔   

  1. 东北林业大学 信息与计算机工程学院,哈尔滨 150040
  • 出版日期:2019-07-01 发布日期:2019-07-01

Method of Sentence Similarity Calculation for Intelligent Customer Service

JI Mingyu, WANG Chenlong, AN Xiang, MU Weiye   

  1. School of Information and Computer Engineering, University of Northeast Forestry, Harbin 150040, China
  • Online:2019-07-01 Published:2019-07-01

摘要: 针对金融领域中智能客服的句子相似度计算方法进行了研究。利用基于词性的分词纠正模型减少中文歧义词、金融相关词汇的分词错误;通过词向量方法和循环神经网络分别提取词语级和句子级的语义特征,并且得到句子向量;用融合层计算出句子向量间的差异特征;对差异特征进行降维和归一化得到句子相似度计算结果。实验结果表明,该方法具有较高的准确率和[F1]值。

关键词: 智能客服, 句子相似度, 分词纠正, 词向量, 循环神经网络

Abstract: In view of sentence similarity calculation method for intelligent customer service in financial field is studied. Firstly, it reduces the participle errors of Chinese ambiguous words and financial related words by the participle correction model based on part-of-speech. Then, it extracts the semantic features of word level and sentence level and obtains the sentence vectors by the method of word vector and circulatory neural network. In addition, it calculates the discriminative features between sentence vectors by the merge layer. Finally, it obtains the result of sentence similarity calculation by dimension reduction and normalization of the discriminative features. Experiments show that this method has high accuracy and F1 value.

Key words: intelligent customer service, sentence similarity, participle correction, word vector, cyclic neural network