首页> 外国专利> Attention-based natural language processing

Attention-based natural language processing

机译:基于关注的自然语言处理

摘要

Embodiments of the present disclosure relate to attention-based neural language processing. In an embodiment, a method is disclosed. According to the method, a sentence graph is generated from a sentence containing words. The sentence graph comprises nodes representing words and edges connecting the nodes, at least one of the edges being constructed to indicate a syntactic relationship between words represented by nodes connected therebetween. Word representations for the words are determined based on the sentence graph by applying an attention mechanism on respective ones of the nodes and respective sets of neighbor nodes for the nodes. A set of neighbor nodes for a node has edges connected to the node. A sentence representation for the sentence is determined based on the word representations for use in a natural language processing task related to the sentence. In other embodiments, a system and a computer program product are disclosed.
机译:本公开的实施例涉及基于关注的神经语言处理。 在一个实施例中,公开了一种方法。 根据该方法,从包含单词的句子生成句子图。 句子图包括表示连接节点的单词和边的节点,所构造的至少一个边缘以指示由它们之间连接的节点表示的单词之间的语法关系。 通过在节点中的各个节点和各个相邻节点上应用于节点的各个邻居节点上的关注机制来基于句子图来基于句子图来确定单词的字表示。 节点的一组邻居节点具有连接到节点的边。 基于与句子相关的自然语言处理任务的字表示来确定句子的句子表示。 在其他实施例中,公开了一种系统和计算机程序产品。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号