CPC G10L 15/22 (2013.01) [G06F 3/0482 (2013.01); G10L 2015/223 (2013.01)] | 14 Claims |
1. An electronic device comprising:
a display;
a microphone;
a wireless communication circuit;
a processor operatively connected to the display, the microphone, and the wireless communication circuit; and
a memory operatively connected to the processor,
wherein the memory is configured to:
store a quick command registered in the electronic device by a user, wherein a plurality of different user-customized tasks are mapped to the same quick command; and
store instructions which, when executed, cause the processor to:
receive a first speech input according to utterance of a user through the microphone,
identify text corresponding to the first speech input,
obtain context information related to the electronic device when the quick command to which the plurality of different user-customized tasks are mapped is included in the identified text,
identify execution condition information related to the plurality of user-customized tasks,
select one task of the plurality of different user-customized tasks having an execution condition matching the context information based at least in part on the context information and the execution condition information, wherein the execution condition is a selection condition included in the execution condition information mapped to the quick command, and
perform the selected one task using at least a part of the electronic device.
|