| CPC G10L 15/22 (2013.01) [G10L 15/19 (2013.01)] | 15 Claims |

|
1. An electronic device comprising:
at least one processor including processing circuitry; and
memory storing instructions when executed by at the least one processor individually or collectively, cause the electronic device to:
receive a first signal corresponding to a first input of a user;
provide a first response corresponding to the first input, the first input and the first response corresponding to a first domain;
obtain cross-domain data which is used to support a cross-domain scenario in which a consecutive plurality of utterances respectively correspond to different domains, based on the first input or the first response;
store the cross-domain data and activation information of the cross-domain data in the memory based on a library domain, the activation information including information on a period during which a voice recognition service activated based on the first input lasts to process an input following the first input;
receive a second signal corresponding to a second input of the user following the first input, the second input corresponding to a second domain that is different from the first domain;
when the second input is received within the period and includes an anaphora that matches a category of the obtained cross-domain data based on the library domain, read the cross-domain data from the memory, the cross-domain data being obtained from the first input or the first response; and
provide a second response corresponding to the second input based on the read cross-domain data when the second input includes the anaphora.
|