白丝美女被狂躁免费视频网站,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.

說明書

It is supposed that Dr is the set of predefined dependency relationships, and D′r is the set of opposite dependency relationships for Dr. The labels for a dependency relationship and its opposite dependency relationship may be different. For example, if the dependency relationship is labeled as “subj,” then the opposite dependency relationship may be labeled as “subj_opposite.” Two directed edges in the edge set ε of the sentence graph 512 connecting the i-th node and the j-th node may be represented as eij=(vi, vj, dij):dij∈Dr and eij=(vj, vi, d′ij), where dij is the dependency relationship from the word vj to the word vi, and d′ij is an opposite of the dependency relationship dij from the word vi to the word vj.

It would be appreciated that in generation of the sentence graph 512, if it is determined that there is a dependency relationship between two words, the graph generation module 510 may add either one directed edge to indicate the dependency relationship or one directed edge to indicate the opposite dependency relationship. In some other embodiments, the graph generation module 510 may also add both of the directed edges in the sentence graph 512.

權(quán)利要求

1
微信群二維碼
意見反饋