Conversation sentence generation device, conversation sentence generation system and conversation sentence generation method

The conversational sentence generation device addresses the issue of mismatched responses by utilizing prosody analysis to identify semantic and emphasized character strings, ensuring accurate and emotionally resonant responses to user inputs.

JP2024135351AInactive Publication Date: 2024-10-04SEAMAN ARTIFICIAL INTELLIGENCE LAB CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023045983
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing conversational sentence generation technologies fail to accurately recognize the meaning of a user's utterance based on pitch (prosody) and generate inappropriate responses, leading to mismatched conversations.

Method used

A conversational sentence generation device that converts user voice information into character information, extracts prosody information, identifies semantic and emphasized character string information, and generates responsive voice information using a combination of semantic and emphasized character string information to ensure accurate understanding and appropriate responses.

Benefits of technology

The device reliably generates conversational sentences that align with the user's intended meaning and emotional tone, providing a sense of attentive listening.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135351000001_ABST
    Figure 2024135351000001_ABST
Patent Text Reader

Abstract

To provide a conversation sentence generation device, a conversation sentence generation system and a conversation sentence generation method which identify the meaning, for even a speech sentence of the same Japanese, and generate a conversation sentence (response sentence) according to the meaning of a speech which gives a larger sense of listening with respect to the speech of a user.SOLUTION: A conversation sentence generation device comprises a character conversion unit 101, a rhythm extraction unit 102, a meaning information identification unit 103, an emphasis character string identification unit 104, a first character generation unit 105, and a voice conversion unit 107.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a conversation text generation device, a conversation text generation system, and a conversation text generation method for generating second voice information from first voice information uttered by a user as a response to the utterance. [Background technology]

[0002] Patent Document 1 discloses a technology related to a dialogue system that analyzes the contents of a person's utterance, generates a response sentence to echo, and outputs it by voice. According to this technology, the response sentence is generated by extracting expressions of intention and subjectivity from the analysis results of the text data of the utterance contents based on a prepared list of special expressions, and adding a predetermined interjection frame.

[0003] Patent Document 2 discloses a generation device, method, program, and voice dialogue system that identifies emotion-evoking words based on prosodic information and generates a response sentence with content that matches the emotion-evoking words in order to generate a response sentence by echoing a user's utterance with content that matches the user's interests. This technology makes it possible to generate a response sentence by echoing a user with content that matches the user's interests and respond to the user by voice, making it possible to provide a response that gives the user a sense of attentive listening. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2009-193448 A [Patent Document 2] JP 2019-101064 A Summary of the Invention [Problem to be solved by the invention]

[0005] When a user speaks, even if the same sentence is used, the meaning of the utterance can change completely depending on the change in pitch (prosody). According to the technology disclosed in Patent Document 1, since the pitch (prosody) is not recognized, it is not possible to generate a conversation sentence (response sentence) after recognizing the meaning of the utterance, and therefore there is a problem that a conversation sentence that does not match the user's utterance is generated.

[0006] On the other hand, Patent Document 2 discloses a generation device that identifies emotion-inducing words based on prosodic information and generates conversational text with content that matches the emotion-inducing words. However, the technology disclosed in Patent Document 2 still has a problem in that while emotion-inducing words can be identified, the meaning of the utterance cannot be identified, resulting in the generation of conversational text that is inappropriate for the user's utterance.

[0007] In order to solve the above problems, the present invention aims to provide a conversational sentence generation device, a conversational sentence generation system, and a conversational sentence generation method that can identify meanings and generate conversational sentences that give a sense of attentiveness to the user's speech, even if the conversation is in the same Japanese language. [Means for solving the problem]

[0008] In order to achieve the above object, the conversation text generation device, conversation text generation system, and conversation text generation method of the present invention are characterized by having the following invention-specific features.

[0009] (1): The conversation sentence generation device of the present invention is A conversation sentence generation device that generates second voice information as a response to a first voice information uttered by a user, the conversation sentence generation device comprising: a character conversion unit that converts the first voice information into first character information; a prosody extraction unit for extracting prosody information from the first speech information; a semantic information identification unit that identifies information of the first speech information from the prosodic information; an emphasis character string specification unit that specifies emphasis character string information, which is a character string that is emphasized by a user, in the first speech information from the first character information and the prosodic information; a first character generating unit that generates second character information as a response to the first voice information from at least one of the semantic information and the emphasized character string information; The information processing device further comprises a voice conversion unit that converts the second character information into second voice information.

[0010] According to the conversation sentence generation device of (1), semantic information and emphasized character string information are identified based on prosodic information from the first speech information uttered by the user. Therefore, the conversation sentence generation device can recognize different utterances consisting of the same sentence based on the semantic information and emphasized character string information. Therefore, the conversation sentence generation device can reliably generate conversation sentences that give a sense of attentive listening to the user's utterance.

