US 11,710,481 B2
Electronic device and method for providing conversational service
Jina Ham, Suwon-si (KR); Kangwook Lee, Suwon-si (KR); Soofeel Kim, Suwon-si (KR); Yewon Park, Suwon-si (KR); and Wonjong Choi, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Feb. 21, 2020, as Appl. No. 16/797,339.
Claims priority of application No. 10-2019-0104573 (KR), filed on Aug. 26, 2019.
Prior Publication US 2021/0065705 A1, Mar. 4, 2021
Int. Cl. G10L 15/22 (2006.01); G10L 15/30 (2013.01); G10L 15/02 (2006.01); G10L 15/197 (2013.01); G10L 15/18 (2013.01); G10L 15/25 (2013.01); G06V 40/16 (2022.01)
CPC G10L 15/22 (2013.01) [G06V 40/172 (2022.01); G10L 15/02 (2013.01); G10L 15/1815 (2013.01); G10L 15/197 (2013.01); G10L 15/25 (2013.01); G10L 15/30 (2013.01); G10L 2015/025 (2013.01); G10L 2015/223 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A method, performed by an electronic device, of providing a conversational service to a user, the method comprising:
receiving an utterance input;
identifying a temporal expression representing a time in a text obtained from the utterance input by applying a pre-trained temporal expression extraction model to the obtained text;
determining a time point related to the utterance input based on the temporal expression, wherein the determined time point related to the utterance input corresponds to a time before the utterance input is received;
selecting a database corresponding to the determined time point from among a plurality of databases storing information about a conversation history of the user using the conversational service;
interpreting the text based on information about the conversation history of a user, the conversation history information being acquired from the selected database;
generating a response message to the utterance input based on a result of the interpreting; and
outputting the generated response message,
wherein the plurality of databases comprise a first database storing information about the conversation history of the user accumulated before a preset time point and a second database storing information about the conversation history of the user accumulated after the preset time point, and
wherein the selecting of the database corresponding to the determined time point from among the plurality of databases comprises:
selecting the first database from among the plurality of databases based on the determined time point related to the utterance input being before the preset time point; and
selecting the second database from among the plurality of databases based on the determined time point related to the utterance input being after the preset time point, and
wherein the determining of the time point related to the utterance input comprises:
predicting probability values including probabilities that the temporal expression will represent each of a plurality of time points; and
determining a time point, corresponding to a highest probability value from among the predicted probability values, as the time point related to the utterance input.