JP4344195B2 - Speech synthesis list generation apparatus and speech synthesis list generation program - Google Patents
Speech synthesis list generation apparatus and speech synthesis list generation program Download PDFInfo
- Publication number
- JP4344195B2 JP4344195B2 JP2003296585A JP2003296585A JP4344195B2 JP 4344195 B2 JP4344195 B2 JP 4344195B2 JP 2003296585 A JP2003296585 A JP 2003296585A JP 2003296585 A JP2003296585 A JP 2003296585A JP 4344195 B2 JP4344195 B2 JP 4344195B2
- Authority
- JP
- Japan
- Prior art keywords
- phoneme
- string
- appearance frequency
- word
- list
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Description
本発明は、音声合成を行う際に利用される音声合成用リストを生成する音声合成用リスト生成装置及び音声合成用リスト生成プログラムに関する。 The present invention relates to a speech synthesis list generation device and a speech synthesis list generation program for generating a speech synthesis list used when speech synthesis is performed.
従来、音声合成を行う手法として、大規模な音声データベースから可変長の合成単位で音素や単語を選択して接続する音声合成手法が提案されている(例えば、非特許文献1参照)。
これらの音声合成手法において、音声データベースに蓄積されている、音声合成の探索単位となる音素又は単語のリストは、例えば、以下に示すハッシュ手法(例えば、非特許文献2参照)によって生成されている。
Conventionally, as a speech synthesis method, a speech synthesis method in which phonemes and words are selected and connected in a variable-length synthesis unit from a large-scale speech database has been proposed (see, for example, Non-Patent Document 1).
In these speech synthesis methods, a list of phonemes or words that are stored in the speech database and serve as a search unit for speech synthesis is generated by, for example, the following hash method (see Non-Patent Document 2, for example). .
このハッシュ手法は、例えば、音素列リストを生成するには、音声を音素のテキストデータに書き下した複数の音素テキストから、音素テキストを順次読み出し、その音素テキストが既存の音素列であれば、その個数(出現頻度)のカウント値を増やし、新規の音素列であれば、その音素列の個数をカウントするためのメモリ(記憶)領域を確保する。以上の動作を音素テキスト分繰り返すことで、それぞれの音素列の個数(出現頻度)を得ることができ、音素列と出現頻度とを対応付けた音素列リストを生成することができる。 For example, in order to generate a phoneme string list, this hash method sequentially reads phoneme texts from a plurality of phoneme texts in which speech is written in phoneme text data, and if the phoneme text is an existing phoneme string, The count value of the number (appearance frequency) is increased, and if it is a new phoneme string, a memory area for counting the number of phoneme strings is secured. By repeating the above operation for the phoneme text, the number (appearance frequency) of each phoneme string can be obtained, and a phoneme string list in which the phoneme strings are associated with the appearance frequencies can be generated.
しかし、前記したハッシュ手法によって、音素列リストを生成するには、音素テキストとして書き下された全ての長さの音素列について、出現頻度となる個数をカウントするためのメモリ領域を確保する必要がある。そのため、大規模な音声データベースを構築するために、大量の音素テキストから音素列リストを生成しようとすると、使用するメモリ量が大きくなってしまうという問題がある。 However, in order to generate a phoneme string list by the above-described hash method, it is necessary to secure a memory area for counting the number of appearance frequencies for all phoneme strings written as phoneme text. is there. For this reason, if a phoneme string list is generated from a large amount of phoneme text in order to construct a large-scale speech database, there is a problem that the amount of memory used becomes large.
そこで、実際に音素列リストを生成するには、長さがある値以上の音素列(通常4個程度)は、個数のカウントを行わない等の工夫を行うことで、メモリ量の削減を行っている。しかし、この場合、ある長さ以上の音素列のカウントを行わないため、音素テキストに存在する全ての長さの音素列について、ある出現頻度(閾値)以上の値を持つ個数のカウントを行うことができない。このため、実際には、出現頻度が高い音素列であっても、音素列の長さが長いことで音素列リストの候補とならない場合が発生する。これによって、音声合成で出現頻度が多い音素列を探索しようとした場合に、短い音素列で探索することになり探索回数が増えてしまい、音声合成に時間がかかってしまうという問題がある。 Therefore, in order to actually generate a phoneme string list, the memory amount is reduced by taking measures such as not counting the number of phoneme strings longer than a certain value (usually about four). ing. However, in this case, since the phoneme string longer than a certain length is not counted, the number of phonemes having a value equal to or higher than a certain appearance frequency (threshold value) is counted for all phoneme strings existing in the phoneme text. I can't. For this reason, in reality, even a phoneme string having a high appearance frequency may not be a candidate for the phoneme string list due to the long length of the phoneme string. As a result, when attempting to search for a phoneme string having a high frequency of appearance in speech synthesis, a search is made with a short phoneme string, increasing the number of searches, and speech synthesis takes time.
本発明は、以上のような問題点に鑑みてなされたものであり、音素テキスト又は単語テキストから、音素列リスト又は単語列リストを生成するときに使用するメモリ量を抑え、ある出現頻度(閾値)以上の値を持つ全ての長さの音素列又は単語列を抽出した音素列リスト又は単語列リストを生成することが可能な音声合成用リスト生成装置及び音声合成用リスト生成プログラムを提供することを目的とする。 The present invention has been made in view of the above problems, and suppresses the amount of memory used when generating a phoneme string list or word string list from phoneme text or word text, and a certain appearance frequency (threshold value). (2) To provide a speech synthesis list generation apparatus and a speech synthesis list generation program capable of generating a phoneme string list or word string list obtained by extracting all phoneme strings or word strings having the above values. With the goal.
本発明は、前記目的を達成するために創案されたものであり、まず、請求項1に記載の音声合成用リスト生成装置は、音声を音素のテキストデータに書き下した複数の音素テキストから、音声合成の探索単位となる音素列リストを生成する音声合成用リスト生成装置であって、固定長音素列抽出手段と、出現頻度累計手段と、蓄積手段と、リスト出力手段とを備え、前記出現頻度累計手段が累計判定手段、前記リスト出力手段がデータ削除手段を備えていることを特徴とする。 The present invention was devised to achieve the above object, and first, the speech synthesis list generating apparatus according to claim 1 is configured to generate speech from a plurality of phoneme texts in which speech is written into phoneme text data. A speech synthesis list generation device for generating a phoneme string list as a synthesis search unit, comprising: a fixed-length phoneme string extraction means; an appearance frequency accumulation means; an accumulation means; and a list output means; cumulative means cumulative meter determining means, characterized in that said list output means comprises a data deleting unit.
かかる構成によれば、音声合成用リスト生成装置は、固定長音素列抽出手段によって、各音素テキストから、予め定めた音素数となるように、各音素テキストの連続した音素数分の音素を音素列として抽出する。ここで、音素テキストとは、音声を音素のテキストデータに書き下したものであって、例えば、「ニュースです」という音声を、音声言語の最小単位である音素に書き下した場合、音素テキストは、「ny/u:/s/u/d/e/s/u」(“/”は音素の区切り)となる。そして、予め定めた音素数として、例えば“3”が設定されている場合、固定長音素列抽出手段は、音素数“3”の連続した音素(例えば、「ny/u:/s」等)を切り出して、音素列を抽出する。なお、固定長音素列抽出手段は、順次音素数を増加(+1)させることで、音素数の異なる音素列を順次抽出する。 According to such a configuration, the speech synthesis list generating device uses the fixed-length phoneme string extraction unit to convert phonemes corresponding to the continuous phoneme number of each phoneme text from each phoneme text so as to have a predetermined phoneme number. Extract as a column. Here, the phoneme text is a voice written into phoneme text data. For example, when the voice “news” is written in the phoneme which is the minimum unit of the speech language, the phoneme text is “ ny / u: / s / u / d / e / s / u "(" / "is a phoneme break). If, for example, “3” is set as the predetermined number of phonemes, the fixed-length phoneme string extraction unit performs continuous phonemes with the number of phonemes “3” (for example, “ny / u: / s”). And a phoneme string is extracted. The fixed-length phoneme string extraction means sequentially extracts phoneme strings having different phoneme numbers by sequentially increasing (+1) the number of phonemes.
また、音声合成用リスト生成装置は、累計判定手段によって、固定長音素列抽出手段で抽出された音素列の先頭から当該音素列の音素数よりも1つ短い音素数分の音素列の出現頻度が予め定めた閾値より多い場合に、固定長音素列抽出手段で抽出された音素列を、出現頻度を累計する対象であると判定し、出現頻度累計手段によって、その出現頻度を累計する対象であると判定された音素列の出現頻度を累計する。これは、固定長音素列抽出手段で抽出された音素列より短い音素列の出現頻度が、予め定めた閾値よりも少ない場合、その音素列を含んだ音素列を累計しても、閾値を超えることはないからである。 Further, the speech synthesis list generation device uses the cumulative determination unit to generate the appearance frequency of phoneme sequences corresponding to one phoneme number shorter than the phoneme number of the phoneme sequence from the head of the phoneme sequence extracted by the fixed-length phoneme sequence extraction unit. subject but in advance when more than a threshold value set, the phoneme string extracted at fixed long sound Motoretsu extracting means determines that the object to be cumulative occurrence frequency, the frequency accumulation means, for accumulating the frequency of occurrence The frequency of appearance of phoneme strings determined to be is accumulated. This is because, when the frequency of appearance of phoneme strings shorter than the phoneme string extracted by the fixed-length phoneme string extraction means is less than a predetermined threshold value, even if the phoneme strings including the phoneme string are accumulated, the threshold value is exceeded. Because there is nothing.
例えば、音素数“4”の音素列である「ny/u:/s/u」の出現頻度を累計するときに、その音素列よりも短い音素数“3”の音素列である「ny/u:/s」の出現頻度が閾値に達していない場合、「ny/u:/s/u」の出現頻度は閾値を超えることはない。そこで、「ny/u:/s/u」を、出現頻度を累計する対象から省くこととする。
そして、音声合成用リスト生成装置は、リスト出力手段によって、音素数毎に、音素列を蓄積した蓄積手段を参照して、出現頻度が予め定めた閾値より多い音素列を音素列リストとして出力する。
For example, when accumulating the appearance frequencies of “ny / u: / s / u”, which is a phoneme string having a phoneme number “4”, “ny / u” being a phoneme string having a phoneme number “3” shorter than the phoneme string. When the appearance frequency of “u: / s” does not reach the threshold value, the appearance frequency of “ny / u: / s / u” does not exceed the threshold value. Therefore, “ny / u: / s / u” is omitted from the target of accumulating the appearance frequency.
Then, the list generation device for speech synthesis refers to the storage unit that stores the phoneme sequences for each number of phonemes by the list output unit, and outputs a phoneme sequence having an appearance frequency higher than a predetermined threshold as a phoneme sequence list. .
なお、固定長音素列抽出手段は、音素数を順次増加して音素テキストから音素列を抽出し、リスト出力手段が、順次音素数の異なる音素列リストを出力する。これによって、音声合成用リスト生成装置は、音素数の少ない音素列から順に出現頻度の累計を行い、出現頻度の高い(閾値よりも多い)音素列を含んだ音素列のみを累計対象として、順次音素列の累計を行うため、音素列リストを高速に生成することが可能になる。 The fixed-length phoneme string extraction means sequentially increases the number of phonemes to extract a phoneme string from the phoneme text, and the list output means outputs a phoneme string list having different phoneme numbers. As a result, the speech synthesis list generation device sequentially accumulates the appearance frequencies in order from the phoneme sequence having the smallest number of phonemes, and sequentially selects only the phoneme sequences including the phoneme sequences having the high appearance frequency (greater than the threshold value). Since the phoneme strings are accumulated, a phoneme string list can be generated at high speed.
また、音声合成用リスト生成装置は、データ削除手段によって、音素列リストを出力した後に、蓄積手段から、固定長音素列抽出手段で用いた音素数から1を減算した音素数の音素列及び出現頻度と、当該音素数で出現頻度が閾値に達しなかった音素列及び出現頻度とを削除する。これによって、累計判定手段が判定を行うために必要となる音素列以外の音素列を削除することになり、蓄積手段の容量を低く抑えることができる。 The speech synthesis list generation device outputs a phoneme string list by subtracting 1 from the phoneme number used in the fixed-length phoneme string extraction unit and the appearance from the storage unit after outputting the phoneme string list by the data deletion unit. Delete the frequency and the phoneme string and the appearance frequency for which the appearance frequency did not reach the threshold for the number of phonemes . As a result, phoneme strings other than the phoneme string necessary for the cumulative determination means to perform the determination are deleted, and the capacity of the storage means can be kept low.
また、請求項2に記載の音声合成用リスト生成装置は、音声を単語のテキストデータに書き下した複数の単語テキストから、音声合成の探索単位となる単語列リストを生成する音声合成用リスト生成装置であって、固定長単語列抽出手段と、出現頻度累計手段と、蓄積手段と、リスト出力手段とを備え、前記出現頻度累計手段が累計判定手段、前記リスト出力手段がデータ削除手段を備えていることを特徴とする。 Also, list generation apparatus for speech synthesis according to claim 2, a plurality of word text writing down the speech into a word of the text data, speech synthesis list generating apparatus for generating a word string list of the search unit of the speech synthesis a is provided with a fixed-length word string extracting unit, a frequency cumulative means, and storage means, and a list output unit, the occurrence frequency cumulative means cumulative meter determining means, said list output unit data deleting means It is characterized by.
かかる構成によれば、音声合成用リスト生成装置は、固定長単語列抽出手段によって、各単語テキストから、予め定めた単語数となるように、各単語テキストの連続した単語数分の単語を単語列として抽出する。ここで、単語テキストとは、音声を単語のテキストデータに書き下したものであって、例えば、「全国の天気です」という音声を、単語に書き下した場合、単語テキストは、「zenkoku/no/tenki/desu」(“/”は単語の区切り)となる。 According to such a configuration, the speech synthesis list generating device uses the fixed-length word string extraction unit to extract words corresponding to the number of consecutive words in each word text from the word text so that the number of words is a predetermined number. Extract as a column. Here, the word text is a voice written in the text data of the word. For example, when the voice “Nationwide weather” is written in the word, the word text is “zenkoku / no / tenki”. / Desu "(" / "is a word break).
また、音声合成用リスト生成装置は、累計判定手段によって、固定長単語列抽出手段で抽出された単語列の先頭から当該単語列の単語数よりも1つ短い単語数分の単語列の出現頻度が予め定めた閾値より多い場合に、固定長単語列抽出手段で抽出された単語列を、出現頻度を累計する対象であると判定し、出現頻度累計手段によって、その出現頻度を累計する対象であると判定された単語列の出現頻度を累計する。
そして、音声合成用リスト生成装置は、リスト出力手段によって、単語数毎に、単語列及び出現頻度を蓄積した蓄積手段を参照して、出現頻度が予め定めた閾値より多い単語列を単語列リストとして出力する。
In addition, the speech synthesis list generation device uses the total determination unit to generate word string appearance frequencies corresponding to the number of words one shorter than the number of words in the word string from the beginning of the word string extracted by the fixed-length word string extraction unit. subject but if more than a predetermined threshold value, the word string extracted with fixed-length word string extraction unit, determines that the object to be cumulative occurrence frequency, the frequency accumulation means, for accumulating the frequency of occurrence The frequency of appearance of word strings determined to be is accumulated.
Then, the speech synthesis list generating device refers to the word string list in which the appearance frequency is higher than a predetermined threshold by referring to the storage means for storing the word string and the appearance frequency for each word count by the list output means. Output as.
なお、固定長単語列抽出手段は、単語数を順次増加して単語テキストから単語列を抽出し、リスト出力手段が、順次単語数の異なる単語列リストを出力する。これによって、音声合成用リスト生成装置は、単語数の少ない単語列から順に出現頻度の累計を行い、出現頻度の高い(閾値よりも多い)単語列を含んだ単語列のみを累計対象として、順次単語列の累計を行うため、単語列リストを高速に生成することが可能になる。 Note that the fixed-length word string extraction unit sequentially increases the number of words and extracts a word string from the word text, and the list output unit outputs word string lists having different numbers of words sequentially. As a result, the speech synthesis list generating device accumulates the appearance frequencies in order from the word string having the smallest number of words, and sequentially selects only word strings including word strings having a high appearance frequency (more than the threshold) as the accumulation target. Since word strings are accumulated, a word string list can be generated at high speed.
また、音声合成用リスト生成装置は、データ削除手段によって、単語列リストを出力した後に、蓄積手段から、固定長単語列抽出手段で用いた単語数から1を減算した単語数の単語列及び出現頻度と、当該単語数で出現頻度が閾値に達しなかった単語列及び出現頻度とを削除する。これによって、累計判定手段が判定を行うために必要となる単語列以外の単語列を削除することになり、蓄積手段の容量を低く抑えることができる。 In addition, the speech synthesis list generation device outputs the word string list by the data deletion unit, and then stores the word sequence of the number of words by subtracting 1 from the number of words used in the fixed-length word sequence extraction unit and the appearance from the storage unit The frequency, the word string whose appearance frequency did not reach the threshold for the number of words, and the appearance frequency are deleted. As a result, word strings other than the word string necessary for the cumulative determination means to make a determination are deleted, and the capacity of the storage means can be kept low.
さらに、請求項3に記載の音声合成用リスト生成プログラムは、音声を音素のテキストデータに書き下した複数の音素テキストから、音声合成の探索単位となる音素列リストを生成するために、コンピュータを、固定長音素列抽出手段、累計判定手段、出現頻度累計手段、リスト出力手段、として機能させることを特徴とする。 Furthermore, the speech synthesis list generation program according to claim 3 , the computer generates a phoneme string list as a speech synthesis search unit from a plurality of phoneme texts in which speech is written in phoneme text data. The fixed-length phoneme string extraction unit, the total determination unit, the appearance frequency totaling unit, and the list output unit function.
かかる構成によれば、音声合成用リスト生成プログラムは、固定長音素列抽出手段によって、各音素テキストから、予め定めた音素数の連続した音素で構成される音素列を抽出する。
そして、音声合成用リスト生成プログラムは、累計判定手段によって、固定長音素列抽出手段で抽出された音素列より短い音素列の先頭から当該音素列の音素数よりも1つ短い音素数分の音素列の出現頻度が予め定めた閾値より多い場合に、その固定長音素列抽出手段で抽出された音素列を、出現頻度を累計する対象であると判定する。なお、固定長音素列抽出手段で抽出された音素列より短い音素列及びその出現頻度は、すでに蓄積装置に蓄積されているものを使用する。
According to this configuration, the speech synthesis list generation program extracts a phoneme string composed of continuous phonemes having a predetermined number of phonemes from each phoneme text by the fixed-length phoneme string extraction means.
Then, the speech synthesis list generation program performs a phoneme equivalent to the number of phonemes one shorter than the number of phonemes of the phoneme sequence from the beginning of the phoneme sequence shorter than the phoneme sequence extracted by the fixed-length phoneme sequence extraction unit by the cumulative determination unit. When the appearance frequency of the sequence is higher than a predetermined threshold value, it is determined that the phoneme sequence extracted by the fixed-length phoneme sequence extraction unit is a target for accumulating the appearance frequency. Note that the phoneme string shorter than the phoneme string extracted by the fixed-length phoneme string extracting means and the appearance frequency thereof are those already stored in the storage device.
そして、音声合成用リスト生成プログラムは、出現頻度累計手段によって、累計判定手段で、出現頻度を累計する対象であると判定された音素列の出現頻度を累計し、その音素列とその音素列に対応する出現頻度とを蓄積装置に蓄積する。これによって、出現頻度の高い音素列のみが蓄積装置に蓄積されることになる。
このように、音素テキストから音素列とその出現頻度とを蓄積装置に蓄積した段階で、音声合成用リスト生成プログラムは、出現頻度が予め定めた閾値より多い音素列を、音素列リストとして出力する。
Then, the speech synthesis list generation program accumulates the appearance frequencies of the phoneme strings determined by the appearance frequency accumulating means by the accumulating determination means to be the object of accumulating the appearance frequencies, and adds the phoneme strings and the phoneme strings. The corresponding appearance frequency is stored in the storage device. As a result, only phoneme strings having a high appearance frequency are stored in the storage device.
As described above, at the stage where the phoneme string and its appearance frequency are stored in the storage device from the phoneme text, the speech synthesis list generation program outputs a phoneme string whose appearance frequency is higher than a predetermined threshold as a phoneme string list. .
なお、固定長音素列抽出手段は、音素数を順次増加して音素テキストから音素列を抽出し、リスト出力手段が、順次音素数の異なる音素列リストを出力する。これによって、音声合成用リスト生成プログラムは、音素数の少ない音素列から順に出現頻度の累計を行い、出現頻度の高い(閾値よりも多い)音素列を含んだ音素列のみを累計対象として、順次音素列の累計を行うため、音素列リストを高速に生成することが可能になる。
また、音声合成用リスト生成プログラムは、リスト出力手段によって、蓄積手段から、固定長音素列抽出手段で用いた音素数から1を減算した音素数の音素列及び出現頻度と、当該音素数で出現頻度が前記閾値に達しなかった音素列及び出現頻度とを削除する。これによって、累計判定手段が判定を行うために必要となる音素列以外の音素列を削除することになり、蓄積手段の容量を低く抑えることができる。
The fixed-length phoneme string extraction means sequentially increases the number of phonemes to extract a phoneme string from the phoneme text, and the list output means outputs a phoneme string list having different phoneme numbers. As a result, the speech synthesis list generation program accumulates the appearance frequencies in order from the phoneme sequence having the smallest number of phonemes, and sequentially selects only the phoneme sequences including the phoneme sequences having the high appearance frequency (greater than the threshold value). Since the phoneme strings are accumulated, a phoneme string list can be generated at high speed.
In addition, the list generation program generates the phoneme sequence and the appearance frequency of the phoneme number obtained by subtracting 1 from the phoneme number used in the fixed-length phoneme sequence extraction unit from the storage unit, and the appearance number and the phoneme number appear by the list output unit Delete the phoneme string and the appearance frequency whose frequency did not reach the threshold. As a result, phoneme strings other than the phoneme string necessary for the cumulative determination means to perform the determination are deleted, and the capacity of the storage means can be kept low.
また、請求項4に記載の音声合成用リスト生成プログラムは、音声を単語のテキストデータに書き下した複数の単語テキストから、音声合成の探索単位となる単語列リストを生成するために、コンピュータを、固定長単語列抽出手段、累計判定手段、出現頻度累計手段、リスト出力手段、として機能させることを特徴とする。 According to a fourth aspect of the present invention, there is provided a speech synthesis list generation program for generating a word string list as a speech synthesis search unit from a plurality of word texts in which speech is written in word text data. The fixed-length word string extraction unit, the total determination unit, the appearance frequency total unit, and the list output unit function.
かかる構成によれば、音声合成用リスト生成プログラムは、固定長単語列抽出手段によって、各単語テキストから、予め定めた単語数の連続した単語で構成される単語列を抽出する。
そして、音声合成用リスト生成プログラムは、累計判定手段によって、固定長単語列抽出手段で抽出された単語列より短い単語列の先頭から当該単語列の単語数よりも1つ短い単語数分の単語列の出現頻度が予め定めた閾値より多い場合に、その固定長単語列抽出手段で抽出された単語列を、出現頻度を累計する対象であると判定する。なお、固定長単語列抽出手段で抽出された単語列より短い単語列及びその出現頻度は、すでに蓄積装置に蓄積されているものを使用する。
According to this configuration, the speech synthesis list generation program extracts a word string composed of consecutive words of a predetermined number of words from each word text by the fixed-length word string extraction unit.
Then, the speech synthesis list generation program uses the cumulative determination means to start from the beginning of the word string that is shorter than the word string extracted by the fixed-length word string extraction means, and the number of words is one word shorter than the number of words in the word string. When the appearance frequency of the sequence is higher than a predetermined threshold, it is determined that the word sequence extracted by the fixed-length word sequence extraction unit is a target for accumulating the appearance frequency. Note that the word string shorter than the word string extracted by the fixed-length word string extracting unit and the appearance frequency thereof are those already stored in the storage device.
そして、音声合成用リスト生成プログラムは、出現頻度累計手段によって、累計判定手段で、出現頻度を累計する対象であると判定された単語列の出現頻度を累計し、その単語列とその単語列に対応する出現頻度とを蓄積装置に蓄積する。これによって、出現頻度の高い単語列のみが蓄積装置に蓄積されることになる。
このように、単語テキストから単語列とその出現頻度とを蓄積装置に蓄積した段階で、音声合成用リスト生成プログラムは、出現頻度が予め定めた閾値より多い単語列を、単語列リストとして出力する。
Then, the speech synthesis list generation program accumulates the appearance frequencies of the word strings determined by the appearance frequency accumulating means by the accumulating determination means to be the object of accumulating the appearance frequencies, and adds the word strings and the word strings. The corresponding appearance frequency is stored in the storage device. As a result, only word strings having a high appearance frequency are stored in the storage device.
In this way, at the stage where the word string and its appearance frequency are stored in the storage device from the word text, the speech synthesis list generation program outputs a word string whose appearance frequency is higher than a predetermined threshold as a word string list. .
なお、固定長単語列抽出手段は、単語数を順次増加して単語テキストから単語列を抽出し、リスト出力手段が、順次単語数の異なる単語列リストを出力する。これによって、音声合成用リスト生成プログラムは、単語数の少ない単語列から順に出現頻度の累計を行い、出現頻度の高い(閾値よりも多い)単語列を含んだ単語列のみを累計対象として、順次単語列の累計を行うため、単語列リストを高速に生成することが可能になる。
また、音声合成用リスト生成プログラムは、リスト出力手段によって、蓄積手段から、固定長単語列抽出手段で用いた単語数から1を減算した単語数の単語列及び出現頻度と、当該単語数で出現頻度が前記閾値に達しなかった単語列及び出現頻度とを削除する。これによって、累計判定手段が判定を行うために必要となる単語列以外の単語列を削除することになり、蓄積手段の容量を低く抑えることができる。
Note that the fixed-length word string extraction unit sequentially increases the number of words and extracts a word string from the word text, and the list output unit outputs word string lists having different numbers of words sequentially. As a result, the speech synthesis list generation program accumulates the appearance frequencies in order from the word string having the smallest number of words, and sequentially selects only word strings including word strings having a high appearance frequency (greater than the threshold) as the accumulation target. Since word strings are accumulated, a word string list can be generated at high speed.
In addition, the speech synthesis list generation program causes the list output unit to generate the word sequence of the number of words obtained by subtracting 1 from the number of words used in the fixed-length word sequence extraction unit, the appearance frequency, and the number of words from the storage unit. Delete the word string and the appearance frequency whose frequency did not reach the threshold. As a result, word strings other than the word string necessary for the cumulative determination means to make a determination are deleted, and the capacity of the storage means can be kept low.
請求項1又は請求項3に記載の発明によれば、音素数の少ない音素列から、順次音素列の出現頻度を累計し、かつ、その出現頻度が予め定めた閾値より高い音素列を含んだ音素列のみを、出現頻度の累計対象とするため、出現頻度が低いと判明している音素列の出現頻度を累計する無駄を省き、高速に音素列リストを生成することができる。また、このとき、閾値より高いすべての音素列を抽出することができるため、本発明によって生成された音素列リストによって、音声合成を行う際に、音素列の接続点における音質の劣化を低減することが可能になる。 According to the invention described in claim 1 or claim 3 , the appearance frequencies of the phoneme strings are sequentially accumulated from the phoneme strings having a small number of phonemes, and the phoneme strings including the phoneme strings whose appearance frequencies are higher than a predetermined threshold are included. Since only the phoneme strings are subject to appearance frequency accumulation, waste of accumulating the appearance frequencies of phoneme strings that have been found to be low in appearance frequency can be eliminated, and a phoneme string list can be generated at high speed. At this time, since all phoneme strings higher than the threshold value can be extracted, the sound quality degradation at the connection point of the phoneme strings is reduced when the speech synthesis is performed using the phoneme string list generated by the present invention. It becomes possible.
また、請求項1又は請求項3に記載の発明によれば、蓄積手段には現在出現頻度を累計している音素数の音素列と、出現頻度が予め定められた閾値よりも高い音素数−1の音素列だけしか蓄積されないため、蓄積手段の容量を低く抑えることができる。 Further, according to the invention described in claim 1 or claim 3, the phoneme sequence number of phonemes that accumulates the current frequency in the storage means, a higher number of phonemes than frequency reaches a predetermined threshold - Since only one phoneme string is stored, the capacity of the storage means can be kept low.
請求項2又は請求項4に記載の発明によれば、単語数の少ない単語列から、順次単語列の出現頻度を累計し、かつ、その出現頻度が予め定めた閾値より高い単語列を含んだ単語列のみを、出現頻度の累計対象とするため、出現頻度が低いと判明している単語列の出現頻度を累計する無駄を省き、高速に単語列リストを生成することができる。また、このとき、閾値より高いすべての単語列を抽出することができるため、本発明によって生成された単語列リストによって、音声合成を行う際に、単語列の接続点における音質の劣化を低減することが可能になる。 According to the invention described in claim 2 or claim 4 , the appearance frequency of the word string is sequentially accumulated from the word string having a small number of words, and the word string including the word string whose appearance frequency is higher than a predetermined threshold is included. Since only word strings are targeted for the appearance frequency accumulation, waste of accumulating the appearance frequencies of word strings that are known to have a low appearance frequency can be eliminated, and a word string list can be generated at high speed. At this time, since all word strings higher than the threshold can be extracted, deterioration of sound quality at the connection points of the word strings is reduced when performing speech synthesis using the word string list generated by the present invention. It becomes possible.
また、請求項2又は請求項4に記載の発明によれば、蓄積手段には現在出現頻度を累計している単語数の単語列と、出現頻度が予め定められた閾値よりも高い単語数−1の単語列だけしか蓄積されないため、蓄積手段の容量を低く抑えることができる。 Further , according to the invention of claim 2 or claim 4 , the storage means includes a word string of the number of words currently accumulated in appearance frequency, and the number of words whose appearance frequency is higher than a predetermined threshold value − Since only one word string is stored, the capacity of the storage means can be kept low.
以下、本発明の実施の形態について図面を参照して説明する。
[音声合成用リスト生成装置の概要]
まず、図3及び図4を参照して、音声合成用リスト生成装置の概要について説明する。図3は、音声合成用リスト生成装置で生成する音素列リストについて説明を行うための説明図である。図4は、音声合成用リスト生成装置における音素列リストの生成の動作概要を説明するための説明図である。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
[Outline of list generator for speech synthesis]
First, an outline of the speech synthesis list generation apparatus will be described with reference to FIGS. 3 and 4. FIG. 3 is an explanatory diagram for explaining a phoneme string list generated by the speech synthesis list generation apparatus. FIG. 4 is an explanatory diagram for explaining an outline of the operation of generating a phoneme string list in the speech synthesis list generating apparatus.
図3に示すように、音声合成用リスト生成装置10は、音声を音素のテキストデータに書き下した複数の音素テキストから、音声合成の探索単位となる音素列リスト(音素列、出現頻度)を生成するものである。ここでは、音声合成用リスト生成装置10は、音素テキストを蓄積した音声データベース20から音素テキストを入力し、生成した音素列リストを音声合成用データベース30に出力する(書き込む)ものとする。
As shown in FIG. 3, the speech synthesis
例えば、「ニュースです」を音素のテキストデータに書き下した音素テキストとして、「ny/u:/s/u/d/e/s/u」(“/”は音素の区切り;以下同じ)が音声データベース20に蓄積されている場合、音声合成用リスト生成装置10は、音声データベース20内で、音素数毎に音素列の出現頻度を累計する。そして、音声合成用リスト生成装置10は、例えば、音素数“3”の音素列「u:/s/u」の出現頻度を累計した値(ここでは“156”)を、音素列とともに音声合成用データベース30に出力する。
For example, “ny / u: / s / u / d / e / s / u” (“/” is a phoneme break; the same applies hereinafter) is voiced as a phoneme text in which “news” is written in phoneme text data. When stored in the
次に、図4を参照(適宜図3参照)して、音声合成用リスト生成装置10の動作の概要について説明する。まず、音声合成用リスト生成装置10は、音素テキスト(ここでは「ny/u:/s/u/d/e/s/u」)から、初期音素数として“3”の音素数となる音素列の出現頻度を累計する。そして、音素列の出現頻度が、予め定めた閾値(ここでは“100”)を超過した音素列のみを、音声合成用データベース30に出力する。例えば、閾値を超過した出現頻度となる「u:/s/u」を出力する。
Next, the outline of the operation of the speech synthesis
そして、音声合成用リスト生成装置10は、出現頻度が閾値を超過した音素列のみを対象として、音素数を1増加し(ここでは音素数“4”)、その音素列の出現頻度を累計する。ここでも、音素数“3”のときと同様に出現頻度が閾値を超過する音素列のみを音声合成用データベース30に出力する。例えば、閾値を超過した出現頻度となる(s/u/d/e)を出力する。
このように、音素数を1増加させながら順次出現頻度を超過する音素列とその出現頻度を音声合成用データベース30に出力していく。
Then, the speech synthesis
In this way, the phoneme string that sequentially exceeds the appearance frequency while increasing the number of phonemes by 1 and the appearance frequency are output to the
これによって、出現頻度の低い音素列に対して、それより長い音素列を、出現頻度の累計対象から省くことができ、メモリ容量を削減し、高速に音素列リストを生成することができる。また、ここでは、初期音素数を“3”としているが、“1”から始めてもよい。また、音素を単位としてリスト(音素列リスト)を生成しているが、単語を単位としてリスト(単語列リスト)を生成することとしてもよい。
なお、約30000文の音素テキストを蓄積した音声データベース20に対して、音素列の出現頻度の閾値を“100”として本発明を実施したところ、約40000個の音素列リストが生成された。これによって、音声データベース20に依存する決まった言い回しについては、音素列リストからまとめて検索することが可能となる。
以下、音声合成用リスト生成装置の構成及び動作について詳細に説明する。
Accordingly, a phoneme string longer than that of a phoneme string having a low appearance frequency can be omitted from the accumulation target of the appearance frequency, a memory capacity can be reduced, and a phoneme string list can be generated at high speed. Here, although the initial phoneme number is “3”, it may be started from “1”. Further, the list (phoneme string list) is generated in units of phonemes, but the list (word string list) may be generated in units of words.
When the present invention was applied to the
Hereinafter, the configuration and operation of the speech synthesis list generation device will be described in detail.
[音声合成用リスト生成装置の構成]
まず、図1を参照して、本発明に係る音声合成用リスト生成装置の構成について説明する。図1は、音声合成用リスト生成装置の構成を示すブロック図である。図1に示すように、音声合成用リスト生成装置10は、複数の音素テキストを入力し、ある閾値以上の出現頻度となる音素列のリスト(音素列リスト)を生成し、出力するものである。ここで、音素テキストとは、音声を音声の最小単位である音素のテキストデータに書き下したものである。
[Configuration of List Generation Device for Speech Synthesis]
First, the configuration of the speech synthesis list generation apparatus according to the present invention will be described with reference to FIG. FIG. 1 is a block diagram illustrating a configuration of a speech synthesis list generation apparatus. As shown in FIG. 1, the speech synthesis
ここでは、音声合成用リスト生成装置10は、固定長音素列抽出手段11と、出現頻度累計手段12と、蓄積手段13と、リスト出力手段14と、初期データ設定手段15とを備えるものである。また、ここでは、音声合成用リスト生成装置10は、音素テキストを蓄積している音声データベース20と、生成した音素列リストを蓄積するための音声合成用データベース30と、キーボード等の入力手段40とが、外部に接続されているものとする。
Here, the speech synthesis
固定長音素列抽出手段11は、音素テキストから、固定長の音素数の連続した音素で構成される音素列を抽出するものである。ここでは、固定長音素列抽出手段11は、音声データベース20から順次音素テキストを読み出して、固定長の音素列を抽出し、出現頻度累計手段12に出力する。なお、固定長音素列抽出手段11は、初期データ設定手段15で設定される初期音素数を音素数の初期値とし、音声データベース20内の全ての音素テキストから音素列を抽出した段階で、リスト出力手段14にその音素数を含んだ出力指示を通知する。そして、固定長音素列抽出手段11は、リスト出力手段14から出力完了を通知されることで、音素数を1増加させて続けて音素列を抽出する。
The fixed-length phoneme string extraction means 11 extracts a phoneme string composed of continuous phonemes having a fixed-length phoneme number from the phoneme text. Here, the fixed-length phoneme
例えば、「ニュースです」を音素のテキストデータに書き下した音素テキストとして、「ny/u:/s/u/d/e/s/u」が入力され、初期音素数として「3」が設定されている場合、固定長音素列抽出手段11は、3つの音素で構成される複数(ここでは6つ)の音素列「ny/u:/s」、「u:/s/u」、「s/u/d」、「u/d/e」、「d/e/s」及び「e/s/u」を抽出する。また、固定長音素列抽出手段11は、リスト出力手段14から出力完了を通知されることで、音素数を1増加させた音素列「ny/u:/s/u」等を抽出する。
For example, “ny / u: / s / u / d / e / s / u” is input as the phoneme text in which “news” is written in the phoneme text data, and “3” is set as the initial phoneme number. In this case, the fixed-length phoneme string extraction means 11 has a plurality (six here) of phoneme strings “ny / u: / s”, “u: / s / u”, “s” composed of three phonemes. / U / d "," u / d / e "," d / e / s "and" e / s / u "are extracted. In addition, the fixed-length phoneme
出現頻度累計手段12は、固定長音素列抽出手段11で抽出された音素列を入力し、各音素列の出現頻度を累計するものである。この出現頻度累計手段12は、蓄積手段13を探索し、入力された音素列が、新規の(蓄積手段13に蓄積されていない)音素列である場合は、蓄積手段13に音素列及びその出現頻度を蓄える領域を確保し、入力された音素列をその領域に蓄積するとともに、出現頻度を初期化(例えば“1”をセット)する。また、入力された音素列が、すでに蓄積手段13に蓄積されている場合は、その音素列に対応する出現頻度に1を加算する。これによって、音素列と出現頻度との対のデータが蓄積手段13に蓄積されることになる。
なお、ここでは、出現頻度累計手段12に累計判定部12aを備え、入力された音素列の出現頻度を累計するかどうかを判定する。
The appearance
Here, the appearance
累計判定部12a(累計判定手段)は、入力された音素列が出現頻度を累計する対象となる音素列かどうかを判定するものである。この累計判定部12aは、入力された音素列より1つ短い音素列の出現頻度を、蓄積手段13から検索し、その出現頻度が初期データ設定手段15で設定された閾値以上の場合に、入力された音素列が出現頻度を累計する対象であると判定する。
The
例えば、前記した「ニュースです」の音素テキスト「ny/u:/s/u/d/e/s/u」で、3つの音素で構成される音素列「u:/s/u」、「s/u/d」及び「d/e/s」の出現頻度が閾値(例えば“100”)以上であった場合、累計判定部12aは、4つの音素で構成される「u:/s/u/d」、「s/u/d/e」及び「d/e/s/u」が、出現頻度の累計対象であると判定する。すなわち、累計判定部12aは、他の3つの音素で構成される音素列「ny/u:/s」、「u/d/e」及び「e/s/u」の出現頻度が低く、これ以上の長さを持つ音素列の出現頻度を累計することは意味を持たないことが分かっているため、これらを出現頻度の累計対象から外す。
この累計判定部12aの判定結果によって、出現頻度累計手段12は、出現頻度を測定する音素列を限定することができる。
For example, in the phonetic text “ny / u: / s / u / d / e / s / u” of “It is news”, the phoneme string “u: / s / u”, “ When the appearance frequency of “s / u / d” and “d / e / s” is equal to or greater than a threshold value (for example, “100”), the
Based on the determination result of the
蓄積手段13(蓄積装置)は、音素列及びその出現頻度を一時的に蓄積するものであって、一般的なメモリ等の記録媒体である。この蓄積手段13は、出現頻度累計手段12によって、音素列が書き込まれ、その音素列に対応する出現頻度が逐次更新される。
The storage means 13 (storage device) temporarily stores a phoneme string and its appearance frequency, and is a general recording medium such as a memory. In the storage means 13, the phoneme string is written by the appearance
リスト出力手段14は、蓄積手段13に蓄積されている音素列で、出現頻度の多い音素列を音素列リストとして出力するものである。このリスト出力手段14は、固定長音素列抽出手段11から音素数を含んだ出力指示を通知されることで、その音素数からなる音素列の中で、出現頻度の多い音素列を選択して出力する。ここでは、リスト出力手段14は、出力判定部14aと、データ削除部14bとを備えている。
The list output means 14 outputs a phoneme string having a high appearance frequency among the phoneme strings stored in the storage means 13 as a phoneme string list. The
出力判定部14aは、蓄積手段13に蓄積されている音素列を出力するかどうかを判定するものである。この出力判定部14aは、蓄積手段13に蓄積されている音素列の中で、初期データ設定手段15で設定される閾値以上の出現頻度となる音素列を出力可能であると判定する。これによって、ある閾値以上の出現頻度となった音素列のみを音素列リストとして出力することが可能になる。
The
データ削除部14b(データ削除手段)は、出現頻度の多い音素列を音素列リストとして出力した後に、蓄積手段13に蓄積されている音素列及びその出現頻度の中で不要となったデータを削除し、記憶(メモリ)領域を解放するものである。このデータ削除部14bは、固定長音素列抽出手段11から通知される出力指示に含まれている音素数から1を減算した音素数の音素列、及び、出力指示に含まれている音素数で出現頻度が最少データ数(閾値)に達しなかった音素列、並びに、出現頻度のデータを削除する。ここで、出力指示に含まれている音素数の音素列で閾値に達している音素列を残すのは、累計判定部12aで、入力された音素列より1つ短い音素列を出現頻度の累計対象の判定に用いるためである。これによって、蓄積手段13の容量を抑えることができる。
The
初期データ設定手段15は、固定長音素列抽出手段11に与える初期音素数や、出現頻度累計手段12及びリスト出力手段14に与える閾値を初期データとして設定するものである。ここでは、初期データ設定手段15は、キーボード等の入力手段40から初期データを入力する。例えば、予め定めた音素数として初期音素数を“3”と設定することで、固定長音素列抽出手段11は、音素数“3”を初期値として、順次“4”、“5”…と音素数を増加させて音素列を抽出する。また、例えば、閾値を“100”と設定することで、出現頻度累計手段12の累計判定部12aが、入力された音素列より1つ短い音素列の出現頻度と、閾値(“100”)とを比較して、出現頻度が閾値以上の場合に入力された音素列を、出現頻度の累計対象であると判定する。また、リスト出力手段14が、閾値以上の出現頻度となった音素列を外部に出力する。
なお、初期音素数や閾値を、予め設定した固有の値とする場合は、音声合成用リスト生成装置10から初期データ設定手段15を外して構成してもよい。
The initial data setting means 15 sets the initial phoneme number given to the fixed-length phoneme string extraction means 11 and the threshold values given to the appearance
When the initial phoneme number and the threshold value are set to specific values set in advance, the initial
以上、一実施形態に基づいて、音声合成用リスト生成装置10の構成について説明したが、音声合成用リスト生成装置10は、コンピュータにおいて固定長音素列抽出手段11、出現頻度累計手段12及びリスト出力手段14を機能プログラムとして実現することも可能であり、各機能プログラムを結合して音声合成用リスト生成プログラムとして動作させることも可能である。
As described above, the configuration of the speech synthesis
また、ここでは、音声合成用リスト生成装置10を、音素列のリストを生成するものとして説明したが、単語列のリストを生成するものとして機能させることとしてもよい。例えば、「全国の天気です」を単語のテキストデータに書き下した単語テキストである「zenkoku/no/tenki/desu」(“/”は単語の区切り)を入力として、単語列毎の出現頻度に基づいて、単語列リストを生成することも可能である。
In addition, here, the speech synthesis
この場合、図2に示すように、図1の固定長音素列抽出手段11を、単語テキストから、固定長の単語数の連続した単語で構成される単語列を抽出する固定長単語列抽出手段11Bとして機能させる。また、図1の出現頻度累計手段12、蓄積手段13及びリスト出力手段14を、音素列の代わりに単語列を単位として、累計、蓄積及び出力する出現頻度累計手段12B、蓄積手段13B及びリスト出力手段14Bとして機能させる。また、図1の初期データ設定手段15を、初期音素数の代わりに初期単語数を設定する初期データ設定手段15Bとして機能させる。
In this case, as shown in FIG. 2, the fixed-length phoneme string extraction means 11 of FIG. 1 extracts a word string composed of continuous words having a fixed number of words from the word text. Function as 11B. Further, the appearance
この図2に示すように音声合成用リスト生成装置10Bを構成することで、音声合成用リスト生成装置10Bは、複数の単語テキストを入力し、ある閾値以上の出現頻度となる単語列のリスト(単語列リスト)を生成し、出力することができる。なお、図2の音声合成用リスト生成装置10Bは、音素列の代わりに単語列を使用する以外の機能は、音声合成用リスト生成装置10と同様であるため、その詳細な説明については省略する。
By configuring the speech synthesis
[音声合成用リスト生成装置の動作]
次に、図5を参照(適宜図1参照)して、本発明に係る音声合成用リスト生成装置の動作について説明する。図5は、音声合成用リスト生成装置の動作を示すフローチャートである。なお、ここでは、初期データ設定手段15によって、音素数列の初期値である初期音素数と出現頻度の閾値とが、予め設定されているものとする。
[Operation of List Generation Device for Speech Synthesis]
Next, the operation of the speech synthesis list generation apparatus according to the present invention will be described with reference to FIG. FIG. 5 is a flowchart showing the operation of the speech synthesis list generation apparatus. Here, it is assumed that the initial data setting means 15 sets the initial phoneme number, which is the initial value of the phoneme number sequence, and the appearance frequency threshold value in advance.
(固定長音素列抽出ステップ)
まず、音声合成用リスト生成装置10は、固定長音素列抽出手段11によって、音声データベース20から音素テキストを1つ入力し(ステップS1)、設定された音素数の連続した音素で構成される音素列を抽出する(ステップS2)。例えば、音素テキスト「ny/u:/s/u/d/e/s/u」から、設定された音素数で音素列(音素数“3”の場合、「ny/u:/s」等)を1つ切り出す。
(Fixed long phoneme string extraction step)
First, the speech synthesis
(累計判定ステップ)
そして、出現頻度累計手段12の累計判定部12aによって、音素列が出現頻度を累計する対象となる音素列かどうかを判定する(ステップS3)。ここでは、入力された音素列より1つ短い音素列の出現頻度を、蓄積手段13から検索し、その出現頻度が初期データ設定手段15で設定された閾値以上の場合に、入力された音素列が出現頻度を累計する対象であると判定する。
(Cumulative judgment step)
Then, the
(出現頻度累計ステップ)
ここで、音素列が出現頻度の対象と判断された場合(ステップS3でYes)、出現頻度累計手段12によって、その音素列の出現頻度を1増加して(ステップS4)、ステップS5へ進む。なお、音素列が新規の場合は、蓄積手段13に新たに音素列と、その音素列の出現頻度を蓄える領域を確保する。一方、音素列が出現頻度の対象ではないと判断された場合(ステップS3でNo)、そのままステップS5へ進む。
(Appearance frequency accumulation step)
Here, if it is determined that the phoneme string is an object of the appearance frequency (Yes in step S3), the appearance
そして、音声合成用リスト生成装置10は、ステップS1で入力した音素テキストから音素列を抽出し終わったかどうかを判定する(ステップS5)。すなわち、音素テキストから設定された音素数の音素列を新規に切り出せるかどうかを判定する。ここで、音素テキストからすべての音素列を抽出し終わっていない場合(ステップS5でNo)、ステップS2へ戻って、音素テキストから、設定された音素数の次の音素列を切り出して動作を続ける。
Then, the speech synthesis
また、音声合成用リスト生成装置10は、すべての音素列を抽出し終わった場合(ステップS5でYes)、さらに音声データベース20からの入力が終了したかどうかを判定する(ステップS6)。ここで、音声データベース20からの入力が終了した場合(ステップS6でYes)、ステップS7へ進む。一方、音声データベースからの入力が終了していない場合(ステップS6でNo)、すなわち、まだ、音素列を切り出していない音素テキストが音声データベースに存在している場合は、ステップS1へ戻って、音声データベースから音素テキストを入力し動作を続ける。
Further, when all the phoneme strings have been extracted (Yes in step S5), the speech synthesis
(リスト出力ステップ)
そして、音声合成用リスト生成装置10は、固定長音素列抽出手段11からリスト出力手段14に出力指示を通知し、リスト出力手段14が、蓄積手段13に蓄積されている音素列の中で、初期データ設定手段15で設定された閾値以上の出現頻度となった音素列を、音素列リストとして出力する(ステップS7)。なお、ここで、データ削除部14bによって、出力指示に含まれている音素数から1を減算した音素数の音素列及びその出現頻度のデータを、蓄積手段13から削除する(ステップとして図示せず)。
(List output step)
Then, the speech synthesis
この後、リスト出力手段14から出力完了を通知されることで、固定長音素列抽出手段11が、音素数を1増加し(ステップS8)、その音素数以上の音素列が音声データベース20に存在するかどうかを判定し(ステップS9)、存在する場合(ステップS9でYes)、ステップS1へ戻って、音声データベースから音素テキストを入力し動作を続ける。そして、音素数以上の音素列が音声データベース20に存在しなくなった場合(ステップS9でNo)、動作を終了する。
以上の動作によって、音声合成用リスト生成装置10は、複数の音素テキストを入力し、ある閾値以上の出現頻度となる音素列のリスト(音素列リスト)を出力することができる。
Thereafter, when the output completion is notified from the list output means 14, the fixed-length phoneme string extraction means 11 increases the number of phonemes by 1 (step S8), and a phoneme string equal to or greater than the number of phonemes is present in the
Through the above operation, the speech synthesis
10、10B 音声合成用リスト生成装置
11 固定長音素列抽出手段
11B 固定長単語列抽出手段
12、12B 出現頻度累計手段
12a 累計判定部(累計判定手段)
13、13B 蓄積手段(蓄積装置)
14、14B リスト出力手段
14a 出力判定部
14b データ削除部(データ削除手段)
15、15B 初期データ設定手段
10, 10B List generator for
13, 13B Storage means (storage device)
14, 14B List output means 14a
15, 15B Initial data setting means
Claims (4)
予め定めた音素数を順次増加させて、前記各音素テキストから、前記音素数の連続した音素で構成される音素列を順次抽出する固定長音素列抽出手段と、
この固定長音素列抽出手段で抽出された音素列が、前記複数の音素テキストに出現する出現頻度を累計する出現頻度累計手段と、
前記音素列と前記出現頻度累計手段で累計された当該音素列の出現頻度とを蓄積する蓄積手段と、
前記固定長音素列抽出手段で前記音素数を増加させる毎に、前記蓄積手段に蓄積されている音素列の出現頻度が予め定めた閾値より多い音素列を、前記音素列リストとして出力するリスト出力手段とを備え、
前記出現頻度累計手段には、前記抽出された音素列の先頭から当該音素列の音素数よりも1つ短い音素数分の音素列の出現頻度が、前記閾値より多い場合に、当該抽出された音素列を前記出現頻度の累計対象であると判定する累計判定手段を備え、
前記リスト出力手段には、前記音素列リストを出力した後に、前記蓄積手段から、前記固定長音素列抽出手段で用いた音素数から1を減算した音素数の音素列及び出現頻度と、当該音素数で出現頻度が前記閾値に達しなかった音素列及び出現頻度とを削除するデータ削除手段を備えていることを特徴とする音声合成用リスト生成装置。 A speech synthesis list generation device that generates a phoneme string list that is a search unit for speech synthesis from a plurality of phoneme texts in which speech is written into phoneme text data,
A fixed-length phoneme string extraction means for sequentially increasing a predetermined number of phonemes and sequentially extracting a phoneme string composed of continuous phonemes of the number of phonemes from each of the phoneme texts;
Appearance frequency accumulating means for accumulating the appearance frequencies at which the phoneme strings extracted by the fixed-length phoneme string extraction means appear in the plurality of phoneme texts;
Accumulating means for accumulating the phoneme string and the appearance frequency of the phoneme string accumulated by the appearance frequency accumulating means;
A list output that outputs, as the phoneme sequence list, a phoneme sequence in which the frequency of appearance of phoneme sequences stored in the storage unit is greater than a predetermined threshold each time the number of phonemes is increased by the fixed-length phoneme sequence extraction unit Means and
The appearance frequency accumulating means extracts the extracted phoneme string when the appearance frequency of the phoneme string one number shorter than the phoneme number of the phoneme string from the head of the extracted phoneme string is higher than the threshold . A cumulative determination unit that determines that a phoneme string is a target of cumulative appearance frequency ;
After outputting the phoneme string list, the list output means outputs a phoneme string and an appearance frequency of a phoneme number obtained by subtracting 1 from the phoneme number used in the fixed-length phoneme string extraction means from the storage means, A speech synthesizing list generation apparatus comprising: a data deletion unit that deletes a phoneme string and an appearance frequency that are prime numbers whose appearance frequency has not reached the threshold value .
予め定めた単語数を順次増加させて、前記各単語テキストから、前記単語数の連続した単語で構成される単語列を順次抽出する固定長単語列抽出手段と、
この固定長単語列抽出手段で抽出された単語列が、前記複数の単語テキストに出現する出現頻度を累計する出現頻度累計手段と、
前記単語列と前記出現頻度累計手段で累計された当該単語列の出現頻度とを蓄積する蓄積手段と、
前記固定長単語列抽出手段で前記単語数を増加させる毎に、前記蓄積手段に蓄積されている単語列の出現頻度が予め定めた閾値より多い単語列を、前記単語列リストとして出力するリスト出力手段とを備え、
前記出現頻度累計手段には、前記抽出された単語列の先頭から当該単語列の単語数よりも1つ短い単語数分の単語列の出現頻度が、前記閾値より多い場合に、当該抽出された単語列を前記出現頻度の累計対象であると判定する累計判定手段を備え、
前記リスト出力手段には、前記単語列リストを出力した後に、前記蓄積手段から、前記固定長単語列抽出手段で用いた単語数から1を減算した単語数の単語列及び出現頻度と、当該単語数で出現頻度が前記閾値に達しなかった単語列及び出現頻度とを削除するデータ削除手段を備えていることを特徴とする音声合成用リスト生成装置。 A speech synthesis list generation device that generates a word string list, which is a search unit for speech synthesis, from a plurality of word texts in which speech is written into word text data,
A fixed-length word string extraction means for sequentially increasing a predetermined number of words and sequentially extracting a word string composed of words having a continuous number of words from each of the word texts;
Appearance frequency accumulating means for accumulating the appearance frequencies of the word strings extracted by the fixed-length word string extracting means,
Accumulating means for accumulating the word string and the appearance frequency of the word string accumulated by the appearance frequency accumulating means;
Each time the number of words is increased by the fixed-length word string extraction means, a list output that outputs as a word string list a word string in which the appearance frequency of the word strings stored in the storage means is higher than a predetermined threshold Means and
The appearance frequency accumulating means extracts the extracted word string when the appearance frequency of the word string corresponding to the number of words shorter by one than the number of words in the word string is higher than the threshold from the beginning of the extracted word string . A cumulative determination unit that determines that a word string is a target of cumulative appearance frequency ;
In the list output means, after outputting the word string list, a word string of the number of words obtained by subtracting 1 from the number of words used in the fixed-length word string extraction means and the appearance frequency from the storage means, and the word A speech synthesizing list generating apparatus comprising data deletion means for deleting a word string whose appearance frequency does not reach the threshold and the appearance frequency .
予め定めた音素数を順次増加させて、前記各音素テキストから、前記音素数の連続した音素で構成される音素列を順次抽出する固定長音素列抽出手段、
この固定長音素列抽出手段で抽出された音素列の先頭から当該音素列の音素数よりも1つ短い音素数分の音素列の出現頻度が、予め定めた閾値より多い場合に、当該抽出された音素列を前記出現頻度の累計対象であると判定する累計判定手段、
この累計判定手段で、出現頻度の累計対象であると判定された音素列の出現頻度を累計し、その音素列とその音素列に対応する出現頻度とを蓄積装置に蓄積する出現頻度累計手段、
前記固定長音素列抽出手段で前記音素数を増加させる毎に、前記蓄積装置に蓄積されている音素列の出現頻度が、前記閾値より多い音素列を、前記音素列リストとして出力するとともに、当該音素列リストを出力した後に、前記蓄積手段から、前記固定長音素列抽出手段で用いた音素数から1を減算した音素数の音素列及び出現頻度と、当該音素数で出現頻度が前記閾値に達しなかった音素列及び出現頻度とを削除するリスト出力手段、
として機能させることを特徴とする音声合成用リスト生成プログラム。 In order to generate a phoneme string list as a search unit for speech synthesis from a plurality of phoneme texts in which speech is written into phoneme text data,
A fixed-length phoneme string extraction means for sequentially increasing a predetermined number of phonemes and sequentially extracting a phoneme string composed of continuous phonemes of the phoneme number from each of the phoneme texts;
If the frequency of appearance of phoneme strings corresponding to the number of phonemes one shorter than the number of phonemes in the phoneme string from the beginning of the phoneme string extracted by the fixed-length phoneme string extraction unit is greater than a predetermined threshold, the extracted phoneme string is extracted. A cumulative determination unit that determines that the phoneme string is a target of cumulative appearance frequency;
Appearance frequency accumulating means for accumulating the appearance frequencies of the phoneme strings determined to be the object of appearance frequency accumulation by the accumulative determination means, and accumulating the phoneme strings and the appearance frequencies corresponding to the phoneme strings in the storage device;
Each time the number of phonemes is increased by the fixed-length phoneme string extraction means, a phoneme string in which the appearance frequency of the phoneme strings stored in the storage device is greater than the threshold is output as the phoneme string list , and After outputting the phoneme sequence list, the phoneme sequence and the appearance frequency of the phoneme number obtained by subtracting 1 from the phoneme number used by the fixed-length phoneme sequence extraction unit from the storage unit, and the appearance frequency at the phoneme number are set as the threshold value. List output means for deleting phoneme strings and appearance frequencies that have not been reached ,
A program for generating a list for speech synthesis, characterized in that
予め定めた単語数を順次増加させて、前記各単語テキストから、前記単語数の連続した単語で構成される単語列を順次抽出する固定長単語列抽出手段、
この固定長単語列抽出手段で抽出された単語列の先頭から当該単語列の単語数よりも1つ短い単語数分の単語列の出現頻度が、予め定めた閾値より多い場合に、当該抽出された単語列を前記出現頻度の累計対象であると判定する累計判定手段、
この累計判定手段で、出現頻度の累計対象であると判定された単語列の出現頻度を累計し、その単語列とその単語列に対応する出現頻度とを蓄積装置に蓄積する出現頻度累計手段、
前記固定長単語列抽出手段で前記単語数を増加させる毎に、前記蓄積装置に蓄積されている単語列の出現頻度が、前記閾値より多い単語列を、前記単語列リストとして出力するとともに、当該単語列リストを出力した後に、前記蓄積手段から、前記固定長単語列抽出手段で用いた単語数から1を減算した単語数の単語列及び出現頻度と、当該単語数で出現頻度が前記閾値に達しなかった単語列及び出現頻度とを削除するリスト出力手段、
として機能させることを特徴とする音声合成用リスト生成プログラム。 In order to generate a word string list, which is a search unit for speech synthesis, from a plurality of word texts in which speech is written into word text data,
A fixed-length word string extraction means for sequentially increasing a predetermined number of words and sequentially extracting a word string composed of words having a continuous number of words from each of the word texts;
If the appearance frequency of word strings corresponding to the number of words one shorter than the number of words in the word string from the beginning of the word string extracted by the fixed-length word string extraction unit is greater than a predetermined threshold, the word string is extracted. A cumulative determination means for determining that the word string is a target of cumulative appearance frequency,
Appearance frequency accumulating means for accumulating the appearance frequency of the word string determined to be the object of appearance frequency accumulation by the accumulative determination means, and accumulating the word string and the appearance frequency corresponding to the word string in the storage device,
Each time the number of words is increased by the fixed-length word string extraction unit, a word string in which the frequency of occurrence of the word string stored in the storage device is greater than the threshold is output as the word string list , and After outputting the word string list, from the storage means, the word string of the number of words obtained by subtracting 1 from the number of words used in the fixed-length word string extraction means and the appearance frequency, and the appearance frequency with the number of words is set as the threshold value. A list output means for deleting the word string and the appearance frequency that have not been reached ;
A program for generating a list for speech synthesis, characterized in that
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003296585A JP4344195B2 (en) | 2003-08-20 | 2003-08-20 | Speech synthesis list generation apparatus and speech synthesis list generation program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2003296585A JP4344195B2 (en) | 2003-08-20 | 2003-08-20 | Speech synthesis list generation apparatus and speech synthesis list generation program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2005070164A JP2005070164A (en) | 2005-03-17 |
| JP4344195B2 true JP4344195B2 (en) | 2009-10-14 |
Family
ID=34402706
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2003296585A Expired - Fee Related JP4344195B2 (en) | 2003-08-20 | 2003-08-20 | Speech synthesis list generation apparatus and speech synthesis list generation program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4344195B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110276070B (en) * | 2019-05-22 | 2023-04-07 | 广州多益网络股份有限公司 | Corpus processing method, apparatus and storage medium |
-
2003
- 2003-08-20 JP JP2003296585A patent/JP4344195B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP2005070164A (en) | 2005-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| TWI543148B (en) | Apparatus and method for checking keywords | |
| Parlak et al. | Spoken term detection for Turkish broadcast news | |
| JP4968036B2 (en) | Prosodic word grouping method and apparatus | |
| JP5753769B2 (en) | Voice data retrieval system and program therefor | |
| CN104157285A (en) | Voice recognition method and device, and electronic equipment | |
| JP5408631B2 (en) | Voice search apparatus and voice search method | |
| JPWO2009081895A1 (en) | Speech recognition system, speech recognition method, and speech recognition program | |
| JP2012043000A (en) | Retrieval device, retrieval method, and program | |
| CN102200839A (en) | Method and system for processing pinyin string in process of inputting Chinese characters | |
| US7328157B1 (en) | Domain adaptation for TTS systems | |
| JP2017097062A (en) | Reading imparting device, speech recognition device, reading imparting method, speech recognition method, and program | |
| WO2002029615A1 (en) | Search method based on single triphone tree for large vocabulary continuous speech recognizer | |
| JP4344195B2 (en) | Speech synthesis list generation apparatus and speech synthesis list generation program | |
| JP6619932B2 (en) | Morphological analyzer and program | |
| JP2015084047A (en) | Sentence set creation device, sentence set creation method, and sentence set creation program | |
| KR102386627B1 (en) | Beam search method for speech recognition and apparatus thereof | |
| Zitouni et al. | Statistical language modeling based on variable-length sequences | |
| JP4173404B2 (en) | Statement set automatic generation device, statement set automatic generation program, storage medium | |
| JP4262077B2 (en) | Information processing apparatus, control method therefor, and program | |
| JP3969079B2 (en) | Voice recognition apparatus and method, recording medium, and program | |
| JP4478088B2 (en) | Symbol string conversion method, speech recognition method, symbol string converter and program, and recording medium | |
| JP2005267053A (en) | Speech search device, speech search server, speech search method, and speech search program | |
| JP6003127B2 (en) | Language model creation program and language model creation device | |
| JP6023543B2 (en) | Symbol string conversion method, speech recognition method using the same, apparatus and program thereof, and recording medium thereof | |
| JP6078435B2 (en) | Symbol string conversion method, speech recognition method, apparatus and program thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20060214 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20090126 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20090203 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20090326 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20090616 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090710 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120717 Year of fee payment: 3 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120717 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130717 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140717 Year of fee payment: 5 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |