CPC G10L 15/22 (2013.01) [G01C 21/3608 (2013.01); G01C 21/3629 (2013.01); G06F 40/166 (2020.01); G06F 40/295 (2020.01); G10L 15/18 (2013.01); G10L 15/30 (2013.01); G10L 2015/223 (2013.01)] | 14 Claims |
1. A vehicle comprising:
a voice processor configured to convert an utterance command of a user into text information and recognize a domain and a named entity corresponding to the utterance command based on the text information;
a database configured to store answer text corresponding to the domain and the named entity;
a speaker;
a communicator configured to transmit a control command to the control target device; and
a processor configured to receive information corresponding to the domain and the named entity, correct the answer text stored in the database based on the information corresponding to the domain and the named entity, and control the speaker to output the corrected answer text,
wherein, when a number of times the named entity is set as a destination is increased, the processor is further configured to correct the answer text stored in the database to include a phrase associated with the number of times,
wherein when the domain is a vehicle control system and the named entity is a name indicating a control target device, the information corresponding to the domain and the named entity includes at least one of weather information or activation information of a vehicle system, and
wherein when a condition for operating the control target device and the weather information do not match or the condition and the activation information of the vehicle system do not match, the processor is configured to correct the answer text to be changed to an interrogative sentence including a first phrase associated with the weather information or a second phrase associated with the activation information of the vehicle system,
wherein the processor is configured to control the communicator to transmit a control command corresponding to the utterance command to the control target device only when a condition for operating the control target device and the weather information match or the condition and the activation information of the vehicle system match.
|