白丝美女被狂躁免费视频网站,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
技術(shù)領(lǐng)域
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.

說明書

Referring back to FIG. 5, the word representation generation module 520 in the encoder determines word representations 528 for the words in the sentence 402 based on the sentence graph 512. In some embodiments, the determination of two or more of the word representations 528 may be performed in parallel, which may significantly increase the computational efficiency. The possibility of the parallel determination will be better understood from the following description.

To determine a word representation of a given word in the sentence 402, the neighbor determination module 522 is configured to identify from the sentence graph 512 a set of neighbor nodes 524 having edges connected with a given node representing the given word. The set of the neighbor nodes 524 for the i-th node may be represented as custom characteri. Here, a “neighbor node” is syntactically related to the given node in a syntactic structure of the sentence 402, but may not be necessarily located adjacent to the given node within the sentence.

In some embodiments, the set of neighbor nodes 524 for the given node includes those that have edges directly connected with the given node, which may also be referred to as the one-hop neighbor nodes (or one-hop neighbors for short). In a specific embodiment of the directed sentence graph 512, the set of neighbor nodes 524 includes nodes that have edges directed to the given node.

權(quán)利要求

1
微信群二維碼
意見反饋