| CPC G10L 15/22 (2013.01) [G10L 2015/223 (2013.01); G10L 2015/225 (2013.01)] | 14 Claims |

|
1. An electronic device comprising:
memory configured to store instructions; and
at least one processor electrically connected to the memory and configured individually or collectively to execute the instructions and to control the electronic device to:
generate a first suggested-utterance list providable to a user;
obtain voice metadata of each utterance included in the first suggested-utterance list;
generate a second suggested-utterance list by extracting, from the first suggested-utterance list, utterances capable of successful execution by the controllable device, according to pre-conditions for executing commands corresponding to utterances in the first suggested-utterance list and current state information about the controllable device;
display the second suggested-utterance list; and
transmit a command based on an utterance included in the second suggested-utterance list for controlling the controllable device,
wherein at least one processor is configured individually or collectively to cause the electronic device to:
obtain, from the voice metadata, a precondition for executing, in the controllable device, each utterance included in the first suggested-utterance list; and
generate the second suggested-utterance list by comparing the precondition to the current state information and extracting, from the first suggested-utterance list, utterances capable of successful execution according to the state information.
|