[0011] (2): In the conversation sentence generation device of the present invention, the prosodic information includes frequency information and sound pressure information; the semantic information identification unit identifies the semantic information from the frequency information, It is preferable that the emphasized character string specification unit specifies the emphasized character string information from at least one of the frequency information and the sound pressure information.

[0012] According to the conversation sentence generation device of (2), the prosodic information includes frequency information and sound pressure information, the semantic information identification unit identifies the semantic information from the frequency information, and the emphasis character string identification unit identifies the emphasis character string information from at least one of the frequency information and the sound pressure information. Therefore, the conversation sentence generation device can also identify the emphasis character string information from the sound pressure information. Therefore, even if the frequency information is not accurately identified, the conversation sentence generation device can It is possible to accurately identify emphasized character string information and reliably generate conversational text that gives the user a sense of attentive listening to his or her speech.

[0013] (3): In the conversation sentence generation device of the present invention, It is preferable that the semantic information identifying unit identifies at least one of a question and an assertion as the semantic information.

[0014] According to the conversation sentence generation device of (3), the semantic information identification unit identifies at least one of a question and an assertion as the semantic information. Therefore, the conversation sentence generation device can accurately identify the semantic information from the user's utterance. Therefore, the conversation sentence generation device can reliably generate conversation sentences that give a sense of attentive listening in accordance with the respective meanings of the user's utterance.

[0015] (4): In the conversation sentence generation device of the present invention, a second character generating unit configured to generate third character information based on identified information of the semantic information and the emphasis character string information or the first character information, on a condition that at least one of the emphasis character string information and the semantic information cannot be identified, It is preferable that the voice conversion unit converts the third text information into the second voice information.

[0016] According to the conversation sentence generation device of (4), a second character generation unit generates third character information based on the specified information among the semantic information and the emphasized character string information and the first character information, on the condition that at least one of the emphasized character string information and the semantic information cannot be specified. The third character information is information generated to be able to specify unspecified information, and is generated based on the specified information. Therefore, the conversation sentence generation device can accurately extract unspecified information from the user while giving the user a feeling of attentive listening. Therefore, the conversation sentence generation device can more reliably generate conversation sentences that give a feeling of attentive listening according to the meaning of each of the user's utterances.

[0017] (5): The conversation sentence generation system of the present invention is A conversation sentence generation device according to any one of (1) to (4), an audio input unit for acquiring the first audio information; and an audio output unit that outputs the second audio information.

[0018] (6): The conversation sentence generation method of the present invention comprises: A conversation sentence generation method for generating second voice information as a response to a first voice information uttered by a user, the method comprising: a character conversion step of converting the first voice information into first character information; a prosody extraction step of extracting prosody information from the first speech information; a semantic information identifying step of identifying semantic information of the first speech information from the prosodic information; an emphasis character string specifying step of specifying emphasis character string information, which is a character string emphasized by a user, in the first voice information from the first character information and the prosodic information; a character generating step of generating second character information as a response to the first voice information from the semantic information and the emphasized character string information; and a voice conversion step of converting the second character information into the second voice information. [Brief description of the drawings]

[0019] [Figure 1] 1 is a diagram showing an outline of a conversation sentence generation system according to the present invention; [Diagram 2] 2 is a flowchart showing a conversation generation method of the present invention. [Diagram 3] 13 is a diagram showing prosodic information of the first voice information when semantic information is assertive. FIG. [Figure 4] FIG. 13 is a diagram showing prosodic information of the first speech information when the semantic information is interrogative. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0020] Hereinafter, the present invention will be described in detail based on embodiments and the accompanying drawings.

[0021] (Configuration of conversation generation system) Fig. 1 is a schematic diagram showing an overview of a conversation sentence generation system 1 of the present invention. As shown in Fig. 1, the conversation sentence generation system 1 includes a conversation sentence generation device 10, an audio input unit 11, and an audio output unit 12. In the conversation sentence generation system 1 of this embodiment, the audio input unit 11 collects first audio information as a user's utterance, the conversation sentence generation device 10 analyzes the first audio information and generates second audio information or third audio information based on the analysis result, and the audio output unit 12 pronounces the second audio information or the third audio information as a response to the conversation.

[0022] The acoustic input unit 11 is, for example, a microphone, which collects first audio information as a user's speech, which is physical vibration information, and converts it into electromagnetic information. The acoustic input unit 11 may be provided independently of the conversation text generation device 10 described below, or may be provided integrally with the conversation text generation device 10. When the acoustic input unit 11 is provided independently of the conversation text generation device 10, the acoustic input unit 11 is connected to the conversation text generation device 10 by wired communication via a lead wire, or by wireless communication via the Internet, Bluetooth (registered trademark), infrared communication, or the like.

