Method and apparatus for recognizing speech
AssigneeApollo Intelligent Connectivity (Beijing) Technology Co., Ltd.
InventorsYumei ZHANG, Gui HE, Jin HU
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a method and apparatus for recognizing speech. An embodiment of the method includes: in response to detecting a speech frame, converting the speech frame into a current text in real time; in response to there being no previously saved historical text, inputting the current text into a semantic parsing model to obtain a parsing result; in response to the parsing result including a valid intention slot, ending a speech endpoint detection to complete the recognition; and outputting an instruction corresponding to the valid intention slot.
Claims18
A method for recognizing speech, the method comprising:
- in response to detecting a speech frame, converting the speech frame into a current text in real time;
- in response to there being no previously saved historical text, inputting the current text into a semantic parsing model to obtain a parsing result;
- in response to the parsing result including a valid intention slot, ending a speech endpoint detection to complete the recognition;
- and
- outputting an instruction corresponding to the valid intention slot.
An apparatus for recognizing speech, 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:
- converting a speech frame into a current text in real time in response to detecting the speech frame;
- inputting the current text into a semantic parsing model to obtain a parsing result, in response to there being no previously saved historical text;
- ending a speech endpoint detection to complete the recognition, in response to the parsing result including a valid intention slot;
- and
- outputting an instruction corresponding to the valid intention slot.
A non-transitory computer readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, causes the processor to perform operations, the operations comprising:
- in response to detecting a speech frame, converting the speech frame into a current text in real time;
- in response to there being no previously saved historical text, inputting the current text into a semantic parsing model to obtain a parsing result;
- in response to the parsing result including a valid intention slot, ending a speech endpoint detection to complete the recognition;
- and
- outputting an instruction corresponding to the valid intention slot.
Dependencies are inferred from the claim text.