白丝美女被狂躁免费视频网站,500av导航大全精品,yw.193.cnc爆乳尤物未满,97se亚洲综合色区,аⅴ天堂中文在线网官网

Generation of sentence representation

專利號
US11176333B2
公開日期
2021-11-16
申請人
International Business Machines Corporation(US NY Armonk)
發(fā)明人
Bang An; HongLei Guo; Shiwan Zhao; Zhong Su
IPC分類
G06F40/56; G06F40/30; G06F40/289; G06F40/58
技術領域
sentence,graph,word,nodes,node,syntactic,in,neighbor,may,cloud
地域: NY NY Armonk

摘要

Embodiments of the present disclosure relate to generation of sentence representation. In an embodiment, a method is disclosed. According to the method, a sentence graph is generated from a sentence containing words, the sentence graph comprising nodes representing the words and edges connecting the nodes to indicate relationships between the words. Word representations for the plurality of words are determined based on the sentence graph by applying a graph convolution operation on respective sets of neighbor nodes for respective ones of the nodes, a set of neighbor nodes for a node having edges connected with 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.

說明書

In the example of FIG. 6A, a directed sentence graph 512 is generated where directed edges are connected between the nodes 610 to indicate relationships from words represented by the nodes at the starts of the directed edges to words represented by the nodes at the ends of the directed edges. As shown, there are at least directed edges from the node 610-1 to the node 610-2 due to the “subj” relationship (denoted by “dA”) from “Mary” to “gave”, from the node 610-2 to the node 610-5 due to the “obj” relationship (denoted by “dD”) from “John” to “gave,” from the node 610-4 to the node 610-5 due to the “dnet” relationship (denoted by “dB”) from “a” to “book,” and from the node 610-2 to the node 610-5 due to the “iobj” relationship (denoted by “dc”) from “book” to “gave.” It is noted that the opposite dependency relationships are not indicated by edges in the example of FIG. 6B.

In addition to the syntactic relationships, the graph generation module 510 may generate the sentence graph 512 to further include edges representing a sequential relationship and/or a self-relationship. In an embodiment, in generating the sentence graph 512, the graph generation module 510 may construct one or more edges to connect one or more of the nodes itself, respectively. In this case, the tuple of the edge in the edge set ε is represented as eii=(vi,vi,‘self’), where “self” indicates a label of the self-relationship for the word vi. In some embodiments, the graph generation module 510 may construct respective edges for the nodes in the sentence graph 512 to indicate their self-relationship.

權利要求

1
微信群二維碼
意見反饋