[0023] The sound output unit 12 is, for example, a speaker, and converts electromagnetic second or third sound information generated by the conversation text generation device 10 described later into physical vibration information, and pronounces the second or third sound information. The sound output unit 12 may be provided independently of the conversation text generation device 10 described later and the sound input unit 11 described above, or may be provided integrally with at least one of the conversation text generation device 10 and the sound input unit 11 described above. When the sound output unit 12 is provided independently of any one of the conversation text generation device 10 and the sound input unit 11, the sound output unit 12 is connected to any one of the conversation text generation device 10 and the sound input unit 11 provided independently by wired communication via a lead wire or wireless communication via the Internet, Bluetooth (registered trademark), infrared communication, or the like. In this case, the connection method between the sound input unit 11 and the sound output unit 12 may be the same or different.

[0024] The conversation sentence generation device 10 is configured with a control unit 109 such as a CPU, a memory, an I / O interface, and a recording unit 108 such as a ROM, RAM, or HDD, and analyzes first speech information and generates second speech information or third speech information based on the analysis, as described below. The conversation sentence generation device 10 includes a character conversion unit 101, a prosody extraction unit 102, a semantic information identification unit 103, an emphasis character string identification unit 104, a first character generation unit 105, a second character generation unit 106, a speech conversion unit 107, a recording unit 108, and a control unit 109. The conversation sentence generation device 10 is, for example, an information terminal such as a PC (Personal Computer) server, a smartphone, or a tablet.

[0025] The character conversion unit 101 converts the first voice information, which is the user's speech acquired by the acoustic input unit 11, into first character information, as described below. At this time, the character conversion unit 101 generates first character information in which time series information in which each sound of the first voice information occurs is associated with each character in the first voice information. The character conversion unit 101 transmits at least the converted first character information to the recording unit 108, and at this time, the first character information is subjected to morphological analysis or classification of words based on a dictionary database included in the recording unit 108, and then the first character information is transmitted to the recording unit 108. Here, the time series information is, for example, information indicating the time elapsed from the start of the first voice information until each sound (word) occurs. In other words, the time series information is information that can specify the time when each word in the first character information was generated.

[0026] As described later, the prosody extraction unit 102 extracts prosody information from the first speech information, which is the user's speech acquired by the acoustic input unit 11. At this time, the prosody extraction unit 102 generates at least one time series information of the frequency information and the sound pressure information of the first speech information as the prosody information. The prosody information generates time series information of the frequency information, which means that time series information of the frequency of the frequency component with the highest sound pressure is generated among the first speech information including a plurality of frequency components. Acquiring both the frequency information and the sound pressure information of the first speech information means that time series information of the power spectrum or the keptosrum obtained by Fourier transforming the first speech information is acquired. In addition, both the time series information of the frequency and the sound pressure (effective sound pressure level) of the frequency component with the highest sound pressure among the first speech information including a plurality of frequency components may be acquired independently. In this case, the time series information of the power spectrum is acquired as a two-dimensional array. The prosody extraction unit 102 stores the prosody information in the recording unit 108.

[0027] The semantic information identifying unit 103 identifies the meaning of the first speech information based on the prosodic information, as described below. Here, semantic information indicates the meaning of the utterance content, and includes a question, an assertion, an agreement, a dissatisfaction, or a request. For example, when a user utters "It's delicious," the utterance may be classified into two utterances, "It's delicious?" and "It's delicious!". "It's delicious?" and "It's delicious!" have different meanings, and it is estimated that the meaning of the former utterance is a question, whereas the meaning of the latter utterance is an assertion. The semantic information identifying unit 103 identifies the meaning of the utterance of the first speech information as described above, and stores the semantic information in the recording unit 108.

[0028] Although the method of identifying the semantic information is not particularly limited, it is preferable to identify the semantic information based on the frequency information of the prosodic information. For example, the semantic information is estimated based on the frequency of at least one of the first, middle and second parts of each character of the first speech information divided into three parts by time or the fluctuation of the moving average of the frequency over several tenths of a second with respect to time (simplified prosodic information for each character). In this case, when the first, middle and second parts of the frequency information of the last character "i" of "delicious?" all increase monotonically with respect to time, the semantic information is estimated as a question. Also, when the first, middle and second parts of the frequency information of "delicious?" all decrease monotonically with respect to time, the semantic information is estimated as a determination. In this case, the frequency information of the last character is divided into three parts with respect to the time series to obtain the semantic information, but the frequency information may be divided into two, four or n parts (n is an integer of 5 or more). In addition, when a sentence is composed of words other than "delicious", the prosodic information may be obtained by representing another word, or the prosodic information of multiple words or the entire sentence may be obtained by simplifying the prosodic information for each character. Regardless of the above-mentioned identification method, semantic information can be categorized by machine learning the prosodic information. In addition, methods commonly used by those skilled in the art can also be adopted as the identification method.

