CPC G10L 15/22 (2013.01) [G10L 15/19 (2013.01); G10L 2015/228 (2013.01)] | 15 Claims |
1. A method, performed by a device for providing a voice assistant service, of providing a recommended utterance sentence related to an utterance input of a user, the method comprising:
receiving the utterance input of the user;
determining whether the utterance input is a short utterance input based on at least one of a part-of-speech (POS) of a word included in the utterance input or a length of the utterance input, wherein the POS is one of: a verb, noun, verb phrase, or noun phrase;
in response to the utterance input being determined as the short utterance input, generating a search query based on the POS of the utterance input to obtain application history data related to the utterance input from among application history data representing an execution history of one or more applications executed by the user in the device;
generating the recommended utterance sentence related to the utterance input by combining the word included in the utterance input with at least one recommended word from the obtained application history data;
determining whether the recommended utterance sentence is supported by the voice assistant service provided by the device; and
based on the recommended utterance sentence being determined to be supported by the voice assistant service, outputting the recommended utterance sentence.
|