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

Claim 9:
10. A method of controlling an electronic device, the method comprising:
obtaining an utterance text corresponding to utterance speech;
obtaining an intent of the utterance text and emotion information based on the utterance speech and the utterance text;
obtaining a response text for the utterance text based on the intent of the utterance text and the emotion information;
obtaining 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
adding the markup language to the response text and providing the response text, wherein the output unit of text is at least one selected from among a phoneme unit, a consonant and vowel unit, a syllable unit, or a word unit.