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:
May. 30, 2023

Filed:

Nov. 23, 2020
Applicant:

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

Inventors:

Shuohuan Wang, Beijing, CN;

Siyu Ding, Beijing, CN;

Yu Sun, Beijing, CN;

Hua Wu, Beijing, CN;

Haifeng Wang, Beijing, CN;

Attorney:
Primary Examiner:
Int. Cl.
CPC ...
G06F 40/279 (2020.01); G06N 20/00 (2019.01); G06F 40/166 (2020.01); G06F 40/30 (2020.01);
U.S. Cl.
CPC ...
G06F 40/279 (2020.01); G06F 40/166 (2020.01); G06F 40/30 (2020.01); G06N 20/00 (2019.01);
Abstract

The disclosure provides a text recognition method, an electronic device, and a storage medium. The method includes: obtaining N segments of a sample text; inputting each of the N segments into a preset initial language model in sequence, to obtain first text vector information corresponding to the N segments; inputting each of the N segments into the initial language model in sequence again, to obtain second text vector information corresponding to a currently input segment; in response to determining that the currently input segment has the mask, predicting the mask according to the second text vector information and the first text vector information to obtain a predicted word at a target position corresponding to the mask; training the initial language model according to an original word and the predicted word to generate a long text language model; and recognizing an input text through the long text language model.


Find Patent Forward Citations

Loading…