Patent ID: 11922127
Assignee: SAMSUNG ELECTRONICS CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. An electronic device, comprising:
a memory;
a communication module comprising communication circuitry; and
a processor, operatively connected with the memory and the communication module, configured to control the electronic device to:
obtain an utterance text corresponding to utterance speech;
obtain an intent of the utterance text and emotion information based on the utterance speech and the utterance text;
obtain a response text for the utterance text based on the intent of the utterance text and the emotion information;
obtain a markup language including information about an output unit of text of the response text based on at least one of the intent of the utterance text, the emotion information, or the response text; and
add the markup language to the response text and provide the response text, wherein
the output unit of text includes at least one selected from among a phoneme unit, a consonant and vowel unit, a syllable unit, or a word unit.