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.

Date of Patent:
Oct. 04, 2022

Filed:

Aug. 10, 2020
Applicant:

Beijing Baidu Netcom Science and Technology Co., Ltd., Beijing, CN;

Inventors:

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;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 40/274 (2020.01); G06F 40/56 (2020.01); G06F 40/30 (2020.01); G06K 9/62 (2022.01);
U.S. Cl.
CPC ...
G06F 40/274 (2020.01); G06F 40/30 (2020.01); G06F 40/56 (2020.01); G06K 9/6256 (2013.01);
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.


Find Patent Forward Citations

Loading…