[0029] The emphasized character string identification unit 104 identifies emphasized character string information of the first speech information uttered by the user based on the first character information and prosodic information, as described below. The emphasized character string identification unit 104 identifies emphasized character string information based on at least one of frequency information and sound pressure information in the prosodic information, and stores the emphasized character string information in the recording unit 108.

[0030] Although the method of identifying the semantic information is not particularly limited, it is preferable that the semantic information is identified based on frequency information among the prosodic information. For example, the characteristics of the user may be stored in the recording unit 108, and the emphasized character string information may be identified by comparing the characteristics with the characteristics. The characteristics of the user may be information such as the average frequency or average sound pressure of the user from the user's speech in advance. The emphasized character string identification unit 104 calculates the ratio of the average frequency or average sound pressure to the fundamental frequency (F0) or average sound pressure of the first voice information, and when it is determined that the frequency ratio or the sound pressure ratio is equal to or greater than a certain value, it determines that the voice is emphasized and identifies the words in the portion as emphasized character string information. In addition, regardless of the above identification method, it is also possible to determine the emphasized portion by machine learning the prosodic information, and identify the words included in the determination result as emphasized character string information. In addition, methods commonly used by those skilled in the art may also be adopted as identification methods.

[0031] The emphasized character string identification unit 104 may identify multiple words as emphasized character string information, and may quantify the degree of emphasis for the multiple words. In this case, the emphasized character string information may be identified by ordering the words according to the degree of emphasis.

[0032] The first character generating unit 105 generates second character information from the semantic information and the emphasis string information, as described later. Specifically, the first character generating unit 105 selects a character string including the emphasis string information specified by the emphasis string specifying unit 104, and generates second character information by a predetermined processing based on the semantic information for the selected character string. For example, the first character generating unit 105 can generate a predicate term including the emphasis string information from among predicate terms corresponding to the semantic information. At this time, the first character generating unit 105 may select a predicate term by taking into account morpheme information and dependency information included in the first character information. In addition, the first character generating unit 105 may select a plurality of predicate terms, and may modify the endings of the predicate terms selected as the predetermined processing based on the characteristics of the user. Furthermore, the first character generating unit 105 may remove a part of the predicate term selected as the predetermined processing and combine it with other words related to the emphasis string information. For example, a word related to the emphasis string information may be selected from a dictionary database and incorporated into the first character generating unit 105. In addition, methods commonly used by those skilled in the art may also be employed as a method for generating the second character information.

[0033] The second character generating unit 106 generates third character information based on the semantic information or the emphasis character string information or the information stored in the recording unit 108, as described later. Depending on the user's utterance, the semantic information or the emphasis character string information, or both of the information may not be clearly specified. When either the semantic information or the emphasis character string information is not specified, the second character generating unit 106 generates third character information for specifying the unspecified information of the semantic information and the emphasis character string information based on the specified semantic information or the emphasis character string information. When both the semantic information and the emphasis character string information are not specified, the second character generating unit 106 generates third character information for specifying the semantic information and the emphasis character string information based on the user's characteristics stored in the recording unit 108.

[0034] When the semantic information is not specified, the second character generating unit 106 selects a character string including the emphasized character string information specified by the emphasized character string specifying unit 104, and generates the second character information by performing a predetermined process on the selected character string. For example, the second character generating unit 106 can generate a predicate term including the emphasized character string information from among the predicate terms. At this time, the second character generating unit 106 may select the predicate term by taking into account the morpheme information and dependency information included in the first character information. In addition, the second character generating unit 106 may select a plurality of predicate terms, and may modify the ending of the predicate term selected as the predetermined process based on the characteristics of the user. Furthermore, the second character generating unit 106 may remove a part of the predicate term selected as the predetermined process and combine it with another word or phrase related to the emphasized character string information. For example, a word related to the emphasized character string information may be selected from a dictionary database and incorporated into the second character generating unit 106.

