The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.
The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.
Patent No.:
Date of Patent:
Oct. 04, 2022
Filed:
Aug. 10, 2020
Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing, CN;
Han Zhang, Beijing, CN;
Dongling Xiao, Beijing, CN;
Yukun Li, Beijing, CN;
Yu Sun, Beijing, CN;
Hao Tian, Beijing, CN;
Hua Wu, Beijing, CN;
Haifeng Wang, Beijing, CN;
BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY CO., LTD., Beijing, CN;
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 iword to be predicted in a target text; obtaining a vector representation of the iword to be predicted, in which the vector representation of the iword to be predicted is obtained by calculating the placeholder of the iword to be predicted, the source text and 1to (i−1)predicted words by employing a self-attention mechanism; and generating an ipredicted word based on the vector representation of the iword to be predicted, to obtain a target text.