Voice interactive method and voice interactive device
The voice interaction method addresses complex user-device communication by generating response sentences with additional information, reducing the number of user utterances and enhancing interaction efficiency.
Patent Information
- Application Number
- JP2023043232
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
AI Technical Summary
Communication between users and voice dialogue devices becomes complicated with an excessive number of utterances, leading to inefficiencies.
A voice interaction method that recognizes user input at multiple times, generates and outputs response sentences with additional information, and processes user inputs to streamline dialogue.
Simplifies communication by reducing the number of utterances required, ensuring smoother interaction and accurate response delivery.
Smart Images

Figure 2024132463000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a voice dialogue method and a voice dialogue device. [Background technology]
[0002] Patent Document 1 proposes an information providing device that displays explanations of the meanings of in-vehicle systems on a meter display and outputs the explanations in linked voice. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 5056711 Summary of the Invention [Problem to be solved by the invention]
[0004] When a series of conversations goes back and forth between a voice dialogue device and a user, if the number of utterances is too large, there is a risk that communication between the user and the voice dialogue device will become complicated. An object of the present invention is to facilitate smoother communication between a user and a voice dialogue device that responds to the user's speech. [Means for solving the problem]
[0005] In a voice dialogue method according to one embodiment of the present invention, a controller executes the following processes: recognizing a first voice of a user input at a first time; extracting a response sentence to the first voice and additional information to be added to the response sentence based on a recognition result of the first voice; outputting the first response sentence in which the additional information is added to the response sentence; recognizing a second voice of the user input at a second time after outputting the first response sentence as voice information related to the additional information; and generating and outputting a second response sentence based on the first response sentence and the recognition result of the second voice. Effect of the Invention
[0006] The present invention can facilitate smoother communication between a user and a voice dialogue device that responds to the user's speech. [Brief description of the drawings]
[0007] [Figure 1] 1 is a schematic configuration diagram of an example of a vehicle equipped with a voice dialogue device according to an embodiment; [Diagram 2] 1 is a block diagram showing an example of a functional configuration of a voice dialogue device according to an embodiment; [Diagram 3] FIG. 2 is a schematic diagram of a first example of a dialogue according to the voice dialogue method of the embodiment. [Figure 4] FIG. 4 is a schematic diagram of a second example of a dialogue according to the voice dialogue method of the embodiment. [Diagram 5] FIG. 13 is a schematic diagram of an example of a first response sentence table. [Figure 6] FIG. 13 is a schematic diagram of an example of a second response sentence table. [Figure 7] FIG. 11 is a schematic diagram of a third example of a dialogue according to the voice dialogue method of the embodiment. [Figure 8] FIG. 11 is a schematic diagram of a fourth example of a dialogue according to the voice dialogue method of the embodiment. [Figure 9] FIG. 11 is a schematic diagram of a fifth example of a dialogue according to the voice dialogue method of the embodiment. [Figure 10] FIG. 13 is a schematic diagram of a sixth example of a dialogue according to the voice dialogue method of the embodiment. [Figure 11] 2 is a flowchart of a voice dialogue method according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0008] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Note that each drawing is a schematic view and may differ from the actual one. In addition, the embodiment of the present invention shown below is an example of an apparatus and a method for embodying the technical idea of the present invention, and the technical idea of the present invention does not specify the structure, arrangement, etc. of the components as described below. The technical idea of the present invention can be modified in various ways within the technical scope defined by the claims described in the claims.
[0009] (First embodiment) (composition) 1 is a schematic diagram of an example of a vehicle equipped with a voice dialogue device according to an embodiment. The vehicle 1 includes an in-vehicle device 2, an in-vehicle device controller 3, a navigation device 4, a driving control device 5, a map database (hereinafter referred to as "map DB") 6, a voice input device 7, a human-machine interface (hereinafter referred to as "HMI") 8, and a voice dialogue device 9. The in-vehicle device 2 is various devices mounted on the vehicle 1. For example, the in-vehicle device 2 may be an indicator lamp disposed on an instrument panel in front of the driver's seat of the vehicle 1 or in the vicinity of an A-pillar.
[0010] The in-vehicle device controller 3 is an electronic control unit (ECU) that controls the operation of the in-vehicle device 2, and generates control signals for controlling the in-vehicle device 2. The in-vehicle device controller 3 includes, for example, a processor and peripheral components such as a storage device. The processor may be, for example, a CPU (Central Processing Unit) or an MPU (Micro-Processing Unit). The storage device may include a semiconductor storage device, a magnetic storage device, an optical storage device, etc. The storage device may include a register, a cache memory, a memory such as a ROM (Read Only Memory) and a RAM (Random Access Memory) used as a main memory device.
[0011] The in-vehicle device controller 3 may be formed of dedicated hardware for executing each information processing described below. For example, the in-vehicle device controller 3 may include a functional logic circuit set in a general-purpose semiconductor integrated circuit. For example, the in-vehicle device controller 3 may include a programmable logic device (PLD) such as a field programmable gate array (FPGA).
[0012] The navigation device 4 calculates route information of a target driving route from the current position of the vehicle 1 to the destination. The cruise control device 5 automatically controls at least one of the acceleration, deceleration, and steering of the vehicle 1. For example, the driving control device 5 may be an automatic driving device that performs automatic driving control that controls the acceleration, deceleration, and steering of the vehicle 1 so as to cause the vehicle 1 to drive autonomously along the target driving route set by the navigation device 4.
[0013] For example, the cruise control device 5 may be a driving assistance device that assists in driving the vehicle 1 by automatically controlling at least one of acceleration, deceleration, and steering of the vehicle 1 instead of the driver. The driving assistance device may be, for example, a vehicle dynamics control (VDC), a lane keeping device, a vehicle distance control device, or an automatic braking device. The in-vehicle device 2, the navigation device 4, and the driving control device 5 are examples of the "in-vehicle device" described in the claims.
[0014] The map DB 6 stores road map data. The road map data may be a navigation map (sometimes referred to as a "navigation map" in the following description) that can be used for the navigation device 4 to calculate a target driving route. The navigation map includes, as information for each road, information on road nodes indicating reference points on road reference lines (e.g., the center line of a road), information on road links indicating the section state of roads between road nodes, information on road line types, road shape, gradient, number of lanes, legal speed (speed limit), road width, presence or absence of merging points, interchanges on expressways, facilities along the roads (service areas and roadside stations), and the like. The road line types include, for example, general roads and expressways. The road map data may be high-precision map data suitable as a map used for automatic driving control by the cruise control device 5.
[0015] The voice input device 7 is a sensor that acquires voice input from a user of the vehicle 1 and generates voice data. For example, the voice input device 7 may be a microphone. For example, the voice input device 7 may be a microphone array that can estimate the direction of a sound source. The HMI 8 is an interface device that transmits and receives information between the voice dialogue device 9 and the user. The HMI 8 includes a display device that is visible to the user of the vehicle 1 (for example, a display screen of a navigation system), and a speaker and a buzzer for outputting warning sounds, notification sounds, and voice information.
[0016] The voice dialogue device 9 is an electronic control unit (ECU) that operates as a controller that recognizes the contents of the voice uttered by the user of the vehicle 1, generates a response sentence in response to the user's voice, and outputs the response sentence from the HMI 8. For example, the voice dialogue device 9 may output the generated response sentence as voice information from a speaker of the HMI 8. Also, for example, the voice dialogue device 9 may display the generated response sentence as text information on a display device of the HMI 8. The voice dialogue device 9 may also output a control signal for controlling the in-vehicle device 2 to the in-vehicle device controller 3 based on the contents of the user's utterance acquired in dialogue with the user. Also, the voice dialogue device 9 may output an operation signal for the navigation device 4 or the driving control device 5 based on the contents of the user's utterance.
[0017] The voice dialogue device 9 includes a processor 9a and peripheral components such as a storage device 9b. The processor 9a may be, for example, a CPU or an MPU. The storage device 9b may include a semiconductor storage device, a magnetic storage device, an optical storage device, etc. The storage device 9b may include memories such as a register, a cache memory, and a ROM and a RAM used as a main storage device. The functions of the voice dialogue device 9 described below are realized, for example, by the processor 9a executing a computer program stored in the storage device 9b. The voice dialogue device 9 may be formed by dedicated hardware for executing each information processing described below. For example, the voice dialogue device 9 may include a functional logic circuit set in a general-purpose semiconductor integrated circuit. For example, the voice dialogue device 9 may include a programmable logic device such as a field programmable gate array.
[0018] 2 is a block diagram showing an example of a functional configuration of the voice dialogue device 9. The voice dialogue device 9 includes a voice recognition unit 20, a natural language understanding unit 21, a response generation unit 22, and a response sentence storage unit . The voice recognition unit 20 recognizes voice input from the user acquired by the voice input device 7 and converts it into linguistic information such as text. The voice recognition unit 20 outputs the linguistic information generated by converting the voice input to the natural language understanding unit 21. The natural language understanding unit 21 analyzes the linguistic information output from the voice recognition unit 20 by natural language processing, and acquires the user's speech intention (that is, "intent").
[0019] 3 is a schematic diagram of a first example of a dialogue by the voice dialogue method of the embodiment. In this embodiment, it is assumed that a user's voice is input to the voice dialogue device 9 at a first time t1, a second time t2 after the first time t1, and a third time t3 after the second time t2, and the voice recognition unit 20 and the natural language understanding unit 21 recognize a first voice U1 input at the first time t1, a second voice U2 input at the second time t2, and a third voice U3 input at the third time t3, respectively. For example, in the example dialogue in Figure 3, the user's utterances "I'd like to stop at a roadside station on the way. Can you recommend some options?", "What's the genre?" and "Let's go with R2" are input as the first speech U1, the second speech U2 and the third speech U3, respectively.
[0020] For example, the natural language understanding unit 21 may acquire, as the speech intention, a “query for route points” for inquiring about route points that can be visited on the target driving route of the vehicle 1. For example, the natural language understanding unit 21 may acquire the user's speech intention based on a table that stores words included in language information generated from the user's voice in association with the speech intention. 3, it is assumed that the user utters a question sentence as the first speech U1, "I want to stop at a roadside station on the way. Can you tell me some candidates?". The natural language understanding unit 21 may determine that the intention of the utterance is "inquiry about a stopover point" based on the words "on the way," "want to stop at," "candidates," and "tell me."
[0021] For example, the natural language understanding unit 21 may acquire the user's speech intention based on a learning model that has been machine-learned to associate words included in language information generated from the user's voice with the speech intention. The natural language understanding unit 21 also acquires keywords (i.e., "entities") that are meaningful elements (significant elements) included in the utterance. For example, when the user utters "I want to stop by a roadside station on the way, please tell me some candidates," the natural language understanding unit 21 may acquire the keyword "roadside station."
[0022] Please refer to Fig. 2. The response generation unit 22 generates responses that respond to the user's voice. In the case of the dialogue example of Fig. 3, the response generation unit 22 generates a first response sentence S1 that responds to the first voice U1, a second response sentence S2 that responds to the second voice U2, and a third response sentence S3 that responds to the third voice U3. The response generation unit 22 outputs the generated first response sentence S1 to third response sentence S3 from the HMI 8.
[0023] On the other hand, when the user's voice includes a control instruction for the in-vehicle device 2, the response generation unit 22 generates a control signal for the in-vehicle device 2. The response generation unit 22 outputs the generated control signal to the in-vehicle device controller 3. When the user's voice includes an operation instruction for the navigation device 4 or the driving control device 5, the response generation unit 22 generates an operation signal for the navigation device 4 or the driving control device 5 and outputs it to the navigation device 4 or the driving control device 5, respectively.
[0024] When generating the first response sentence S1 in response to the first voice U1, the response generator 22 extracts a basic response sentence which is a response sentence in response to the first voice U1, and an additional response sentence to be added to the basic response sentence. The basic response sentence is a sentence including information provided from the voice input device 7 in response to the first voice U1 (hereinafter, this may be referred to as "basic response information"). For example, if the first voice U1 is a question, the basic response information may be information including a response to the question of the first voice U1.
[0025] For example, the response generation unit 22 may extract basic response sentences and additional response sentences based on a first response sentence table that stores associations between the recognition result of the first voice U1, basic response sentence templates, and additional response sentence templates. 5 is a schematic diagram of an example of the first response sentence table. The first response sentence table is a table that associates the recognition result of the first voice U1 with a basic response sentence template and an additional response sentence template. That is, each record of the first response sentence table stores the recognition result of the first voice U1 (e.g., speech intention and keywords), a basic response sentence template, and an additional response sentence template.
[0026] For example, when the user utters "I want to stop at a roadside station on the way, can you tell me some candidates" as the first speech U1, the response generation unit 22 refers to the first row of the first response sentence table in Fig. 5 and extracts a basic response sentence template "Found [basic response information]" corresponding to the combination of the speech intention "Inquiry about route points" and the keyword "Roadside station". The [basic response information] included in the template indicates the position where the basic response information is substituted. The response generation unit 22 extracts candidate roadside stations R1, R2, and R3 on the target travel route as basic response information from the map DB 6. The response generation unit 22 substitutes the basic response information into the extracted basic response sentence template to generate a basic response sentence "R1, R2, and R3 were found."
[0027] The response generator 22 also refers to the first row of the first response sentence table in Fig. 5 to extract an additional response sentence template "There is a restaurant in [additional information]" corresponding to the combination of the utterance intention "Inquiry about route points" and the keyword "Roadside station". [Additional information] included in the template indicates the position where the additional information is substituted. The response generation unit 22 refers to the map DB 6 and extracts restaurants at roadside stations (R2, R3) from the basic response information (R1, R2, R3) as additional information. The response generation unit 22 substitutes the additional information into the extracted template of the additional response sentence to generate an additional response sentence "There are restaurants at R2 and R3."
[0028] The response generation unit 22 generates a first response sentence S1 “R1, R2, and R3 were found, there are restaurants at R2 and R3” by adding an additional response sentence to the basic response sentence, and outputs the first response sentence S1 from the HMI 8. The response generator 22 may extract the basic response sentence and the additional response sentence based on a learning model that has been machine-learned to associate the recognition result of the first speech U1 with the basic response sentence and the additional response sentence.
[0029] The response sentence storage unit 23 temporarily stores the first response sentence S1. For example, the response sentence storage unit 23 may store the first response sentence S1 until the second response sentence S2 is generated, and may erase the first response sentence S1 after the second response sentence S2 is generated. Furthermore, if the second voice U2 is not input even after a predetermined time has elapsed after the first response sentence S1 is output, the response sentence storage unit 23 may erase the first response sentence S1 after the predetermined time has elapsed.
[0030] The type of information to be extracted as additional information may be set in advance according to the type of basic response information (for example, information to be substituted into a template of a basic response sentence), for example. For example, in the first row of the first response sentence table, the basic response information is information about the roadside station, and the additional information is information about the restaurant at the roadside station. For example, information that is frequently asked in relation to basic response information may be set as the type of additional information.
[0031] For example, if the basic response information is information about roadside stations, questions related to roadside stations are often about information about restaurants, toilets, and gas stations at roadside stations, so information about restaurants at roadside stations may be set as a type of additional information. Furthermore, for example, information that is likely to commonly co-occur with basic response information (ie, co-occurrence information of basic response information) or information that is likely to commonly be used simultaneously with basic response information may be set as the type of additional information. Since the basic response information is extracted in response to a keyword contained in the first voice U1, the type of additional information may be set in relation to a keyword expected to be contained in the first voice U1.
[0032] At a second time t2 after the response generation unit 22 outputs the first response sentence S1, when voice information related to the additional information included in the first response sentence S1 is input from the user's second voice U2, the natural language understanding unit 21 acquires the speech intention of the second voice U2 and also acquires keywords included in the second voice U2. For example, assume that the user utters a question "What genre is the restaurant?" as the second speech U2. The natural language understanding unit 21 acquires a "category inquiry" inquiring about a category (genre) as the utterance content. The natural language understanding unit 21 also acquires a keyword "restaurant."
[0033] The response generation unit 22 acquires the recognition result of the second speech U2 from the natural language understanding unit 21. When the second speech U2 is input after the first response sentence S1 is output, the response generation unit 22 recognizes the second speech U2 as speech information uttered by the user regarding the additional information included in the first response sentence S1. The response generation unit 22 reads out the first response sentence S1 from the response sentence storage unit 23 and extracts the additional information included in the first response sentence S1.
[0034] Next, the response generation unit 22 determines a target theme intended by the user as the subject of the second speech U2. For example, the response generation unit 22 may set the target theme to be a restaurant, which is additional information included in the first response sentence S1, based on the keyword “restaurant” acquired from the second speech U2. In addition, when the second voice U2 is a question asking about a category and the second voice U2 does not mention what category the question is about, the response generation unit 22 may set the additional information contained in the first response sentence S1 as the target theme.
[0035] For example, as in the example dialogue of Figure 3, when the user simply utters "What is the genre?" as the second voice U2, the response generation unit 22 may set the restaurant, which is additional information included in the first response sentence S1, as the target theme. This enables the response generator 22 to generate the second response sentence S2 that answers the category (genre) of the restaurants at roadside stations R2 and R3 that are presented in the additional information.
[0036] The response generator 22 generates a second response sentence S2 based on the recognition result of the second voice U2 and the first response sentence S1. For example, the response generator 22 may extract the second response sentence S2 based on a second response sentence table that stores associations between the speech intention and target theme of the second voice U2 and templates of the second response sentence S2. 6 is a schematic diagram of an example of the second response sentence table. The second response sentence table is a table that associates the intention of the second voice U2, the target theme, and the template of the second response sentence S2. That is, each record of the second response sentence table stores the intention of the second voice U2, the target theme, and the template of the second response sentence S2.
[0037] For example, when the user utters "What is the genre?" as the second speech U2, the speech intention "inquiry about category" is acquired, and the target theme is set to "restaurant." The response generation unit 22 refers to the first row of the second response sentence table in Fig. 6 and extracts a template for the second response sentence S2, "The [additional information] is [category]." The [category] included in the template indicates the position where the category of the additional information is substituted. The response generation unit 22 extracts the restaurant categories (genres) of roadside stations R2 and R3, which are additional information, from the map DB 6. The response generation unit 22 substitutes the extracted categories and additional information into the template for the second response sentence S2 to generate the second response sentence S2, "R2 is Italian, and R3 is French."
[0038] The response generator 22 outputs the generated second response sentence S2 from the HMI 8. The response generator 22 may extract the second response sentence 2 based on a learning model that has been machine-learned to associate the speech intention and target theme of the second voice U2 with a template of the second response sentence S2. Thereafter, when the user inputs a third voice U3 "Let's set it to R2", the response generation unit 22 generates a third response sentence S3 "Okay, I'll set R2 as a stopover", outputs it from the HMI 8, and also outputs an operation signal to the navigation device 4 to set the roadside station R2 as a stopover on the target driving route.
[0039] As described above, the voice dialogue device 9 of this embodiment extracts a basic response sentence to the first voice U1 and an additional response sentence to be added to the basic response sentence in response to the first voice U1 input at the first time t1, and outputs a first response sentence S1 by adding the additional response sentence to the basic response sentence. Then, the voice dialogue device 9 generates a second response sentence S2 based on the second voice U2 and the first response sentence S1 input at the second time t2.
[0040] This allows the voice dialogue device 9 to present not only the basic response sentence to the first voice U1 but also additional information related to the basic response sentence in advance to the user in the first response sentence S1, thereby reducing the number of times the user speaks. As a result, the number of times the user speaks in a series of conversations between the user and the voice dialogue device 9 can be reduced. This makes it possible to prevent communication between the user and the voice dialogue device 9 from becoming complicated, and makes communication between the user and the voice dialogue device 9 smoother.
[0041] 4 is a schematic diagram of a second example of a dialogue by the voice dialogue method of the embodiment. The exchange of the first voice U1, the first response sentence S1, the second voice U2, and the second response sentence S2 in the dialogue example of FIG. 4 is similar to the dialogue example of FIG. In the example dialogue of FIG. 4, when the user inputs the third speech U3 “That Italian place”, the response generation unit 22 determines that the subject of the user’s speech is roadside station R2 based on the second response sentence S2 “R2 is Italian, and R3 is French”, generates the third response sentence S3 “Okay, I’ll make R2 a stopover”, outputs it from the HMI 8, and also outputs an operation signal to the navigation device 4 to set roadside station R2 as a stopover on the target driving route. As a result, even if the user's third voice U3 is more ambiguous than the third voice U3 in FIG. 3, "Let's choose R2," the contents of the user's utterance can be accurately accepted.
[0042] 7 is a schematic diagram of a third example of a dialogue by the voice dialogue method of the embodiment. In the dialogue example of FIG. 7, a second response sentence S2 including destination information of the vehicle 1 is generated. For example, if the user utters the first speech U1 as "I want to go to a roadside station. Can you tell me some candidates?", the natural language understanding unit 21 determines that the intention of the utterance is to "inquire about a destination" to inquire about places that can be set as a destination, and acquires the keyword "roadside station."
[0043] The response generation unit 22 refers to the second row of the first response sentence table in Figure 5 and extracts a basic response sentence template “[Basic response information] was found” and an additional response sentence template “There is a restaurant in [Additional information]” corresponding to the combination of the speech intention “Inquiry about destination” and the keyword “Roadside station”. The response generator 22 generates a first response sentence S1 “R1, R2, and R3 were found, and there are restaurants at R2 and R3” in the same manner as in the dialogue example of FIG.
[0044] Next, when the user speaks the second voice U2, "What is the genre?", the response generation unit 22 generates the second response sentence S2, "R2 is Italian and R3 is French", as in the first dialogue example, and outputs it from the HMI 8. Next, when the user inputs "Let's set it to R2" as the third voice U3, the response generation unit 22 generates a third response sentence S3 "Okay, I'll set R2 as the destination" and outputs it from the HMI 8, and also outputs an operation signal to the navigation device 4 to set roadside station R2 as the destination of the target driving route.
[0045] 8 is a schematic diagram of a fourth example of a dialogue by the voice dialogue method of the embodiment. The exchange of the first voice U1, the first response sentence S1, the second voice U2, and the second response sentence S2 in the dialogue example of FIG. 7 is similar to the dialogue example of FIG. In the example dialogue of FIG. 8, when the user inputs the third speech U3 “That Italian place”, the response generation unit 22 determines that the subject of the user's speech is roadside station R2 based on the second response sentence S2 “R2 is Italian, and R3 is French”, generates the third response sentence S3 “Okay, I'll make R2 my destination”, outputs it from the HMI 8, and also outputs an operation signal to the navigation device 4 to set roadside station R2 as the destination of the target driving route. As a result, even if the user's third voice U3 is more ambiguous than the third voice U3 in FIG. 3, "Let's choose R2," the contents of the user's utterance can be accurately accepted.
[0046] 9 is a schematic diagram of a fifth example of a dialogue by the voice dialogue method according to the embodiment. In the dialogue example of FIG. 9, a second response sentence S2 including route information of the vehicle 1 is generated. For example, when the user utters the first speech U1 such as "Please tell me some possible places to get off the expressway," the natural language understanding unit 21 determines that the intention of the utterance is a "route inquiry" to inquire about driving routes that can be set as a target driving route, and obtains the keywords "expressway" and "get off."
[0047] The response generation unit 22 refers to the third row of the first response sentence table in Figure 5 and extracts a basic response sentence template “You can get off at [basic response information]” and an additional response sentence template “The place that is not crowded is [additional information]” corresponding to the combination of the utterance intention “inquire about route” and the keywords “expressway” and “get off”. The response generation unit 22 extracts interchanges IC1, IC2, and IC3, which are exits of the expressway on the target driving route, as basic response information. The response generation unit 22 substitutes the basic response information into the extracted basic response sentence template to generate a basic response sentence "You can exit at IC1, IC2, and IC3."
[0048] The response generation unit 22 also obtains information on the congestion status of the expressway exits (IC1, IC2, IC3) from the navigation device 4, which is basic response information, and extracts the exits (IC2, IC3) that are not congested among these expressway exits as additional information. The response generation unit 22 generates an additional response sentence "IC2 and IC3 are not congested" by substituting the additional information into the template of the extracted additional response sentence. The response generation unit 22 generates a first response sentence S1 "You can get off at C1, IC2, and IC3, IC2 and IC3 are not congested" by adding the additional response sentence to the basic response sentence, and outputs it from the HMI 8.
[0049] Next, when the user utters "Take IC2 please" as the second speech U2, the natural language understanding unit 21 acquires the keyword "IC2." The response generation unit 22 sets the highway exit, which is additional information included in the first response sentence S1, as the target theme. The response generator 22 refers to the second row of the second response sentence table in Fig. 6 and extracts a template of a second response sentence S2, "Set a route to exit the expressway with [keyword]", which corresponds to the combination of the speech intention "inquiry about route" acquired from the first speech U1 and the target theme "Expressway exit". The [keyword] included in the template indicates the position where the keyword of the second speech U2 is substituted. The response generating unit 22 substitutes the keyword "IC2" into the template of the second response sentence S2 to generate the second response sentence S2 "A route to get off the expressway at IC2 will be set", and outputs it from the HMI 8. Also, it outputs an operation signal to the navigation device 4 to change the target driving route to a route to get off the expressway at interchange IC2.
[0050] 10 is a schematic diagram of a sixth example of a dialogue by the voice dialogue method according to the embodiment. In the dialogue example of FIG. 10, a second response sentence S2 including on-vehicle device information relating to the on-vehicle device 2 is generated. For example, when the user utters the first speech U1, "What lamp is this VDC off?", the natural language understanding unit 21 determines that the intention of the utterance is a "semantic inquiry" to inquire about the meaning of the keyword mentioned in the first speech U1, and obtains the keywords "VDC off" and "lamp."
[0051] The response generation unit 22 refers to the fourth row of the first response sentence table in Figure 5 and extracts a basic response sentence template “This lamp is a VDC off indicator light” and an additional response sentence template “It lights up when VDC is off” corresponding to the combination of the speech intention “inquiry of meaning” and the keywords “VDC off” and “lamp”. The response generation unit 22 generates a first response sentence S1 “This lamp is a VDC off indicator light and turns on when VDC is off” by adding an additional response sentence template to the basic response sentence template, and outputs it from the HMI 8.
[0052] Next, when the user utters "What is that?" as the second speech U2, the natural language understanding unit 21 determines that the intention of the utterance is "inquiry about the meaning" and acquires the keyword "that." The response generator 22 extracts "VDC" indicated by the demonstrative pronoun "sore" included in the keyword from the additional response sentence of the first response sentence S1, and sets it as the target theme of the second speech U2. The response generation unit 22 refers to the third row of the second response sentence table in Figure 6 and extracts a template of a second response sentence S2 corresponding to the combination of the speech intention “inquiry of meaning” and the target theme “VDC”, namely “VDC uses various sensors to monitor the driver's vehicle operation and vehicle movement...”. The response generator 22 outputs the extracted template from the HMI 8 as a second response sentence S2.
[0053] (operation) 11 is a flowchart of the voice dialogue method according to the embodiment. In step S1, the voice input device 7 inputs a first voice U1. In step S2, the voice recognition unit 20 and the natural language understanding unit 21 of the voice dialogue device 9 recognize the first voice U1. In step S3, the response generation unit 22 extracts a basic response sentence to the first voice U1 and an additional response sentence to be added to the basic response sentence. In step S4, the response generation unit 22 adds the additional response sentence to the basic response sentence to generate a first response sentence S1 and outputs it from the HMI 8. In step S5, the voice input device 7 inputs a second voice U2 which is voice information related to the additional response sentence of the first response sentence S1. In step S6, the voice recognition unit 20 and the natural language understanding unit 21 recognize the second voice U2. In step S7, the response generation unit 22 generates a second response sentence S2 based on the first response sentence S1 and the recognition result of the second voice U2, and outputs it from the HMI 8. The process then ends.
[0054] (Effects of the embodiment) (1) In the voice dialogue device 9, the controller executes the following processes: a process of recognizing a first voice U1 of the user input at a first time t1; a process of extracting a response sentence to the first voice U1 and additional information to be added to the response sentence based on a recognition result of the first voice U1; a process of outputting a first response sentence S1 in which the additional information is added to the response sentence; a process of recognizing a second voice U2 of the user input at a second time t2 after outputting the first response sentence S1 as voice information related to the additional information; and a process of generating and outputting a second response sentence S2 based on the recognition result of the first response sentence S1 and the second voice U2.
[0055] This allows additional information related to the basic response sentence to the first speech U1 to be included in advance in the first response sentence S1 and presented to the user, thereby reducing the number of times the user speaks to the voice dialogue device 9. As a result, the number of times the user speaks in a series of conversations between the user and the voice dialogue device 9 can be reduced. This makes it possible to prevent communication between the user and the voice dialogue device 9 from becoming complicated, and makes communication between the user and the voice dialogue device 9 smoother. Furthermore, based on the vehicle information C1 acquired in response to the first voice U1, the information to be provided to the user in the response sentence to the second voice U2 can be narrowed down, so that even if the content of the second voice U2 is ambiguous, the user's intention can be accurately accepted. This allows the user to simplify the sentence input by voice. Also, the user can input intuitively. As a result, it is possible to prevent communication between the user and the voice dialogue device 9 from becoming complicated, and communication between the user and the voice dialogue device 9 can be made smoother.
[0056] (2) The first voice U1 and the second voice U2 may include a question sentence, so that a response sentence that responds to the question of the first voice U1 and the second voice U2 can be presented to the user. (3) The first response sentence S1 may be a sentence including candidates to be presented to the user, so that candidates for answers to the question of the first voice U1 can be presented to the user.
[0057] (4) If the second voice U2 is a question asking about a category and the second voice U2 does not mention what category the question is about, the voice dialogue device 9 may extract additional information contained in the first response sentence S1 and generate a second response sentence S2 that answers the target category presented in the additional information. This eliminates the need for the user to vocalize what category the question pertains to, making it possible to facilitate smoother communication between the user and the voice dialogue device 9.
[0058] (5) The voice dialogue device 9 may generate the second response sentence S2 including any of the destination information, waypoint information, route information, or on-board device information related to the on-board device 2 of the vehicle 1 in which the user is riding. This can improve the convenience for the user when using the vehicle 1. [Explanation of symbols]
[0059] 1 ... vehicle, 2a ... in-vehicle equipment, 2b ... navigation device, 2c ... driving control device, 3 ... in-vehicle equipment controller, 6 ... map database, 7 ... voice input device, 8 ... human-machine interface, 9 ... voice dialogue device, 9a ... processor, 9b ... storage device, 20 ... voice recognition unit, 21 ... natural language understanding unit, 22 ... response generation unit, 23 ... response sentence storage unit
Claims
1. A process of recognizing a first speech of a user input at a first time; A process of extracting a response sentence to the first voice and additional information to be added to the response sentence based on a recognition result of the first voice; a process of outputting a first response sentence obtained by adding the additional information to the response sentence; a process of recognizing a second voice of the user input as voice information related to the additional information at a second time after outputting the first response sentence; a process of generating and outputting a second response sentence based on the first response sentence and a recognition result of the second speech; A voice dialogue method, characterized in that a controller executes the above.
2. 2. The voice dialogue method according to claim 1, wherein the first voice and the second voice include a question sentence.
3. 2. The speech dialogue method according to claim 1, wherein the first response sentence is a sentence including candidates to be presented to the user.
4. The voice dialogue method according to claim 1, characterized in that, when the second voice is a question asking about a category and the second voice does not mention what category the question is about, the controller extracts the additional information included in the first response sentence, and generates the second response sentence that answers the category of the target presented in the additional information.
5. The voice dialogue method according to claim 1, characterized in that a second response sentence is generated that includes any one of destination information, waypoint information, route information, or on-board equipment information regarding the on-board equipment of the vehicle in which the user is riding.
6. A sensor for detecting a voice signal uttered by a user; a controller that executes a process of recognizing a first speech of a user input at a first time, a process of extracting a response sentence to the first speech and additional information to be added to the response sentence based on a recognition result of the first speech, a process of outputting a first response sentence in which the additional information has been added to the response sentence, a process of recognizing a second speech of the user input at a second time after outputting the first response sentence as speech information related to the additional information, and a process of generating and outputting a second response sentence based on the first response sentence and the recognition result of the second speech; A voice dialogue device comprising:
Citation Information
Patent Citations
Interactive device, interactive method, interactive system, computer program and interactive scenario generation device
JP2007264198A
Voice recognition apparatus, voice recognition method and voice recognition program
JP2008089625A
Conversation support device, method and program
JP2013073355A
Managing Graphical User Interface Rendering with a Voice-Driven Computing Infrastructure
JP2021501926A
Information processing device and program
JP2022092529A