[0035] When the emphasis character string information is not specified, the second character generating unit generates the second character information based on the semantic information specified by the semantic information specifying unit 103. For example, the second character generating unit 106 can generate character information including a predicate term associated with the semantic information as the third character information. At this time, the second character generating unit 106 may select a predicate term from among the predicate terms associated with the semantic information, taking into account morpheme information and dependency information included in the first character information. As the predicate term, a predicate term including one word in the first character information may be selected. In addition, the second character generating unit 106 may select multiple predicate terms, and may modify the ending of the predicate term selected as the predetermined processing based on the characteristics of the user. Furthermore, the second character generating unit 106 may remove a part of the predicate term selected as the predetermined processing, and combine another phrase related to one word in the first character information. For example, another word related to one word in the one character information may be selected from a dictionary database and incorporated into the second character generating unit 106.

[0036] When the emphasis character string information is not specified, the second character generating unit 106 can generate one piece of character information selected from the character information stored in advance in the recording unit 108 as the third character information. At this time, the second character generating unit 106 may select a predicate term by taking into account morpheme information and dependency information included in the first character information. As the predicate term, a predicate term including one word in the first character information may be selected. In addition, the second character generating unit 106 may select a plurality of predicate terms, and may modify the ending of the predicate term selected as the predetermined processing based on the characteristics of the user. Furthermore, the second character generating unit 106 may remove a part of the predicate term selected as the predetermined processing, and combine another phrase related to the one word in the first character information. For example, another word related to the one word in the one character information may be selected from a dictionary database and incorporated into the second character generating unit 106. In addition, a method commonly used by a person skilled in the art may be adopted as a method for generating the third character information.

[0037] As described below, the speech conversion unit 107 converts the second character information into second speech information or converts the third character information into third speech information, and transmits the second speech information or the third speech information to the audio output unit 12. At this time, if the semantic information is specified, the speech conversion unit 107 may impart a meaning to the second character information or the third character information and generate the second speech information or the third speech information. Specifically, a meaning is imparted to a predicate term related to the semantic information, and a predetermined process is performed so as to change the prosody of the second speech information or the third speech information based on the meaning. For example, if the first speech information is based on an utterance of "Is it delicious?", the speech conversion unit 107 can generate the second character information of "delicious", impart an assertive meaning to the second character information, and generate the second speech information of "Delicious!"

[0038] (Conversation generation method of conversation generation device 10) The following is a detailed description of various processes and functions of the conversation sentence generation device 10 of this embodiment. As described above, the conversation sentence generation device 10 and the conversation sentence generation method according to this embodiment generate a conversation sentence from the semantic information and the emphasized character string information of the user's utterance sentence.

[0039] The following describes a series of control processes for generating a conversation carried out by the conversation generation device 10, with reference to Fig. 2. Each control process is carried out by the control unit 109 unless otherwise specified.

[0040] 2, first, the first voice information is converted into first character information by the character conversion unit 101 (FIG. 2 / STEP 101). Although not shown, the converted first character information is transmitted to the recording unit 108 and stored in the recording unit 108.

[0041] For example, when a user utters "This rice is delicious," each word is classified by morphological analysis or a dictionary database, and the word information related to the word classification and the time information of the utterance start and end of each word based on the utterance start are generated as the first character information. In this case, the first character information is represented as shown in Table 1 below.

[0042] [Table 1]

[0043] Here, the spoken sentence omits words such as the particle "wa," but even for such spoken sentences, classification based on morphological analysis or a dictionary database is performed to generate first character information.

[0044] Next, the prosodic information of the first speech information is extracted by the prosodic extraction unit 102 (FIG. 2 / STEP 102). The converted prosodic information is transmitted to the recording unit 108 and stored in the recording unit 108, although not shown.

[0045] FIG. 3 is a diagram showing an example of prosodic information acquired by the prosodic feature extraction unit 102. In FIG. 3, the upper diagram shows time series information of the waveform of the first speech information, and the lower diagram shows time series information of the fundamental frequency (F0) among a plurality of frequency components. FIG. 3 also shows "delicious" in "This rice is delicious," a sentence uttered by a user. A boundary between each character of "delicious" is indicated by a dashed line. In this embodiment, the prosodic feature extraction unit 102 extracts only frequency information, but as described above, time series information of sound pressure (effective sound pressure level), a spectrogram, a keptoslam, or the like may also be extracted.

[0046] In addition, in this embodiment, the character conversion unit 101 converts the first speech information into the first character information, and then the prosody extraction unit 102 acquires the prosody information. However, the order may be reversed or parallel processing may be performed, and the order may be selected within the scope of modification by a person skilled in the art.

[0047] When the prosodic information is extracted in STEP 102, it is then determined whether or not the semantic information can be identified by the semantic information identifying unit 103 (FIG. 2 / STEP 103). As described above, the semantic information identifying unit 103 identifies the semantic information from the prosodic information. However, if the prosodic information is not extracted accurately, or if prosodic information whose semantic information cannot be identified based on the database stored in the recording unit 108 is extracted, the semantic information identifying unit 103 may not be able to clearly identify the semantic information.

