CPC G06F 3/167 (2013.01) [G06N 20/00 (2019.01); G10L 15/08 (2013.01); G10L 15/22 (2013.01); G10L 15/26 (2013.01); G10L 15/30 (2013.01); G10L 17/24 (2013.01); G10L 2015/228 (2013.01)] | 17 Claims |
1. A speech recognition method comprising:
determining at least one activation word among a plurality of activation words based on information related to an operating environment in which a speech recognition apparatus is operating;
receiving an input audio signal;
performing speech recognition on the input audio signal, based on whether the input audio signal includes a speech signal of an utterance of an activation word included in the determined at least one activation word; and
outputting a result of the performing of the speech recognition,
wherein the performing of the speech recognition comprises:
extracting text of an utterance of a user by performing speech recognition on the input audio signal,
determining whether a speech command included in the input audio signal is a direct command or an indirect command based on natural language understanding and sentence structure analysis of the extracted text, wherein the direct command is speech uttered by the user with an intent for the speech recognition apparatus to output the result of the performing of the speech recognition, and wherein the indirect command is speech uttered by the user such that the speech recognition apparatus is unable to determine that the user intends for the speech recognition apparatus to output the result of the performing of the speech recognition,
when it is determined that the speech command is the direct command, performing an operation of responding to the speech command, and
when it is determined that the speech command is the indirect command:
determining whether a confirmation command is detected, and
in response to detecting the confirmation command from the user, performing the operation of responding to the speech command,
wherein the at least one activation word corresponds to executable functions of the speech recognition apparatus.
|