CPC G10L 15/1815 (2013.01) [G06F 3/167 (2013.01); G10L 15/22 (2013.01); G10L 2015/223 (2013.01); G10L 15/30 (2013.01)] | 16 Claims |
1. An electronic apparatus comprising:
a memory storing one or more commands; and
a processor connected to the memory and configured to control the electronic apparatus,
wherein the processor comprises processing circuitry and is configured, by executing the one or more instructions, to:
identify a first intention word and a first target word from first speech,
acquire second speech received after the first speech based on at least one of the identified first intention word or the identified first target word not matching a word stored in the memory,
acquire a similarity between the first speech and the second speech, and
acquire response information based on the first speech and the second speech based on the similarity being a threshold value or more,
based on the first intention word not matching an intention word stored in the memory and the first target word matching a target word stored in the memory,
acquire a second intention word included in the second speech,
acquire a first similarity between the first intention word and the second intention word based on the second intention word matching the intention word stored in the memory, and
acquire response information based on the second intention word and the first target word based on the first similarity being a threshold value or more, and/or
based on the first intention word matching an intention word stored in the memory and the first target word not matching a target word stored in the memory,
acquire a second target word included in the second speech
acquire second similarity between the first target word and the second target word based on the second target word matching the target word stored in the memory, and
acquire response information based on the first intention word and the second target word based on the second similarity being a threshold value or more.
|