Data generating device, data generating method and recording medium
Through the combination of speech synthesis and recognition technology and matching processing, high-precision vocal simulation data is generated, which solves the problem of speech synthesis errors in texts that are not given pronunciation information and ensures the correct learning of the speech recognition model.
Patent Information
- Application Number
- CN202010896712.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-02-21
- Filing Date
- 2020-08-31
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2040-08-31
AI Technical Summary
In the case of text that is not given pronunciation information, existing speech recognition technology is prone to mispronunciation during speech synthesis, resulting in incorrect generated simulation data and inability to effectively learn correct pronunciation.
Speech data is generated by the speech synthesis unit and recognized by the speech recognition unit. The matching processing unit matches the original text and the recognized text, calculates the matching degree, uses the speech data with high matching degree to generate accurate vocal simulation data, and repeatedly processes different pronunciations. method candidates to improve accuracy.
Pronunciation simulation data including high-precision pairing of speech and text is generated, ensuring that the learning of the End-to-End speech recognition model can be carried out with correct pronunciation, improving the reliability and accuracy of the data.
Smart Images

Figure CN113299266B_ABST
Abstract
Description
[0001] This application is based on Japanese Patent Application No. 2020-027986 (filing date: February 21, 2020) and claims priority from the aforementioned application. The present application incorporates the entire contents of the aforementioned application by reference. Technical Field
[0002] Embodiments of the present invention relate to a data generating device, a data generating method, and a program. Background Art
[0003] It is known that speech recognition technology converts spoken speech into text. In such speech recognition technology, for example, a model in which speech input is set to its text output as end-to-end can be learned to improve performance. Generally speaking, in the learning of the model, a huge amount of speech utterance data and its transcription texts are required at the same time. As learning data used in the learning of the model, it is considered to use text with pronunciation information to perform speech synthesis to generate simulated data that simulates speech utterance.
[0004] However, in the case of only text without pronunciation information, the synthesized speech becomes incorrect due to mispronunciation, etc. The model cannot be properly learned by simulation data including a pair of incorrect synthesized speech and text. Summary of the invention
[0005] An object of the present invention is to provide a data generation device, a data generation method, and a program capable of generating highly accurate utterance simulation data including a pair of voice and text.
[0006] The data generation device involved in one embodiment includes a speech synthesis unit, a speech recognition unit, a matching processing unit, and a data set generation unit. The speech synthesis unit generates speech data based on the original text. The speech recognition unit generates recognized text by speech recognition based on the speech data generated by the speech synthesis unit. The matching processing unit matches the original text with the recognized text generated by the speech recognition unit. The data set generation unit generates a data set by matching the speech data that will become the source of the recognized text whose matching degree with the original text satisfies certain conditions with the original text according to the matching result.
[0007] According to the information processing device with the above configuration, it is possible to generate highly accurate utterance simulation data including a pair of voice and text. BRIEF DESCRIPTION OF THE DRAWINGS
[0008] Figure 1 This is a block diagram illustrating the functional structure of a data generating device according to one embodiment.
[0009] Figure 2This is a block diagram illustrating a hardware configuration of a data generating device according to one embodiment.
[0010] Figure 3 This is a flowchart illustrating the processing operation of the data generating device involved in one embodiment.
[0011] Figure 4A It is a diagram showing a first example of matching results of a data generating device according to one embodiment.
[0012] Figure 4B It shows that Figure 4A FIG. 1 is an example of the matching results when different readings of the original text are used.
[0013] Figure 5 It is a diagram showing a second example of the matching result of the data generating device involved in one embodiment.
[0014] Fig. 6A It is a diagram showing a third example of the matching result of the data generating device according to one embodiment.
[0015] Figure 6B It shows that Fig. 6A FIG. 1 is an example of the matching results when different readings of the original text are used.
[0016] Figure 7 It is a diagram showing a fourth example of the matching result of the data generating device involved in one embodiment.
[0017] Figure 8 It is a diagram showing a fifth example of the matching result of the data generating device involved in one embodiment.
[0018] (Explanation of symbols)
[0019] 100: simulation data generating device; 101: text acquisition unit; 102: speech synthesis unit; 103: speech recognition unit; 104: matching processing unit; 105: simulation data generating unit; 106: list making unit; 107: language analysis dictionary storage unit; 108: list storage unit; 1004: auxiliary storage device; 1005: input device; 1006: output device; 1007: communication device. DETAILED DESCRIPTION
[0020] Hereinafter, the embodiments of the present invention will be described with reference to the accompanying drawings. In addition, the same or similar symbols are added to the elements that are the same or similar to the elements that have been described, and repeated descriptions are basically omitted. For example, when there are multiple same or similar elements, sometimes a common symbol is used to describe each element without distinguishing it, and sometimes a branch number is used in addition to the common symbol to distinguish each element.
[0021] [One embodiment]
[0022] (structure)
[0023] Figure 1 This is a block diagram schematically showing the structure of a simulation data generating device 100 as a data generating device according to one embodiment.
[0024] The simulation data generation device 100 is a computer such as a server computer or a personal computer, and generates utterance simulation data including a pair of speech and text. The simulation data generation device 100 includes a text acquisition unit 101, a speech synthesis unit 102, a speech recognition unit 103, a matching processing unit 104, a simulation data generation unit 105, and a list creation unit 106 as processing function units. The simulation data generation device 100 may also include a language analysis dictionary storage unit 107 and a list storage unit 108.
[0025] The text acquisition unit 101 receives input of an original text and transmits the original text to the speech synthesis unit 102 and the matching processing unit 104 .
[0026] The speech synthesis unit 102 analyzes the original text, infers the reading (pronunciation), stress (accent), intonation, etc. based on the original text, and generates speech data through speech synthesis. In order to infer the reading and stress, the speech synthesis unit 102 can use the language analysis dictionary stored in the language analysis dictionary storage unit 107. The language analysis dictionary, for example, defines the reading and stress that can be assigned to characters, words, phrases (clause) or sentences (sentence). The speech synthesis unit 102 infers the reading and stress based on the correspondence between the characters, words, phrases or sentences defined in the language analysis dictionary and the characters, words, phrases or sentences contained in the original text. It also includes where to segment the original text. When there are multiple possible combinations in the correspondence between the language analysis dictionary and the original text, as described later, the speech synthesis unit 102 can use these combinations as other candidates for speech synthesis. As described later, upon receiving the matching result from the matching processing unit 104 , the speech synthesis unit 102 can generate different speech data by assigning different readings or accents to at least a portion of the original text. The speech synthesis unit 102 transmits the generated speech data to the speech recognition unit 103 .
[0027] The speech recognition unit 103 receives the speech data generated by the speech synthesis unit 102 , generates text from the speech data through speech recognition, and outputs the text as a recognition result (also referred to as “recognized text”) to the matching processing unit 104 .
[0028] The matching processing unit 104 receives the original text from the text acquisition unit 101, receives the recognition result from the speech recognition unit 103, matches the original text and the recognition result, extracts the difference (also called "difference"), and outputs it to the simulation data generation unit 105. In addition, the matching processing unit 104 can also output the difference to the speech synthesis unit 102. As described above, the speech synthesis unit 102 that receives the difference assigns other readings or stresses to the characters, words, phrases or sentences of the original text containing the difference, and generates speech data again based on the original text. In addition, the matching processing unit 104 can also output the matching result to the list creation unit 106.
[0029] The simulation data generation unit 105 as a data set generation unit calculates the degree of matching based on the difference part received from the matching processing unit 104, and generates utterance simulation data as a data set that corresponds the voice data generated by the speech synthesis unit 102 to the original text based on the difference part between the original text and the recognition result. In one embodiment, the simulation data generation unit 105 calculates the degree of matching (also referred to as "matching degree") for the original text based on the difference part between the original text and the recognition result. Then, the data set is generated using the voice data that is the source of the recognition result whose degree of matching satisfies the predetermined conditions. The degree of matching is calculated, for example, as the accuracy of correct answer of text. The accuracy of correct answer of text refers to the consistency rate of text with the original text (correct answer text). The degree of matching can also be calculated as the accuracy of correct answer of words. Alternatively, the degree of matching can also be calculated as the number of characters or words that are consistent with the original text.
[0030] When the simulation data generation unit 105 generates a plurality of speech data according to a plurality of candidates of pronunciation or stress and generates a plurality of recognition results according to each speech data, it is possible to generate a data set using only the speech data that is the source of the recognition result with the highest degree of matching. When there are multiple recognition results with the same degree of matching, the simulation data generation unit 105 may also randomly select any one. Alternatively, the simulation data generation unit 105 may also use all the speech data that is the source of the recognition result with a matching degree above a predetermined threshold to generate a data set that corresponds each speech data to the original text.
[0031] The list creation unit 106 receives the matching result from the matching processing unit 104 and creates a list for recording the processing history.
[0032] The language analysis dictionary storage unit 107 stores a predefined language analysis dictionary that can be used for speech synthesis by the speech synthesis unit 102 .
[0033] The list storage unit 108 stores the list created by the list creation unit 106 .
[0034] Figure 2The hardware configuration example of the simulation data generating device 100 described above is schematically shown. Figure 2 As shown, the simulation data generating device 100 includes a CPU (Central Processing Unit) 1001, a RAM (Random Access Memory) 1002, a ROM (Read Only Memory) 1003, an auxiliary storage device 1004, an input device 1005, an output device 1006 and a communication device 1007.
[0035] The above-mentioned processing function of the simulation data generating device 100 is realized by CPU 1001 expanding the program stored in ROM 1003 or auxiliary storage device 1004 to RAM 1002 and executing the program. CPU 1001 is an example of a hardware processor. The hardware processor is not limited to a general-purpose processor such as CPU 1001, and can also be a special-purpose processor such as ASIC (Application Specific Integrated Circuit) or FPGA (Field-Programmable Gate Array).
[0036] The auxiliary storage device 1004 includes a computer-readable storage medium that stores data in a nonvolatile manner, and may be, for example, a HDD (Hard Disk Drive) or an SDD (Solid State Drive). The auxiliary storage device 1004 operates as a storage unit including a language analysis dictionary storage unit 107 and a list storage unit 108.
[0037] The input device 1005 includes, for example, a keyboard, a mouse, a joystick, a microphone, etc. The output device 1006 includes, for example, a display device such as a liquid crystal display or an organic EL display, a speaker, etc. The input device 1005 and the output device 1006 may also be an integrated touch panel type device that combines a display device such as a liquid crystal panel and an input device such as a touch pad.
[0038] The communication device 1007 performs wireless or wired communication with an external device. The communication device 1007, for example, has a LAN (Local Area Network) port, is connected to a communication network using a LAN cable, and transmits and receives data with an external device via the communication network. The communication device 1007 may have a wireless module such as a wireless LAN module or a Bluetooth (registered trademark in Japan) module. In addition, the communication device 1007 may include an external interface such as a USB port.
[0039] As described above, in the learning of speech recognition models represented by the end-to-end model, a large amount of data including voice and text pairs is required. If there is a text with pronunciation information, it is possible to generate simulated data that simulates the speech utterance by using speech synthesis. However, in the case of only text without pronunciation information, it is possible to generate simulated data containing incorrect voice data by misreading during speech synthesis.
[0040] For example, when there is a Japanese text such as "espo-tsu wo mitai" (corresponding spelling is "i-spo-tsu wo mitai"), it is originally desired to use the Japanese pronunciation such as "i-spo-tsu wo mitai" (corresponding spelling is "i-spo-tsu wo mitai") for learning. However, when the pronunciation is guessed wrong, it becomes simulated data corresponding to the Japanese voice such as "espo-tsu wo mitai" (corresponding spelling is "esupo-tsu wo mitai"). When using such simulated data, it leads to learning "espo-tsu wo mitai" through the pronunciation such as "espo-tsu wo mitai".
[0041] As described above, when the reading is automatically estimated based on text data to generate simulated speech, if the reading is estimated incorrectly, there is a possibility that the utterance that is desired to be learned with correct pronunciation cannot be learned.
[0042] Therefore, the simulation data generating device 100 involved in one embodiment generates speech utterance data through speech synthesis based on the provided text data, matches the first result recognized by speech recognition with the text of the original text, and calculates the degree of matching. In the case of a complete match, the speech is used as the simulation data. In the case of an incomplete match, other reading candidates are provided for the difference part and the speech is synthesized again, and the second result recognized is matched with the original text. This process is repeated a number of times corresponding to the number of other reading candidates, and the speech synthesis result with a high degree of matching is used as the simulation speech data. In this way, high-precision utterance simulation data using a more correctly pronounced simulated speech is generated.
[0043] (action)
[0044] Next, the operation of the simulation data generating device 100 according to one embodiment configured as above will be described.
[0045] Figure 3 1 is a flowchart schematically showing a first example of the processing operation of the simulation data generating device 100. Figure 3As shown, in step S101, the simulation data generation device 100 first waits for the input of text. The text can be input in any way. For example, the text can be input by the user of the simulation data generation device 100 via the input device 1005, or read in as text data from an external storage medium such as a USB or a database server on the network.
[0046] Here, as an example, it is assumed that the text acquisition unit 101 accepts the input of a Japanese text such as "eスポーツを見たい". In addition, the input text does not have to be one sentence, and can be multiple sentences or a part of a sentence such as a word. If the input of the text is accepted (step S101: "Yes"), the process proceeds to the subsequent steps.
[0047] In step S102, the simulation data generation device 100 analyzes the text accepted from the text acquisition unit 101 through the speech synthesis unit 102, infers the pronunciation and accent, and generates synthesized speech data by using them as input for speech synthesis. A general speech synthesizer can be used for speech synthesis in the speech synthesis unit 102. For example, the speech synthesis unit 102 can use HMM speech synthesis methods, End-to-End speech synthesis methods such as WaveNet, but is not limited to these.
[0048] In the inference of pronunciation and accent using the speech synthesis unit 102, the language analysis dictionary described above can be used. The speech synthesis unit 102 infers the pronunciation for each character, word, phrase, or sentence included in the text, for example.
[0049] Here, as an example, it is assumed that as the result of inferring the pronunciation of the speech synthesis unit 102 for the Japanese text "eスポーツを見たい", a Japanese pronunciation such as "エスポーツヲミタイ" and the most suitable accent for it are obtained. As a result, speech data such as "エスポーツヲミタイ" is generated by the speech synthesis unit 102 and output to the speech recognition unit 103.
[0050] Next, in step S103, the simulation data generation device 100 performs a speech recognition process on the speech data output from the speech synthesis unit 102 through the speech recognition unit 103 and outputs its recognition result. In the above example, when the speech data such as "エスポーツヲミタイ" generated and output by the speech synthesis unit 102 is input to the speech recognition unit 103, the speech recognition unit 103 outputs a recognition result (or recognition text) such as "Sポーツを見たい" (corresponding spelling: "esu po-tsu wo mitai"). In the speech recognition of the speech recognition unit 103, a general speech recognizer can be used. For example, the speech recognition unit 103 can use a speech recognition method that utilizes an acoustic model and a language model, or an End-to-End speech recognition method in which the acoustic model and the language model are integrated, but is not limited to these.
[0051] In step S104, the simulation data generation device 100 performs matching between the recognition result output by the speech recognition unit 103 and the original text through the matching processing unit 104, and extracts and outputs the different parts (or differences). In the above example, the matching processing unit 104 performs matching between the original text "eスポーツを見たい" and the recognition result "Sポーツを見たい" of the speech recognition unit 103, and extracts words containing different parts such as "e-スポーツ" (corresponding spelling: "i-supo-tsu") and "S-ポーツ" (corresponding spelling: "esu-po-tsu"). In the matching of the matching processing unit 104, general DP matching at the word unit can be used. However, it is not limited to these, and other methods can also be used to extract the different parts. For example, the matching processing unit 104 can also extract the different parts according to the character unit, phrase unit, or sentence unit.
[0052] Figure 4A An example of such a matching result is shown. As described above, according to the original text "eスポーツを見たい", the speech "エスポーツヲミタイ" is obtained through speech synthesis 1, and according to this speech, the recognition text "Sポーツを見たい" is obtained through speech recognition 1. The recognition result of speech recognition 1 does not match the original text.
[0053] In step S105, the simulation data generation device 100 creates a list through the list creation unit 106 and updates the information stored in the list storage unit 108. In the list creation unit 106, as the processing history in the generation of simulation data, the original text, the obtained recognition text, the speech data at this time, etc. can be recorded as a list. As an example, the list creation unit 106 records information in the form of (original text, recognition text, reading). In Figure 4AIn the example, regarding the different parts, it can also be recorded as (e-sports (corresponding spelling: “i-supo-tsu”), S-sports (corresponding spelling: “esu-po-tsu”), esports (corresponding spelling: “esupo-tsu”)). In the list, not only the different parts but also the full text can be recorded, or the matching results and information related to accents can be further recorded.
[0054] Step S105 is an optional step. The list creation unit 106 can record all the matching results or only specific results. For example, the list creation unit 106 can record only the examples with 100% matching or only the examples without 100% matching. Additionally, the list creation unit 106 can maintain the past records or rewrite the past records. For example, it can rewrite the old list whenever a new list is created, or delete other lists associated with the same original text when 100% matching is obtained.
[0055] Next, in step S106, the simulation data generation device 100 determines whether the process should be repeated for other candidates of pronunciation or accent. According to one embodiment, in this determination, it is determined based on the matching results in step S104. For example, it can be determined that the process should be repeated for other candidates when the character correct answer accuracy is not 100%, that is, when the different parts between the original text and the recognition result are extracted by the matching processing unit 104. It can also be determined that the pronunciation or accent used in the repetition process should be the one that is different from the pronunciation or accent already used in speech synthesis when the character correct answer accuracy is not 100% and there is a different pronunciation or accent for the different part or the part containing the different part (such as the character, word, phrase, or sentence containing the different part). By retrieving the language analysis dictionary stored in the language analysis dictionary storage unit 107 through the speech synthesis unit 102, the existence of other candidates for pronunciation or accent is determined. Or, even when the character correct answer accuracy is 100%, it can be determined that the process should be repeated when there are other candidates for different pronunciations or accents for the characters, words, phrases, or sentences included in the original text. Thus, for words that may have multiple pronunciations like heteronyms (e.g., English “close” (k-lou-z / k-lou-s), Japanese “上手” (Japanese pronunciations: かみて (corresponding spelling: “kamite”) / うわて (corresponding spelling: “uwate”) / じょうず (corresponding spelling: “jouzu”)), etc.), voice data that is not limited to a specific pronunciation can be generated.
[0056] In the case where it is determined that other candidates for pronunciation or accent should be repeatedly processed (step S106: "Yes"), the process returns to step S102, and S102 to S105 are repeated.
[0057] In the above example, in the first processing, in the speech synthesis of step S102, the pronunciation "エ-スポーツ" (corresponding spelling "e-spo-tsu") is given to the Japanese "e-スポーツ" (corresponding spelling "i-supo-tsu"). In contrast, in the second processing, it is assumed that in step S102, the pronunciation "イー-スポーツ" (corresponding spelling "i--supo-tsu") is given by other candidates for pronunciation, and this is input to the speech synthesizer to generate speech data. Then, in the speech recognition process of step S103, this speech data is input to the speech recognizer through the speech recognition unit 103, and the recognition result "eスポーツが見たい" (corresponding spelling "i-supo-tsu ga mitai") is obtained. In this case, in the matching of step S104, the original text "eスポーツが見たい" and the recognized text "eスポーツが見たい" are matched, and all the texts are the same, so it is determined that the character correct answer accuracy is 100% (no difference part).
[0058] Figure 4B An example of such a matching result is shown. As described above, for the original text "eスポーツを見たい", "イースポーツヲミタイ" is obtained through speech synthesis 2 using other candidates, and "eスポーツを見たい" is obtained through speech recognition 2. The recognition result of speech recognition 2 is consistent with the original text.
[0059] Next, in step S105, the list creation unit 106 arbitrarily performs list update processing. As an example, in the list creation unit 106, a list (eスポーツ (corresponding spelling "i-supo-tsu"), eスポーツ (corresponding spelling "i-supo-tsu"), イースポーツ (corresponding spelling "i-supo-tsu")) is created as (original text, recognized text, pronunciation). Here, a 100% match is obtained, so the list created in the first processing (eスポーツ (corresponding spelling "i-supo-tsu"), Sポーツ (corresponding spelling "esu-po-tsu"), エスポーツ (corresponding spelling "esupo-tsu")) can also be deleted.
[0060] Then, in step S106, it is determined again whether other candidates should be repeatedly processed. In the above example, the process can be ended because the character correct answer accuracy of 100% is obtained in the second processing, or the process can be repeated if there are other candidates.
[0061] In step S106, when it is determined that there is no duplicate process for other candidates (step S106: "No"), the process proceeds to step S107.
[0062] In step S107, the simulation data generation unit 105 generates voice simulation data as a data set corresponding to the original text, using the voice data that is the source of the recognition result with a high degree of matching. In the above example, the voice data generated in the second process with a high character correct answer accuracy is used as the voice simulation data.
[0063] Figure 5 Another example of the matching result is shown. For the original Japanese text "こんにちは" (corresponding spelling: "kon nichi wa"), the Japanese voice "コンニチワ" (corresponding spelling: "konnichi wa") is obtained through speech synthesis 1, and the Japanese recognition text "こんにちは" (corresponding spelling: "kon nichiwa") is obtained through speech recognition 1. In this case, in the first process, it exactly matches the original text, and there are no other reading candidates, so there is no duplicate process using other candidates, and a data set using the voice "コンニチワ" is generated.
[0064] Fig. 6A Another example of the matching result is shown. For the original Japanese text "九十九の町を見てみたい" (corresponding spelling: "tsukumo no machi wo mite mitai"), "キュージューキューノマチヲミテミタイ" (corresponding spelling: "kyu-ju-kyu no machi wo mite mitai") is obtained through speech synthesis 1, and "99の町を見てみたい" (corresponding spelling: "kyu-ju-kyu no machi wo mitemitai") is obtained through speech recognition 1. In this example, the original text and speech recognition 1 do not match, so a list related to the different parts (九十九 (corresponding spelling: "tsukumo"), 99 (corresponding spelling: "kyu-ju-kyu"), キュージューキュー (corresponding spelling: "kyu-ju-kyu")) is added, and speech synthesis is performed again using other candidates.
[0065] Figure 6BAn example showing the matching results using such other candidates is presented. As described above, for the original Japanese text "九十九の町を見てみたい" (spelled as "tsukumo no machi wo mite mitai"), through speech synthesis 2, "ツクモノマチヲミテミタイ" (spelled as "tsukumo no machi wo mitemitai") is obtained, and through speech recognition 2, "九十九の町を見てみたい" (spelled as "tsukumo nomachi wo mite mitai") is obtained. In this case, since the original text and the result of speech recognition 2 match, the speech "ツクモノマチヲミテミタイ" (spelled as "tsukumo no machi wo mite mitai") at this time is used as the simulated speech. Additionally, a list (九十九 (spelled as "tsukumo"), 九十九 (spelled as "tsukumo"), ツクモ (spelled as "tsukumo")) is created, and the list (九十九 (spelled as "tsukumo"), 99 (spelled as "kyu-ju-kyu"), キュージューキュー (spelled as "kyu-ju-kyu")) created in speech synthesis 1 is deleted.
[0066] Figure 7 An example showing a case where the original text and the recognized text do not match is presented. For the original Japanese text "ジタハラって何ですか" (spelled as "jitaharatte-nan-desuka"), through speech synthesis 1, "ジタハラッテナンデスカ" (spelled as "jitaharatte-nan-desuka") is obtained, and through speech recognition 1, "自田原って何ですか" (spelled as "jitaharatte-nan-desuka") is obtained. In this case, since the original text and the recognized text do not match, if there are other candidates for the reading, the process is repeated, and if there are no other candidates, the process ends by using speech synthesis 1. Thus, even when the matching is not 100%, if the data with the highest matching degree in the obtained speech data is used as the simulated data, the overall accuracy of the data can be sufficiently improved when observing the entire large amount of data. In the case where the matching is not 100% and there are no other candidates, it is also possible to perform processing such as flagging on the speech data.
[0067] The simulated data generation device 100 as described above can also be applied to languages other than Japanese. As an example, among the characters used in Chinese, there are polyphonic characters that have different readings even for the same Chinese character.
[0068] In Figure 8As another example of the matching result, an example of applying the simulation data generating device 100 to the original text containing polyphones in Chinese is shown. For the original text, the speech recognition 1 obtained by the first speech synthesis 1 is inconsistent with the original text. In this case, by using different reading candidates to perform speech synthesis again, using speech data with a higher degree of matching, it is expected to obtain a more correct data set.
[0069] (Effect)
[0070] As described in detail above, the simulation data generating device 100 involved in one embodiment generates speech utterance data through speech synthesis based on the provided original text, matches the recognition result of the speech utterance data through speech recognition with the text of the original text, and calculates the degree of matching. In the case of a complete match, the speech is used as the simulation data. In the case of a mismatch, other reading candidates are provided for the difference part and the speech is synthesized again, and the secondary recognition result is matched with the original text. If there are other reading candidates, it can also be repeated a number of times corresponding to their number. Then, the simulation data generating device 100 uses the speech synthesis result with a high degree of matching as the simulation speech data.
[0071] In this way, by combining speech synthesis and speech recognition, the amount of speech data with incorrect pronunciation can be reduced, and even if the original text is not given reading information, it is possible to generate high-precision speech simulation data that includes a pairing of speech and text with higher reliability. If there is such speech simulation data, it is possible to more appropriately and efficiently learn the End-to-End speech recognition model that requires huge data. In addition, the data generated by the simulation data generation device 100 is not limited to application to the End-to-End model, and can be applied to any model as long as it is a model that uses a pairing of speech and text.
[0072] Furthermore, the simulation data generating device 100 can also record the matching results in a list, thereby contributing to the improvement of processing efficiency and the improvement of data generation accuracy.
[0073] As described above, according to the embodiment, a technique is provided that can generate highly accurate utterance simulation data including a pair of speech and text using text to which no reading is assigned.
[0074] [Other embodiments]
[0075] In addition, the present invention is not limited to the above-mentioned embodiments. For example, the various functional parts of the simulation data generation device 100 can be distributed to multiple devices, and these devices can cooperate with each other to perform processing. In addition, each functional part can also be implemented by using a circuit. The circuit can be a dedicated circuit that realizes a specific function or a general-purpose circuit such as a processor. The language analysis dictionary storage unit 107 and the list storage unit 108 can also be set in an external device.
[0076] Moreover, the above-described processing flow is not limited to the described process, and the order of several steps can be rearranged or several steps can be implemented in parallel. In addition, the above-described series of processing does not need to be executed continuously in time, and each step can also be executed at any timing.
[0077] Regarding speech synthesis, speech recognition, matching processing, etc., it is not limited to the specific examples described above, and other processing with the same effect can be used instead. For example, the speech synthesis unit 102 does not necessarily use a language analysis dictionary, and other methods can be used to infer the reading of characters and words.
[0078] The method described above can also be stored as a program (software unit) that can be executed by a computer (Computer) on a recording medium (storage medium) such as a magnetic disk (floppy disk (Japanese registered trademark), hard disk, etc.), optical disk (CD-ROM, DVD, MO, etc.), semiconductor memory (ROM, RAM, flash memory, etc.), and distributed by transmitting through a communication medium. In addition, the program stored on the medium side also includes a setting program that constitutes a software unit (including not only an execution program but also a table and a data structure) in the computer for execution by the computer. The computer that implements the above-mentioned device performs the above-mentioned processing by reading the program recorded on the recording medium, and using the setting program to construct the software unit according to the situation, and using the software unit to control the action. In addition, the recording medium referred to in this specification is not limited to distribution, but includes storage media such as magnetic disks and semiconductor memories that are set inside the computer or in devices connected via a network.
[0079] In addition, the data format of the list and the like can be implemented with various modifications without departing from the gist of the present invention.
[0080] Although several embodiments of the present invention have been described, these embodiments are merely illustrative and are not intended to limit the scope of the invention. These new embodiments can be implemented in various other ways, and various omissions, substitutions, and changes can be made without departing from the gist of the invention. These embodiments and their variations are included in the scope and gist of the invention, and are included in the invention described in the claims and their equivalents.
[0081] Furthermore, the above-mentioned embodiments can be summarized as the following technical solutions.
[0082] Technical Solution 1
[0083] A data generating device, comprising:
[0084] The speech synthesis unit generates speech data based on the original text;
[0085] A speech recognition unit, which generates a recognition text through speech recognition according to the speech data;
[0086] A matching processing unit, which matches the original text with the recognized text; and
[0087] The data set generation unit generates a data set by associating speech data, which is a source of recognized text whose matching degree with the original text satisfies a certain condition, with the original text according to the matching result.
[0088] Technical Solution 2
[0089] According to the above-mentioned technical solution 1, for the first voice data generated based on the original text, as a result of matching performed by the matching processing unit, when there is a difference between the first recognized text generated based on the first voice data and the original text, the voice synthesis unit assigns at least one of the readings or stresses different from the readings or stresses assigned when generating the first voice data to at least one of the characters, words, phrases or sentences of the original text containing the difference, and generates second voice data.
[0090] Technical Solution 3
[0091] According to the above-mentioned technical solution 2, the data set generation unit generates the data set using the second recognized text generated based on the second voice data and the first voice data or the second voice data which is the source of the recognized text with a higher matching degree among the first recognized texts.
[0092] Technical Solution 4
[0093] According to the above-mentioned technical solutions 1 to 3, there is also a list making unit. Based on the matching result, when there is a difference between the original text and the recognized text, the list making unit will record at least one of the characters, words, phrases or sentences of the original text containing the difference in correspondence with the information of the voice data.
[0094] Technical Solution 5
[0095] According to the fourth aspect of the present invention, the list creating unit records at least one of a reading or an accent assigned to at least one of characters, words, phrases or sentences of the original text including the difference as the information of the voice data.
[0096] Technical Solution 6
[0097] According to the above-mentioned technical solution 1, the speech synthesis unit generates the speech data based on the correspondence between a language analysis dictionary that can assign definition readings and stresses to characters, words, phrases or sentences and the characters, words, phrases or sentences contained in the original text, using the reading and stress corresponding to at least one of the possible combinations.
[0098] Technical Solution 7
[0099] According to the sixth aspect of the present invention, the speech synthesis unit generates the speech data using the corresponding reading and stress defined in the language analysis dictionary for each of the possible combinations.
[0100] Technical Solution 8
[0101] According to the above-mentioned technical solution 1, the matching degree is calculated as at least one of the character correct answer accuracy, word correct answer accuracy, the number of correct answer characters or the number of correct answer words for the original text.
[0102] Technical Solution 9
[0103] A data generation method, comprising:
[0104] Generate speech data based on raw text;
[0105] According to the voice data, generating a recognition text through voice recognition;
[0106] matching the original text with the recognized text; and
[0107] According to the matching result, the speech data that is the source of the recognized text whose matching degree with the original text satisfies a certain condition is matched with the original text to generate a data set.
[0108] Technical Solution 10
[0109] A recording medium having a program recorded thereon, the program causing a computer to execute processing implemented by each unit of the device described in any one of the above-mentioned technical solutions 1 to 8.
Claims
1. A data generating device comprising: The speech synthesis unit generates speech data based on the original text; A speech recognition unit, which generates a recognition text through speech recognition according to the speech data; A matching processing unit, which matches the original text with the recognized text; and A data set generating unit generates a data set by associating the speech data that is the source of the recognized text whose matching degree with the original text satisfies a certain condition with the original text according to the matching result, With respect to the first voice data generated from the original text, as a result of matching performed by the matching processing unit, when the first recognized text generated from the first voice data does not differ from the original text but has other candidates for different pronunciations or stresses for characters, words, phrases or sentences included in the original text, the voice synthesis unit assigns, for at least one of the characters, words, phrases or sentences in the original text, at least one of the readings or stresses that is different from the readings or stresses assigned when generating the first voice data, and generates second voice data.
2. The data generating device according to claim 1, wherein: The data set generation unit generates the data set using the first voice data or the second voice data that is the source of the recognized text with a higher matching degree among the second recognized text generated based on the second voice data and the first recognized text.
3. The data generating device according to claim 1 or 2, wherein: The data generating device further includes a list creating unit that records at least one of the characters, words, phrases, or sentences of the original text in correspondence with the information of the voice data based on the matching result.
4. The data generating device according to claim 3, wherein: The list creating unit records at least one of a reading or an accent assigned to at least one of characters, words, phrases, or sentences in the original text as information of the voice data.
5. The data generating device according to claim 1, wherein: The speech synthesis unit generates the speech data based on the correspondence between a language analysis dictionary that defines the pronunciation and stress assigned to characters, words, phrases or sentences and the characters, words, phrases or sentences contained in the original text, using the pronunciation and stress corresponding to at least one of the possible combinations.
6. The data generating device according to claim 5, wherein: The speech synthesis unit generates the speech data using the corresponding pronunciation and stress defined in the language analysis dictionary for each of the possible combinations.
7. The data generating device according to claim 1, wherein: The matching degree is calculated as at least one of a character correct answer accuracy, a word correct answer accuracy, a number of correct answer characters, or a number of correct answer words for the original text.
8. A data generation method comprising: Generate speech data from raw text; According to the voice data, generating a recognition text through voice recognition; matching the original text with the recognized text; and According to the matching result, the speech data that will become the source of the recognized text whose matching degree with the original text satisfies a certain condition is matched with the original text to generate a data set, When generating the voice data, the result of the matching is performed on the first voice data generated based on the original text. When there is no difference between the first recognized text generated based on the first voice data and the original text but there are other candidates with different pronunciations or stresses for the characters, words, phrases or sentences included in the original text, at least one of the characters, words, phrases or sentences in the original text is assigned a reading or stress different from the reading or stress assigned when generating the first voice data, and the second voice data is generated.
9. A recording medium having a program recorded thereon, the program being for causing a computer to function as the following means: A speech synthesis unit generates speech data based on the original text; A speech recognition unit, which generates a recognition text through speech recognition according to the speech data; a matching processing unit, which matches the original text with the recognized text; and A data set generating unit generates a data set by matching the speech data that is the source of the recognized text whose matching degree with the original text satisfies a certain condition with the original text according to the matching result, For the first voice data generated based on the original text, as a result of matching performed by the matching processing unit, when the first recognized text generated based on the first voice data has no difference from the original text but has other candidates with different pronunciations or stresses for the characters, words, phrases or sentences included in the original text, the speech synthesis unit assigns at least one of the readings or stresses different from the readings or stresses assigned when generating the first voice data to at least one of the characters, words, phrases or sentences in the original text, and generates second voice data.
