Method and apparatus for processing speech information

Abstract: By performing statistical processing of features of a speech, such as the fundamental frequency and the power of the speech, and the like, in consideration of phoneme environment, a pitch pattern having a high probability of having high reliability is formed, so that a synthesized speech close to a speech pronounced by a man can be output. In addition, by performing speech recognition using a pitch pattern close to a speech pronounced by a man, the recognition rate is increased. For that purpose, a speech-information processing apparatus includes a statistical processing unit for extracting features by performing statistical processing of a feature file formed by extracting features of a speech, such as the fundamental frequency and its variations, and the power and its variations of the speech, and the like, from a speech file, and a label file in which phoneme environment, comprising the accent type, the number of moras, the mora position, phonemes and the like, is considered, and a pitch pattern forming unit for forming a pitch pattern, in which phoneme environment is considered, based on the result of the statistical processing.

Description: This invention relates to a method and apparatus for processing speech information in which in speech-information processing, such as systematic speech synthesis, speech recognition or the like, in order to generate a natural meter of a synthesized speech or to improve the speech recognition rate, statistical processing of features, such as the fundamental frequency and the power of a speech, and the like, is performed in consideration of phoneme environment, and a pitch-pattern model having a high probability of having high reliability is constructed. A speech is most naturally used from among means for exchanging information between people. On the other hand, computers have made such a great progress that they not only perform numerical calculation but also deal with various kinds of information. Accordingly, there is a need to use speech as a means for exchanging information between man and computer. In a systematic speech synthesis apparatus among such information exchanging means, a machine converts an arbitrary text into a synthesized speech. Therefore, such an apparatus serves as important means for transmitting information from a computer to a man. However, a synthesized speech output from a conventional speech synthesis apparatus is an unnatural and mechanical speech compared with a natural speech generated by a man. One of reasons for this problem is that in the conventional technique, only a simple model is adopted in meter-generating rules for generating accent and intonation. Accordingly, a speech synthesized by such a simple model sounds mechanical to a man who hears the speech. Furthermore, speech recognition in which a change due to phoneme environment is not considered causes a decrease in the recognition rate. EP-A-0515709 discloses a speech information processing method in which the pitch pattern for each phoneme is determined dependent on the word each phoneme belongs to, the stress positioning, duration and continuity constraints. When statistically processing a file of features, such as the fundamental frequency and the power of a speech, and the like, and a label file, the present invention achieves the following objects (items). 1) By using a context dependent HMM (Hidden Markov Model); i.e., the accent type, the number of moras, and the mora position, information relating to the variance, the mean value, the transition probability of a pitch pattern is generated. Hence, a model having a high probability of having high reliability can be automatically generated, and a speech which is natural and close to a speech pronounced by a man can be synthesized. 2) By using the context dependent HMM in which phoneme environment (voiceless fricative, voiced plosive or the like) of the concerned phoneme is considered in addition to the accent type, the number of moras and the mora position described in item 1), information relating to the variance, the mean value, the transition probability and the like of a pitch pattern is generated for each phoneme environment. Hence, a model having a high probability of having high reliability can be automatically generated, and speech which is natural and close to speech pronounced by man can be synthesized. 3) As for a category having a large amount of data, by considering phoneme environment of phonemes before and after the concerned phoneme, and the like in addition to the accent type, the number of moras, the mora position, and phoneme environment of the concerned phoneme described in item 2), a pitch pattern which is more precise than the pitch pattern obtained in item 2 is obtained, and speech which is natural and close to a speech pronounced by a man can be synthesized. 4) By hierarchically configuring and utilizing the information described in items 1), 2) and 3), a precise pitch pattern model in which phoneme environment and the like are considered can be selected from a pitch pattern model in which only a rough structure is shown, in accordance with the amount of data, and a speech which is natural and close to a speech pronounced by a man can be synthesized. 5) By preparing the hierarchically configured pitch pattern model described in item 4) and a recognition dictionary having accent information, speech recognition utilizing prosodic information can be performed, and the recognition rate can be increased. According to a first aspect of the present invention there is provided a speech-information processing method comprising the steps of: extracting features from the speech data to form a feature file; and analyzing the speech data to form a label file; the method being characterised by the further steps of: performing statistical processing of features of stored speech data for each phoneme environment including at least the number of moras and the accent type, using the feature file and the label file in order to generate pitch pattern models; and forming a pitch pattern using the pitch pattern models obtained for each phoneme environment as a result of the statistical processing. According to a second aspect of the present invention there is provided a speech-information processing apparatus comprising: speech-file storage means for storing speech data; feature extraction means for forming a feature file by extracting features from the speech data stored in said speech file storage means; and analysis means for analyzing the speech data to be processed for each phoneme environment; the apparatus being characterised by comprising: statistical processing means for performing statistical processing for each phoneme environment including at least the number of moras and accent type, using said feature file obtained from said feature extraction means and a label file produced by said analysis means in order to generate pitch pattern models; and pitch-pattern forming means for forming a pitch pattern, using the pitch pattern models obtained for each phoneme environment from said statistical processing means. The foregoing and other objects, advantages and features of the present invention will become more apparent from the following description, which is by way of example only, of embodiments of the invention taken in conjunction with the accompanying drawings in which: FIG. 1 is a diagram illustrating the configuration of functional units for forming a pitch pattern; FIG. 2 is a diagram illustrating labels; FIG. 3 is a diagram illustrating a phoneme list; FIG. 4 is a diagram illustrating a label file; FIG. 5 is a diagram illustrating a pitch pattern table using the context dependent HMM; i.e., the accent type, the number of moras, and the mora position; FIGS. 6 and 7 are diagrams each illustrating an example of formation of a pitch pattern using the context dependent HMM, i.e.; the accent type, the number of moras, and the mora position; FIG. 8 is a diagram illustrating a pitch pattern table using a phoneme context dependent HMM, in which the phoneme category is also considered; FIGS. 9 and 10 are diagrams each illustrating an example of formation of a pitch pattern using the phoneme context dependent HMM; i.e., the phoneme category, the accent type, the number of moras, and the mora position; FIG. 11 is a diagram illustrating a hierarchical structure of a pitch pattern; and FIG. 12 is a block diagram illustrating the configuration of a speech-information processing apparatus. First Embodiment FIG. 12 is a block diagram illustrating the configuration of a speech-information processing apparatus according to a first embodiment of the present invention. In FIG. 12, a CPU (central processing unit) 1 controls the processing of the entire apparatus in accordance with control programs stored in a ROM (read-only memory) 2. The ROM 2 stores control programs for respective processing described in the present embodiment. A RAM (random access memory) 3 includes a portion for storing data, such as files, tables and the like, used in respective processing performed in the present embodiment, and a working-memory portion for storing data generated in the course of processing. A keyboard 4 is used for inputting code information for instructing respective processing, such as provision of labels to a speech file, and the like. A pointing device 5 is used for inputting information relating to the coordinates of a desired position. The pointing device 5 may, for example, have the shape of a pen for inputting a locus. Display means 6 displays information input from the keyboard 4 or the pointing device 5, information received in the apparatus, information in the course of processing, or a result of processing. A CRT (cathode-ray tube) or a liquid-crystal display is used as the display means 6. A microphone 7 is used for inputting a speech, serving as an object to be recognized, or various kinds of command speechs. A speaker 8 outputs a synthesized speech or a message speech. The first embodiment will now be described with reference to the diagram illustrating the configuration of functional units shown in FIG. 1. In FIG. 1, a speech file 11 stores a speech data base and the like. A feature extracting unit 12 extracts features from data stored in the speech file 11. A label providing unit 13 provides the data stored in the speech file 11 with the label of each phoneme. A phoneme-list forming unit 14 forms a phoneme list for the data stored in the speech file 11. A feature file 15 stores features of data stored in the speech file 11 and extracted by the feature extracting unit 12 together with a speech-file number. A label file 16 stores data for each label formed from data obtained from the label providing unit 13 and the phoneme-list forming unit 14. A statistical processing unit 17 performs statistical processing based on data stored in the feature file 15 and the label file 16. A pitch-pattern forming unit 18 forms a pitch pattern using data obtained from the statistical processing unit 17. Each processing performed by the above-described configuration will now be described in detail with reference to drawings indicating data generated in the processing. First, by a method in which the operator visually inputs label data for data displayed on the display means 6 through the keyboard 4 or the like, and a method in which control is performed by a program, as shown in FIG. 2, a label is provided for each phoneme of data of the speech data base or the like stored in the speech file 11. For example, since data "aki" having a speech-file number 1 (to be described later in detail with reference to FIG. 3) comprises a phoneme "a", a phoneme "k", and a phoneme "i", labels are determined as times "100 - 149" for the phoneme "a", times "150 - 179" for the phoneme "k", and times "180 - 200" for the phoneme "i". The phoneme list forming unit 14 forms, as shown in FIG. 3, a phoneme list comprising the accent type, the number of moras, the phoneme category and the like for each speech-file number (for example, in units of a word). For example, the phomene list for the data "aki" having the speech-file number 1 is determined such that the number of moras is "2", and the accent type is a "0 type". Data for each label as shown in FIG. 4, in which phoneme environment, comprising the accent type, the number of moras, the mora position, the phoneme category and the like, is considered, is formed from data obtained from the label providing unit 13 and the phoneme-list forming unit 14, and is stored in the label file 16. The feature extracting unit 12 displays data stored in the speech file 11 on the display means 6. By one of the method in which the operator visually inputs label data for the displayed data through the keyboard 4 or the like, and the method in which control is performed by a program, features, such as the fundamental frequency, the power, variations in these values (the delta pitch and the delta power), and the like, are extracted, and the feature file 15 is formed. The feature extracting unit 12 may use a method in which utilizing label information provided by the label providing unit 13, the fundamental frequency is extracted in accordance with voice/voiceless sound/no sound, for example, by providing specific codes for a voiceless interval and a soundless interval. The statistical processing unit 17 performs statistical processing based on data stored in the feature file 15 and the label file 16, and the pitch-pattern forming unit 18 forms a pitch pattern. The fundamental frequency (or logarithmic transformation thereof), power, duration, spectral information (cepstrum, LPC coefficient and the like), linear regression coefficients and quadratic regression coefficients of these values, and the like may be utilized as parameters representing features, and statistical processing can be performed by arbitrary combination of these parameters. Normalized data of the above-described features, such as the logarithmic fundamental frequency, the power and the like, for each data, each category or all data may also be used. As an example in the present embodiment, a description will be provided of a case in which the phoneme-list forming unit 14 forms a phoneme list using the accent type, the number of moras, and the mora position, and the feature file 15 uses only the logarithmic fundamental frequency. FIG. 5 illustrates a pitch pattern table when the context dependent HMM; i.e., the accent type, the number of moras, and the mora position (a continuous HMM of three states/three loops per mora) is used. In the present embodiment, the phoneme environment is subjected to statistical processing by being classified according to the accent type, the number of moras, and the mora position. Next, a description will be provided of procedures of forming a pitch pattern for "AZI" by the pitch-pattern forming unit 18 with reference to FIGS. 6 and 7. 1. Models (021, 022) corresponding to phoneme environment are selected. Since the number of moras is 2 and the accent type is the 0 type for "AZI", data having the mora positions 1 and 2 in that phoneme environment is selected. 2. The states of the selected models are arranged in accordance with the duration (l 1 , l 2 , l 3 ) of phonemes. 3. Point pitches are determined using the mean values (µ 11 , µ 12 , µ 13 and the like) of the frequencies of the respective states. 4. The point pitches are interpolated (interpolation for a voiced consonant is performed using two vowels adjacent to the consonant), and a pitch pattern as shown in FIG. 6 is formed. 5. If the features are extracted from the normalized fundamental frequency, as shown in FIG. 7, the pitch pattern shown in FIG. 6 is multiplied by a dynamic range (d), and a bias (b) is added. In this operation, allocation of time for three states (one phoneme) in each model is performed by a method of simply dividing the entire time into three equal portions, a method of distributing the time in proportion to the ratio of the transition probability, a method of dividing the time in proportion to the ratio of statistical durations which can be obtained from the Viterbi decoding algorithm by passing the obtained model through learning data, or the like. Fundamental frequency contours can be formed for the pitch pattern models for which the time is distributed using one of various kinds of interpolation operations, such as linear interpolation, spline interpolation and the like. At that time, pitch pattern correction in consideration of variance can also be performed. Second Embodiment In the above-described first embodiment, the phoneme environment of a phoneme list formed by the phoneme-list forming unit 14 comprises the accent type, the mora type, and the mora position. A description will now be provided of a second embodiment of the present invention in which a phoneme list is formed in consideration of environment including a phoneme or a phoneme category (hereinafter termed a "phoneme category" inclusive of the phoneme) in addition to the above-described items, and the feature file 15 uses only the logarithmic fundamental frequency. FIG. 8 illustrates a pitch pattern table when the phoneme context dependent HMM in which the accent type, the number of moras, the mora position, and the phoneme category are considered (a continuous HMM having three states/three loops per mora) is used. In the present embodiment, phoneme environment is subjected to statistical processing by being classified according to the accent type, the number of moras, the mora position, and the phoneme category. Next, a description will be provided of procedures for forming a pitch pattern by the pitch-pattern forming unit 18 shown in FIG. 1 with reference to FIGS. 9 and 10. 1. Models (V021, V022, Vz022) corresponding to phoneme environment are selected. 2. The states of the selected models are arranged in accordance with the duration (l 1 , l 2 , l 3 ) of phonemes. 3. Point pitches are determined using the mean values (µ 11 , µ 12 , µ 13 and the like) of the frequencies of the respective states. 4. The point pitches are interpolated, and a pitch pattern as shown in FIG. 9 is formed. 5. If the features are extracted from the normalized fundamental frequency, as shown in FIG. 10, the pitch pattern shown in FIG. 9 is multiplied by a dynamic range (d), and a bias (b) is added. The time allocation and interpolation can be performed in the same manner as in the above-described first embodiment. Third Embodiment For a category having a large amount of data, a pitch pattern which is more precise than in the first embodiment can be generated, for example, by taking into consideration phoneme environment of phonemes before and after the concerned phoneme. Fourth Embodiment Since fine changes in a phoneme can be more precisely expressed by dividing the phoneme into a large number of fine classes, improvement in hearing can be expected. However, in some cases, the HMM cannot be formed for fine phoneme classes because of limitation in the amount of data. Accordingly, when performing systematic speech synthesis using such phonemes, it is necessary to adopt a multihierarchy configuration, and to generate a pitch pattern utilizing upper-hierarchy models when phoneme environment models to be synthesized are not present in low hierarchies consisting of fine classes. By hierarchically configuring pitch pattern models obtained in the above-described first, second and third embodiments, it is possible to select a pitch pattern corresponding to the amount of data, and to utilize more precise pitch pattern models as the amount of data increases, with the same configuration irrespective of the amount of data. FIG. 11 illustrates the hierarchical structure of pitch patterns. In FIG. 11, reference numeral 21 indicates classes of a pitch pattern generated in the first embodiment. Reference numeral 22 indicates classes of a pitch pattern generated when the concerned phoneme is classified into two kinds; i.e., a voiced sound and a voiceless sound, as phoneme environment, according to an example of the second embodiment. Reference numeral 23 indicates classes of a pitch pattern generated when the concerned phoneme and the next phoneme are classified into two kinds; i.e., a voiced sound and a voiceless sound, as phoneme environment, according to an example of the third embodiment. Reference numeral 24 indicates classes of a pitch pattern generated when the concerned phoneme and the next phoneme are classified according to phoneme categories (voiceless fricative, voiced plosive and the like), according to another example of the third embodiment. The hierachical structure shown in FIG. 11 only is an example of the present invention. For example, the phoneme category of the phoneme before the concerned phoneme may be considered. In another approach, different models may be adopted for respective classes, or any model shown in FIG. 11 may be deleted. Fifth Embodiment When performing voice recognition utilizing prosodic information, by comparing a pitch pattern in one of the first through fourth embodiments with a pronounced pitch pattern, it is possible to determine the phoneme and the accent type, and to improve the speech recognition rate. At that time, it is necessary to prepare a dictionary for recognition including accent types. For example, when recognizing in word speech recognition words " (hashi, 0 type)" and " (hashi, 1 type)" which have the same reading and the same number of moras but have different accent types, the accent type can be determined by extracting the fundamental frequency from the pronounced voice and performing identification using a model having a pitch pattern of two moras/0 type and two moras/1 type from among pitch patterns generated in the first embodiment. As another example, when recognizing words " (mibun, 1 type)" and " (kubun, 1 type) which have the same number of moras and the same accent type but have different consonants in the first mora, by extracting the fundamental frequency from the pronounced speech and using two models having categories of three moras/1 type and consonants m and k in the first mora from among pitch patterns generated in the second embodiment or the third embodiment, probability is obtained from the viewpoint of the pitch pattern. By evaluating the probability together with spectral information, it is possible to increase the speech recognition rate. It is also possible to extract the boundary between accent phrases using a pitch pattern model generated in the first embodiment. The individual components designated by blocks in the drawings are all well known in the speech-information processing method and apparatus arts and their specific construction and operation are not critical to the operation or the best mode for carrying out the invention. While the present invention has been described with respect to what is presently considered to be the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, the present invention is intended to cover various modifications and equivalent arrangements included within the scope of the appended claims.