[0048] When the semantic information identifying unit 103 can clearly identify the semantic information (FIG. 2 / STEP 103··YES), the semantic information identifying unit 103 identifies the semantic information based on the prosodic information (FIG. 2 / STEP 114). For example, the semantic information is acquired by the following method. When the prosodic information shown in FIG. 3 is extracted, the pronunciation characters "o", "i", "shi", and "i" of "oishii" are divided into three parts in time, and the time series fluctuations of the frequency of each of the first half, middle part, and second half of the three divisions are identified, thereby simplifying the time series fluctuations of the frequency of the entire word. In other words, the continuous time series fluctuations of the frequency of "oishii" are converted into 12 intermittent frequency fluctuations shown in Table 2.

[0049] [Table 2]

[0050] At this time, the semantic information of "delicious" is acquired based on the simplified prosodic information shown in Table 2. For example, in this embodiment, the semantic information is identified based on the simplified prosodic information of "i", which is the last character of "delicious". In this case, if the time series fluctuations of the fundamental frequency (F0) of all the first half, middle half and second half parts of the simplified prosodic information of "i" are negative, the semantic information identification unit 103 identifies assertion as the semantic information.

[0051] On the other hand, when the prosodic information shown in Figure 4 is extracted, the time series fluctuation of the frequency of the entire word is simplified by dividing each of the pronunciation characters "o," "i," "shi," and "i" of "oishii" into three parts in time and identifying the time series fluctuation of the frequency of each of the first, middle, and last parts of the division. In other words, the continuous time series fluctuation of the frequency of "oishii" is converted into the 12 intermittent frequency fluctuations shown in Table 3.

[0052] [Table 3]

[0053] At this time, the semantic information of "delicious" is acquired based on the simplified prosodic information shown in Table 3. For example, in this embodiment, the semantic information is identified based on the simplified prosodic information of "i", which is the last character of "delicious". In this case, if the time series fluctuations of the fundamental frequency (F0) of all the first half, middle half and second half parts of the simplified prosodic information of "i" are positive, the semantic information identification unit 103 identifies "question" as the semantic information.

[0054] At this time, when identifying the assertion and question, it is preferable to perform this process on the phonetic character (the phonetic character of "I" in the embodiment), but other phonetic characters may be used as the phonetic character for identifying the semantic information. There is no particular limitation on which phonetic character in the word is used to identify the semantic information, but for example, the most frequent semantic information may be identified as the semantic information after identifying the semantic information of all the phonetic characters. Also, instead of "delicious", "this" or "rice" may be used as the word for identifying the semantic information. There is no particular limitation on which word in the sentence is used to identify the semantic information, but for example, the most frequent semantic information may be identified as the semantic information of the entire sentence after identifying the semantic information of all the words. In the case where the process is performed similarly for other words constituting the sentence in addition to "delicious", for example, in the case of a sentence "This rice is delicious", the prosodic information of the three words of "This rice is delicious" and the prosodic information of the nine characters are obtained, the time series fluctuation of 27 intermittent frequencies is measured, and the semantic information may be identified based on the simplified prosodic information of one continuous part of the 27 simplified prosodic information. Also, for example, the semantic information of the emphasized character string information identified by the emphasized character string identification unit 104 described later may be identified as the semantic information of the entire sentence. In this case, the emphasized character string information is extracted before the identification of the semantic information. Note that the order of the process of extracting the semantic information and the process of identifying the emphasized character string information may be reversed, or may be parallel processes, and the order may be selected within a range that can be modified by a person skilled in the art.

[0055] In one embodiment of the present invention, semantic information is identified in accordance with a pattern of preregistered simplified prosodic information. Table 4 shows an example of a method for identifying preregistered semantic information in this embodiment. In this embodiment, the semantic information is identified based on Table 4 below, but as mentioned above, another identification method may be used. In addition, the semantic information is not limited to questions and assertions, and for example, agreement, dissatisfaction, request, etc. may be recognized as semantic information based on a combination of time-series fluctuations of the fundamental frequency (F0).

[0056] [Table 4]

[0057] In one embodiment of the present invention, the pitch transitions of all words or characters are not necessarily used, and the meaning can be determined only from the first half, middle part, and second half of the last sound "i", and if such simplified prosodic information is specified, the semantic information can be specified using only that part. Also, in this embodiment, simplified prosodic information is obtained from the beginning, middle, and end of all words, but which part is used for the determination may be changed for each word or for each emphasized character string information described later. For example, only the simplified prosodic information of the first half of "i" in "delicious" may be used to obtain the semantic information, or the first half of "o" and the second half of "i" in "delicious" may be used to obtain the semantic information.

