Dialog agent, reply sentence generation method, and non-transitory computer-readable recording medium
AssigneeCasio Computer Co., Ltd.
InventorTakahiro Tanaka
Life of this patent
Estimating the term…
Abstract
A text generating device includes an acquirer that acquires the utterance of the user relative to content provided in real time, a retriever that retrieves from a microblog server data relating to the content, a sentence generator that generates a sentence relating to the content and the acquired utterance of the user, based on the data retrieved by the retriever 140, and an voice outputter and/or a display for using the generated sentence to reply to the user.
Claims17
A dialog device comprising:
- a processor;
- and
- a speaker or a display;
- the processor being configured to
- acquire an utterance of a user relative to content provided in real time,
- set a retrieving time period that is a time period of retrieval in response to a timing of the utterance of the user,
- continuously execute a retrieval operation to retrieve posted data from a microblog server during a period when the set retrieving time period elapses since the utterance of the user, the posted data relating to the content and being an utterance of another user who posts, during the period when the set retrieving time period elapses since the utterance of the user, an utterance related to the utterance of the user from a terminal other than the dialog device to the microblog server;
- generate, based on the posted data retrieved by the retrieval operation, a reply sentence that is a response to the acquired utterance of the user;
- and
- output the generated reply sentence to the user through the speaker or display, wherein the processor
- until a count of posted data related to the utterance of the user having given by other users since the utterance of the user is less than a threshold, measures a count of posting related to the utterance of the user given by each of the other users,
- updates a cumulative posting count of each of the other users by cumulating, each time the user makes an utterance, the count of posting of each of the other users having measured since start of the content, and
- selects, from among the other users, a user for which the posted data is to be retrieved from the microblog server, based on the updated cumulative posting count of each of the other users.
A reply sentence generation method comprising:
- acquiring an utterance of a user relative to content provided in real time;
- setting a retrieving time period that is a time period of retrieval in response to a timing of the utterance of the user;
- connecting to a microblog server;
- continuously executing a retrieval operation to retrieve posted data from the microblog server during a period when the set retrieving time period elapses since the utterance of the user, the posted data relating to the content and being an utterance of another user who posts, during the period when the set retrieving time period elapses since the utterance of the user, an utterance related to the utterance of the user from a terminal other than the dialog device to the microblog server;
- generating, based on the posted data retrieved by the retrieval operation, a reply sentence that is a response to the acquired utterance of the user;
- until a count of posted data related to the utterance of the user having given by other users since the utterance of the user is less than a threshold, measuring a count of posting related to the utterance of the user given by each of the other users;
- updating a cumulative posting count of each of the other users by cumulating, each time the user makes an utterance, the count of posting of each of the other users having measured since start of the content;
- and
- selecting, from among the other users, a user for which the posted data is to be retrieved from the microblog server, based on the updated cumulative posting count of each of the other users.
A non-transitory computer-readable recording medium storing a program for causing a computer to function as:
- an acquirer that acquires the utterance of a user relative to content provided in real time;
- a setter that sets a retrieving time period that is a time period of retrieval in response to a timing of the utterance of the user;
- a retriever that continuously executes a retrieval operation to retrieve posted data from a microblog server during a period when the set retrieving time period elapses since the utterance of the user, the posted data relating to the content and being an utterance of another user who posts, during the period when the set retrieving time period elapses since the utterance of the user, an utterance related to the utterance of the user from a terminal other than the dialog device to the microblog server;
- a sentence generator that generates, based on the retrieved posted data retrieved by the retriever, a reply sentence that is a response to the acquired utterance of the user;
- and
- an evaluator that
- until a count of posted data related to the utterance of the user having given by other users since the utterance of the user is less than a threshold, measures a count of posting related to the utterance of the user given by each of the other users;
- updates a cumulative posting count of each of the other users by cumulating, each time the user makes an utterance, the count of posting of each of the other users having measured since start of the content;
- and
- selects, from among the other users, a user for which the posted data is to be retrieved from the microblog server, based on the updated cumulative posting count of each of the other users.
Dependencies are inferred from the claim text.