CPC G10L 15/22 (2013.01) [G10L 15/05 (2013.01); G10L 25/87 (2013.01); G10L 2015/223 (2013.01)] | 3 Claims |
1. A command analysis device, comprising circuitry configured to:
retrieve a final result recognition rule from a final result recognition rule storage device, a first intermediate result recognition rule from a first intermediate result recognition rule storage device, and a second intermediate result recognition result from the second intermediate recognition result storage device, wherein the first intermediate result recognition rule, the second intermediate result recognition rule, and the final result recognition rule are predetermined and are mutually distinct;
perform, every time when a predetermined unit of a speech signal is input, speech recognition on the speech signal and acquire a partial speech recognition result, which is a first intermediate result, wherein the perform operation further configured to:
determine whether the partial speech recognition result includes an end of a sentence, and output the speech recognition result, which is a final result, and an end-of-sentence signal when the end of a sentence is included;
determine, when the partial speech recognition result does not include the end of a sentence, whether a silence interval has continued for a predetermined period of time or more, or whether a new instance of the speech recognition result has not been acquired for a predetermined period of time or more, and output a silence signal when the silence interval has continued for the predetermined period of time or more or when a new instance of the speech recognition result has not been acquired for a predetermined period of time or more,
switch the first intermediate result recognition rule to the second intermediate result recognition rule upon receiving the silence signal, wherein the second intermediate result recognition rule allows commands to be analyzed even when the speech signal is interrupted at a point other than the end of a sentence, and
switch the first intermediate result recognition rule to the final result recognition rule, upon receiving the end-of-sentence signal, the final result recognition rule does not identify the command while the speech recognition is in progress;
verify the first intermediate result using the first intermediate result recognition rule to parse a command in the speech signal according to the speech recognition, wherein the first intermediate result recognition rule includes recognizing the command before the speech signal reaches an end of a sentence, wherein the verify operation is further configured to:
verify the intermediate result in light of the second intermediate result recognition rule when the intermediate result recognition rule is switched to the second intermediate result recognition rule, and
verify the final result in light of the final result recognition rule when the intermediate result recognition rule is switched to the final result recognition rule; and
output an analysis result during the input of the speech signal when a command execution target and a command execution content are successfully analyzed, wherein the analysis result indicates a type of the command conveyed by the speech signal.
|