[0058] After the semantic information is extracted in STEP 114, it is then determined whether or not emphasized character string information is identified by the emphasized character string identifying unit 104 (FIG. 2 / STEP 115). As described above, the emphasized character string identifying unit 104 identifies semantic information from prosodic information. However, if prosodic information is not extracted accurately, or if prosodic information from which emphasized character string information cannot be identified based on the database stored in the recording unit 108 is extracted, the emphasized character string identifying unit 104 may not be able to clearly identify emphasized character string information.

[0059] When the emphasized character string specification unit 104 can clearly specify the semantic information (FIG. 2 / STEP 115·YES), the emphasized character string specification unit 104 specifies emphasized character string information based on the prosodic information and the first character information (FIG. 2 / STEP 116). As described above, the emphasized character string information is specified by storing the user's characteristics in the recording unit 108 and comparing the characteristics with the first voice information. Specifically, the emphasized character string specification unit 104 calculates the ratio between the average frequency or average sound pressure (effective sound pressure level) related to the user's characteristics and the fundamental frequency or fundamental sound pressure (effective sound pressure level) of the first voice information, and when it is determined that the frequency ratio or the sound pressure ratio is equal to or greater than a certain value, it determines that the voice is emphasized and specifies the words in the portion as emphasized character string information. Also, when there are multiple emphasized portions, multiple words are specified as emphasized character string information. At this time, the degree of emphasis is quantified according to the magnitude of the frequency ratio or the sound pressure ratio, and the degrees of emphasis of multiple emphasized character string information are specified.

[0060] When the emphasized character string information is specified in STEP 116, the first character generating unit 105 then generates second character information based on the prosodic information and the emphasized character string information (FIG. 2 / STEP 117). For example, when the semantic information of the first speech information "This rice is delicious" is an assertion (see FIG. 3) and "rice" is specified as the emphasized character string information, a predicate term according to the assertion is selected, and a predicate term that includes "rice" is generated. That is, a sentence such as "Is it rice?" is generated as the second character information.

[0061] In addition, a word related to "rice" may be selected from a dictionary database to generate the second character information. For example, if "salad" is selected as a word related to "rice," a sentence such as "How about a salad?" may be generated as the second character information.

[0062] After the second character information is generated in STEP 117, the second character information is then converted into second voice information by the voice conversion unit 107 (FIG. 2 / STEP 118). A predetermined tone of voice may be selected for the second voice information according to the characteristics of the user. For example, if the characteristics of the user are determined to be "male," a tone of voice corresponding to "female" may be selected for the second voice information. Alternatively, the user may select a tone of voice corresponding to the second voice information in advance.

[0063] Furthermore, prosody may be added so that specific semantic information is added to the second character information. For example, when a sentence such as "How about some salad?" is generated as the second character information, the frequency of the last character "ka" may be increased over time so that it has a questioning meaning.

[0064] When the second voice information is generated from the first character information in STEP 118, the conversation sentence generation device 10 then ends its control process. At this time, the generated second voice information is output via the audio output unit 12 and transmitted to the user.

[0065] On the other hand, if the semantic information is not clearly identified (FIG. 2 / STEP 103·NO), the semantic information identifying unit 103 does not identify the meaning, but determines whether or not the emphasized character string information is identified (FIG. 2 / STEP 125).

[0066] If the emphasized character string identifying unit 104 can clearly identify the emphasized character string information (FIG. 2 / STEP 125·YES), the emphasized character string identifying unit 104 identifies the emphasized character string information based on the prosodic information and the first character information (FIG. 2 / STEP 126). The emphasized character string information is preferably generated in the same manner as in STEP 116 as described above, but may be identified in a different manner.

[0067] When the emphasis character string information is extracted in STEP 126, the second character generation unit 106 then generates third character information based on the emphasis character string information (FIG. 2 / STEP 127). For example, in the first speech information "This rice is delicious," if "rice" is identified as the emphasis character string information, a predicate argument including "rice" is generated. That is, a sentence such as "What is rice?" is generated as the third character information. Based on the third character information, the conversation sentence generation device 10 generates a conversation that can identify semantic information, and by communicating it to the user, the conversation sentence generation device 10 identifies the semantic information.

[0068] When the third character information is generated in STEP 127, the third character information is then converted into the second voice information by the voice conversion unit 107 (FIG. 2 / STEP 128). At this time, the third character information may be converted into the second voice information by the method described above. When the process of STEP 128 ends, the conversation sentence generation device 10 then ends its control process. At this time, the generated second voice information is output via the audio output unit 12 and transmitted to the user.

