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

說明書

FIG. 4 illustrates a block diagram of a system 400 for natural language processing in which embodiments of the present invention can be implemented. The system 400 has an encoder-decoder structure, including an encoder 410 and a decoder 420. The encoder 410 encodes an input sentence 402 including a plurality of words to a sentence representation 412. The sentence representation 412 is a real-valued representation of the input sentence 402, which characterizes semantic information embedded within the input sentence 402.

Given the sentence representation 412, the decoder 420 then generates an output 422. Depending on the specific natural language processing task to be performed by the system 400, the decoder 420 processes the sentence representation 412 to obtain the corresponding output 422. For example, in a machine translation task, the decoder 420 determines, based on the sentence representation 412, an output sentence which has a same semantic meaning in a target natural language to the input sentence 402 in its source natural language. In a natural language inference (NLI) task, the decoder 420 can determine whether the input sentence 402 semantically entails another input sentence based on sentence representations determined by the encoder 410 for the two input sentences. As a further example, the decoder 420 can label semantic roles or recognize entities of a knowledge base in the input sentence 402 based on the sentence representation 412. Other natural language processing tasks may include text summarization, reading comprehension, relation extraction, and so on. The scope of the embodiments in the present invention is not limited in this regard.

權(quán)利要求

1
微信群二維碼
意見反饋