US 12,069,011 B2
Electronic device and method for controlling electronic device
Jiyeon Lee, Suwon-si (KR); Hoyoung Kim, Suwon-si (KR); Jaehyung An, Suwon-si (KR); Dongil Yang, Suwon-si (KR); and Cheolseung Jung, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Oct. 18, 2021, as Appl. No. 17/503,819.
Application 17/503,819 is a continuation of application No. PCT/KR2021/012059, filed on Sep. 6, 2021.
Claims priority of application No. 10-2020-0121778 (KR), filed on Sep. 21, 2020.
Prior Publication US 2022/0094651 A1, Mar. 24, 2022
Int. Cl. H04L 51/04 (2022.01); G06F 40/20 (2020.01); G06F 40/30 (2020.01)
CPC H04L 51/04 (2013.01) [G06F 40/20 (2020.01); G06F 40/30 (2020.01)] 4 Claims
OG exemplary drawing
 
1. An electronic device comprising:
a memory; and
at least one processor, individually and/or collectively configured to:
input, into a first model, sentences related to a plurality of conversation rooms generated through a messenger application and acquire characteristic information of conversations included in the plurality of respective conversation rooms,
based on a first sentence being an input of a user, input the first sentence and the characteristic information into a second model and acquire first scores indicating a similarity between the first sentence and the characteristics of the conversations included in the plurality of respective conversation rooms,
input the first sentence and the sentences related to the plurality of conversation rooms into a third model and acquire second scores indicating relevance between the sentences related to the plurality of conversation rooms and the first sentence,
identify a conversation room corresponding to the first sentence among the plurality of conversation rooms based on the characteristic information, the first scores, and the second scores, and
input the first sentence into the identified conversation room,
through a formality classification module in the first model, classify the formality levels of the conversations included in the plurality of respective conversation rooms, and acquire third scores indicating a formality of the conversations included in the plurality of respective conversation rooms based on the classified formality levels,
through a topic classification module in the first model, classify the topics of the conversations included in the plurality of respective conversation rooms into a plurality of categories, and acquire fourth scores corresponding to topics of the conversations included in the plurality of respective conversation rooms based on an amount of sentences corresponding to each of the plurality of classified categories in the conversations included in the plurality of respective conversation rooms,
through an activation classification module in the first model, acquire fifth scores indicating degrees of activation of the plurality of respective conversation rooms based on input frequencies of sentences of all users of the plurality of respective conversation rooms, and a frequency of inputting sentences into the plurality of respective conversation rooms,
through the second model, acquire a score corresponding to a formality level of the first sentence and a score corresponding to a topic of the first sentence, calculate first similarity between the acquired score corresponding to the formality level of the first sentence and third scores, and second similarity between the acquired score corresponding to the topic of the first sentence and the fourth scores and, and acquire the first scores corresponding to the plurality of respective conversation rooms based on the calculated first similarity and second similarity,
through the first model, classify the conversations included in the plurality of conversation rooms into a first conversation corresponding to an entire time, a second conversation corresponding to a specified time, and a third conversation including sentences input by the user, and
identify formality levels and topics corresponding to the respective first conversation, second conversation, and third conversation, and acquire the third scores and the fourth scores corresponding to the plurality of respective conversation rooms based on the identified formality levels and topics.