IP Library › Granted Patent US 11,011,163
Granted Patent B2
US 11,011,163 · App. 16/049,470 · Granted May 18, 2021

Method and apparatus for recognizing voice

Inventors: Niandong Du (Beijing, CN); Yan Xie (Beijing, CN)
Assignee: Baidu Online Network Technology (Beijing) Co., Ltd.
G10L15/22G06F3/167G10L17/00G10L2015/223G10L2015/227
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,011,163
App. No.
16/049,470
Granted
May 18, 2021
Kind
B2
Abstract

Embodiments of the present disclosure disclose a method and apparatus for recognizing voice. A specific implementation of the method comprises: receiving voice information sent by a user through a terminal, and acquiring simultaneously a user identifier of the user; recognizing the voice information to obtain a first recognized text; determining a word information set stored in association with the user identifier of the user based on the user identifier of the user; and processing the first recognized text based on word information in the determined word information set to obtain a second recognized text, and sending the second recognized text to the terminal. The implementation improves the accuracy of voice recognition and meets a personalized need of a user.

Claims (27)

1. A method for recognizing voice, the method comprising:

receiving voice information sent by a user through a terminal, and acquiring simultaneously a user identifier of the user;

recognizing the voice information to obtain a first recognized text;

determining a word information set stored in association with the user identifier of the user based on the user identifier of the user, wherein word information in the word information set comprises a historical character string inputted by the user through an input method application, an input result corresponding to the historical character string, and a candidate result corresponding to the historical character string, the input result corresponding to the historical character string being a text actually inputted by the user for the historical character string, the candidate result corresponding to the historical character string being a text pushed by the input method application for the historical character string;

processing the first recognized text based on word information in the determined word information set to obtain a second recognized text, wherein the processing comprises: determining that the first recognized text comprises the candidate result corresponding to the historical character string in the word information set; and replacing the candidate result corresponding to the historical character string with the input result corresponding to the historical character string, in response to determining the first recognized text comprising the candidate result corresponding to the historical character string in the word information set; and

sending the second recognized text to the terminal,

wherein the method is performed by at least one processor.

2. The method according to claim 1 , the method further comprising:

receiving input record information sent by a target terminal used by the user, wherein the input record information is generated by the target terminal upon detecting an input result of an input character string inputted by the user through an input method application being inconsistent with a candidate result provided by the input method application for the input character string, and the input record information comprises the user identifier of the user, the input result of the input character string inputted by the user through the input method application, and the candidate result provided by the input method application for the input character string; and

storing the input result of the input character string inputted by the user through the input method application and the candidate result provided by the input method application for the input character string in the input record information into the word information set associated with the user identifier of the user.

3. An apparatus for recognizing voice, the apparatus comprising:

at least one processor; and

a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:

receiving voice information sent by a user through a terminal, and acquiring simultaneously a user identifier of the user;

recognizing the voice information to obtain a first recognized text;

determining a word information set stored in association with the user identifier of the user based on the user identifier of the user, wherein word information in the word information set comprises a historical character string inputted by the user through an input method application, an input result corresponding to the historical character string, and a candidate result corresponding to the historical character string, the input result corresponding to the historical character string being a text actually inputted by the user for the historical character string, the candidate result corresponding to the historical character string being a text pushed by the input method application for the historical character string;

processing the first recognized text based on word information in the determined word information set to obtain a second recognized text, wherein the processing comprises: determining that the first recognized text comprises the candidate result corresponding to the historical character string in the word information set; and replacing the candidate result corresponding to the historical character string with the input result corresponding to the historical character string, in response to determining the first recognized text comprising the candidate result corresponding to the historical character string in the word information set; and

sending the second recognized text to the terminal.

4. The apparatus according to claim 3 , the operations further comprising:

receiving input record information sent by a target terminal used by the user, wherein the input record information is generated by the target terminal upon detecting an input result of an input character string inputted by the user through an input method application being inconsistent with a candidate result provided by the input method application for the input character string, and the input record information comprises the user identifier of the user, the input result of the input character string inputted by the user through the input method application, and the candidate result provided by the input method application for the input character string; and

storing the input result of the input character string inputted by the user through the input method application and the candidate result provided by the input method application for the input character string in the input record information into the word information set associated with the user identifier of the user.

5. A non-transitory computer storage medium storing a computer program, the computer program, when executed by one or more processors, causes the one or more processors to perform operations, the operations comprising:

receiving voice information sent by a user through a terminal, and acquiring simultaneously a user identifier of the user;

recognizing the voice information to obtain a first recognized text;

determining a word information set stored in association with the user identifier of the user based on the user identifier of the user, wherein word information in the word information set comprises a historical character string inputted by the user through an input method application, an input result corresponding to the historical character string, and a candidate result corresponding to the historical character string, the input result corresponding to the historical character string being a text actually inputted by the user for the historical character string, the candidate result corresponding to the historical character string being a text pushed by the input method application for the historical character string;

processing the first recognized text based on word information in the determined word information set to obtain a second recognized text, wherein the processing comprises: determining that the first recognized text comprises the candidate result corresponding to the historical character string in the word information set; and replacing the candidate result corresponding to the historical character string with the input result corresponding to the historical character string, in response to determining the first recognized text comprising the candidate result corresponding to the historical character string in the word information set; and

sending the second recognized text to the terminal.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 20, 2018
From: DU, NIANDONG; XIE, YAN
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 046922/0914 →
Priority Claims (1)
CN 201710909504.9 · Sep 29, 2017 · national
Continuity (1)
Related Publication 20190103109A1 · Apr 4, 2019