Claims: A speech-information processing method comprising the steps of: extracting features from the speech data to form a feature file; and analyzing the speech data to form a label file; the method being characterised by the further steps of: performing statistical processing of features of stored speech data for each phoneme environment including at least the number of moras and the accent type, using the feature file and the label file in order to generate pitch pattern models; and forming a pitch pattern using the pitch pattern models obtained for each phoneme environment as a result of the statistical processing. A method according to claim 1, wherein the statistical processing uses a context dependent HMM (Hidden Markov Model). A method according to claim 1, wherein when forming the pitch pattern, the phoneme environment of phonemes before and after the phoneme whose features are being processed is taken into consideration. A method according to claim 1, wherein the pitch pattern models used for forming the pitch pattern are hierarchically configured. A method according to claim 1, wherein the formed pitch pattern is compared with the pitch pattern of input speech to be recognized, and an analogous pitch pattern is output as a result of recognition of the input speech. A method according to Claim 1, wherein the mora position is taken into consideration as part of the phoneme environment. A method according to claim 1, wherein each phoneme is taken into consideration as part of the phoneme environment. A method according to claim 1, wherein the phoneme category is taken into consideration as part of the phoneme environment. A method according to any one of the preceding claims, including the further step of using the formed pitch pattern for systematic speech synthesis. A speech-information processing apparatus comprising: speech-file storage means (11) for storing speech data; feature extraction means (12) for forming a feature file by extracting features from the speech data stored in said speech file storage means (11); and analysis means for analyzing the speech data to be processed for each phoneme environment; the apparatus being characterised by comprising: statistical processing means (17) for performing statistical processing for each phoneme environment including at least the number of moras and accent type, using said feature file obtained from said feature extraction means and a label file produced by said analysis means in order to generate pitch pattern models; and pitch-pattern forming means (18) for forming a pitch pattern, using the pitch pattern models obtained for each phoneme environment from said statistical processing means (17). An apparatus according to claim 10, wherein the statistical processing means (17) is arranged to use a context dependent HMM. An apparatus according to claim 10, wherein said pitch-pattern forming means (18) is arranged to form the pitch pattern in consideration of the phoneme environment of phonemes before and after the concerned phoneme. An apparatus according to claim 10, wherein said pitch-pattern forming means (18) is arranged to form the pitch pattern using pitch pattern models which are hierarchically configured. An apparatus according to claim 10, in which the pitch-pattern forming unit (18) is arranged to compare the formed pitch pattern with the pitch pattern of a speech input as an object to be recognized, and to output an analogous pitch pattern as a result of recognition of the input speech. An apparatus according to claim 10, in which the statistical processing means (17) is arranged to take into consideration the mora position as part of the phoneme environment. An apparatus according to claim 10, in which the statistical processing means (17) is arranged to take into consideration the phonemes in the phoneme environment. An apparatus according to claim 10, in which the statistical processing means (17) is arranged to take into consideration the phoneme category as part of the phoneme environment. An apparatus according to any one of claims 10 to 17, including speech synthesis means using the formed pitch pattern. A computer program product storing machine readable instructions for carrying out a method according to any one of claims 1 to 9.

Inventors: ASO TAKASHI, FUKADA TOSHIAKI, KOMORI YASUHIRO, OHORA YASUNORI, ASO, TAKASHI, FUKADA, TOSHIAKI, KOMORI, YASUHIRO, OHORA, YASUNORI, ASO, TAKASHI, C/O CANON KABUSHIKI KAISHA, FUKADA, TOSHIAKI, C/O CANON KABUSHIKI KAISHA, KOMORI, YASUHIRO, C/O CANON KABUSHIKI KAISHA, OHORA, YASUNORI, C/O CANON KABUSHIKI KAISHA
Applicants: CANON KK, CANON KABUSHIKI KAISHA
Application year: 1995
Main classification: G10L15
IPC codes: G10L15, G10L13