Invention Grant
- Patent Title: Method and apparatus for generating text based on semantic representation, and medium
-
Application No.: US16988907Application Date: 2020-08-10
-
Publication No.: US11461549B2Publication Date: 2022-10-04
- Inventor: Han Zhang , Dongling Xiao , Yukun Li , Yu Sun , Hao Tian , Hua Wu , Haifeng Wang
- Applicant: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Applicant Address: CN Beijing
- Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD.
- Current Assignee Address: CN Beijing
- Agency: Frost Brown Todd LLC
- Priority: CN202010076485.8 20200123
- Main IPC: G06F40/274
- IPC: G06F40/274 ; G06F40/56 ; G06F40/30 ; G06K9/62

Abstract:
The present disclosure discloses a method and an apparatus for generating a text based on a semantic representation and relates to a field of natural language processing (NLP) technologies. The method for generating the text includes: obtaining an input text, the input text comprising a source text; obtaining a placeholder of an ith word to be predicted in a target text; obtaining a vector representation of the ith word to be predicted, in which the vector representation of the ith word to be predicted is obtained by calculating the placeholder of the ith word to be predicted, the source text and 1st to (i−1)th predicted words by employing a self-attention mechanism; and generating an ith predicted word based on the vector representation of the ith word to be predicted, to obtain a target text.
Public/Granted literature
- US20210232765A1 METHOD AND APPARATUS FOR GENERATING TEXT BASED ON SEMANTIC REPRESENTATION, AND MEDIUM Public/Granted day:2021-07-29
Information query