[0069] On the other hand, if the emphasis character string information is not clearly specified in STEP 115 (FIG. 2 / STEP 115·NO), the second character generation unit 106 generates third character information based on the semantic information without specifying the emphasis character string information (FIG. 2 / STEP 127). For example, if the semantic information of the user's utterance is specified as a question, a predicate term including "question" is generated, "What are you wondering about?". Based on the third character information, the conversation sentence generation device 10 generates a conversation sentence that can specify emphasis character string information, and by transmitting it to the user, the conversation sentence generation device 10 specifies the emphasis character string information. After the processing of STEP 127, as described above, the process proceeds to STEP 128, and the above-mentioned processing is executed.

[0070] Furthermore, if the emphasis character string information is not clearly identified in STEP 125 (FIG. 2 / STEP 115·NO), the third character information is generated based on the database stored in the recording unit 108 (FIG. 2 / STEP 127). For example, in the database stored in the recording unit 108, a conversation sentence such as "I didn't hear you well, please say it again" is selected based on the database, and the conversation sentence is generated as the third character information. Based on the third character information, the conversation sentence generation device 10 generates a conversation sentence that can identify the emphasis character string information and semantic information, and by transmitting it to the user, the conversation sentence generation device 10 identifies the emphasis character string information and semantic information. After the processing of STEP 127, as described above, the process proceeds to STEP 128, and the above-mentioned processing is executed.

[0071] The conversation text generation system, the conversation text generation device 10, and the conversation text generation method according to the present invention have been described above, but the present invention can be used within the scope of the present invention and within the technical scope thereof, in addition to the above-mentioned embodiments. Furthermore, the embodiments of the present invention can be modified and altered within the scope of the present invention that is easily modifiable and alterable by those skilled in the art. [Explanation of symbols]

[0072] 1·· Conversational text generation system, 10·· Conversational text generation device, 11·· Acoustic input unit, 12·· Acoustic output unit, 101·· Character conversion unit, 102·· Prosody extraction unit, 103·· Semantic information identification unit, 104·· Emphasis character string identification unit, 105·· First character generation unit, 106·· Second character generation unit, 107·· Speech conversion unit, 108·· Recording unit, 109·· Control unit.

Claims

1. A conversation sentence generation device that generates second speech information as a response to first speech information uttered by a user, the conversation sentence generation device comprising: a character conversion unit that converts the first voice information into first character information; a prosody extraction unit for extracting prosody information from the first speech information; a semantic information determination unit for determining semantic information of the first speech information from the prosodic information; an emphasis character string specification unit that specifies emphasis character string information, which is a character string that is emphasized by a user, in the first speech information from the first character information and the prosody information; a first character generating unit that generates second character information as a response to the first voice information from at least one of the semantic information and the emphasized character string information; and a voice conversion unit that converts the second character information into second voice information. Conversational sentence generation device.

2. 2. The conversation sentence generation device according to claim 1, the prosodic information includes frequency information and sound pressure information; the semantic information identification unit identifies the semantic information from the frequency information, the emphasis character string specification unit specifies the emphasis character string information from at least one of the frequency information and the sound pressure information. Conversational sentence generation device.

3. 2. The conversation sentence generation device according to claim 1, The semantic information specifying unit specifies at least one of a question and an assertion as the semantic information. Conversational sentence generation device.

4. 2. The conversation sentence generation device according to claim 1, a second character generating unit configured to generate third character information based on identified information of the semantic information and the emphasis character string information or the first character information, on a condition that at least one of the emphasis character string information and the semantic information cannot be identified, The speech conversion unit converts the third character information into the second speech information on the condition that at least one of the emphasis character string information and the semantic information cannot be identified. Conversational sentence generation device.

5. A conversation sentence generation device according to any one of claims 1 to 4, an audio input unit for acquiring the first audio information; and a sound output unit that outputs the second sound information. Conversational text generation system.

6. A conversation sentence generation method for generating second voice information as a response to first voice information uttered by a user, the method comprising: a character conversion step of converting the first voice information into first character information; a prosody extraction step of extracting prosody information from the first speech information; a semantic information specifying step of specifying semantic information of the first speech information from the prosodic information; an emphasis character string specifying step of specifying emphasis character string information, which is a character string emphasized by a user, in the first voice information from the first character information and the prosodic information; a character generating step of generating second character information as a response to the first voice information from the semantic information and the emphasized character string information; and a voice conversion step of converting the second character information into the second voice information. A method for generating conversational text.

Citation Information

Patent Citations

  • Conversation system and conversation processing program

    JP2004226881A

  • Method and system to handle queries whose intention are unclear in conversational system

    JP2020140210A

  • Efficient dialogue configuration

    JP2022501652A

  • Dialog system, method, and program

    JP2009193448A

  • Response sentence generation device, method, program and voice interactive system

    JP2019101064A