首页> 外国专利> TEXT INTENT RECOGNITION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM

TEXT INTENT RECOGNITION METHOD AND APPARATUS, ELECTRONIC DEVICE, AND STORAGE MEDIUM

机译:文本意图识别方法和装置,电子设备和存储介质

摘要

A text intent recognition method and apparatus, an electronic device, and a storage medium, relating to the technical field of artificial intelligence, and also relating to the technical field of blockchain, a session text being stored in a blockchain node. The method comprises: acquiring a session text, and performing entity recognition on the session text to obtain a plurality of entities (S11); on the basis of the session text, generating a first text vector containing a context feature and, on the basis of the plurality of entities, generating an entity feature vector (S12); by means of a convolution operation, converting the first text vector into a second text vector of multiple granularities (S13); performing feature extraction on the second text vector of multiple granularities to obtain a semantic feature vector, and splicing the semantic feature vector and the entity feature vector to obtain a template feature vector (S14); and, on the basis of the template feature vector, determining an intent category corresponding to the session text (S15). The present method determines the intent category of the session text by means of converting the session text to a semantic feature vector and an entity feature vector and splicing same, entity features being added to assist the intent classification to thereby improve the recognition accuracy of intent recognition.
机译:一种文本意图识别方法和装置、电子设备和存储介质,涉及人工智能技术领域,也涉及区块链技术领域,会话文本存储在区块链节点中。该方法包括:获取会话文本,并对会话文本执行实体识别以获得多个实体(S11);基于会话文本,生成包含上下文特征的第一文本向量,并且基于多个实体,生成实体特征向量(S12);通过卷积运算,将第一文本向量转换为多粒度的第二文本向量(S13);对多粒度的第二文本向量执行特征提取以获得语义特征向量,并将语义特征向量和实体特征向量拼接以获得模板特征向量(S14);以及,基于模板特征向量,确定与会话文本对应的意图类别(S15)。本方法通过将会话文本转换为语义特征向量和实体特征向量并将其拼接来确定会话文本的意图类别,实体特征被添加以辅助意图分类,从而提高意图识别的识别精度。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号