SPEECH RECOGNITION

Abstract: A method and apparatus for automated speech recognition wherein an unknown speech input is divided into words on merit, the words are divided into fixed length leading portions and consequentially variable length remaining portions, both portions being further subdivided into fixed length plural frames, each frame being matched against a fixed set of features, determined to correspond to one of the same and tagged with a label representing that feature, the fixed length label string generated from the leading portion of a word being used to aggregate a probability value for the string by accessing individual probability values of occurrence from a leading portion table of labels against first portions of known words and the remaining portion label string being correspondingly processed against a separate remaining portion table, the two sets of aggregate values being compounded by word portion pairs and the words corresponding to the highest compounded values being selected as candidate words for further processing to produce a result, whereby execution of the first portion processing of a word can be undertaken while the remaining portion of the word is being received and the selection of candidates includes a measure of the time of occurrence of a determined feature in a word. The tables are established in a learning phase in which known words are input, divided, framed, featurised and labelled, the probability values for the labelled features being derived by accumulating time dependent weighting factors for given labels in given word, normalising the totals and smoothing the two sets of results.

Description: The present invention relates to speech recognition methods and apparatus intended to be capable of stable preliminary selection of candidate words with high speed and high accuracy. In speech recognition based upon Markov models, a pre-processing phase is generally carried out, in which the speech input is analysed over repeated constant short time intervals (for example, of about 12 msec duration), called "frames" hereinafter, generating a label per frame and hence a label string corresponding to the speech input. Thereafter, a preliminary selection phase adapted to the system is undertaken, the Polling Fast Match method using one-state Markov models (see Japanese Patent Application No. 61-58464 or U.S. Patent No. 4 718 094) being well known for this purpose. In this method, from a prior determination of the probability of each label in the label alphabet (a label set) occurring at an arbitrary frame of a word included in a vocabulary - its producing probability -, the probability of each word in the vocabulary corresponding to the generated label string representing the unknown speech input is accumulated, label by label, and, from these probabilities, candidate words from the vocabulary are selected on the basis of the accumulated value for each word. These selected candidate words are then finely matched in a final phase. Since this Polling Fast Match method, however, utilises no time information, a word having an end portion similar to the head portion of a word in the input can be erroneously judged as a/the candidate, resulting in degradation of recognition accuracy. Other prior art is disclosed in papers entitled "Speaker Independent Isolated Word Recognition Using Label Histograms", by O Watanuki and T Kaneko, Proceedings of ICASSP '86, pp 2679 - 2682, April 1986 and "Experiments in Isolated Digit Recognition with a Cochlear Model", by Eric P Loeb and Richard F Lyon, Proceedings of ICASSP '87, pp 1131 - 1134, April 1987. In the first of these prior techniques, the producing probability of each label in the label alphabets in an arbitrary frame of the block is previously determined for each block of each word, divided into N blocks, included in the vocabulary and the label string of the unknown speech input is divided into N sections. The probability for each word is accumulated as a function of each label of the label string and of the block including the label, and the word having the maximum accumulated value is determined to be the "recognised" word. In the latter of these prior techniques, similar processing is undertaken, but with N=2. In these techniques, the division of the speech input into 2 or more sections can not be performed until all the speech has been input, making it difficult to perform "realtime" processing. Furthermore, their execution is impaired by fluctuations in timing since there is no provision for any smoothing process in the relative timing of the blocks. It is to be noted that the two techniques described above related to direct speech recognition, and do not involve a preliminary phase of selection of candidate words. EP-A-0266423 describes a voice pattern matching method in which a fixed length beginning portion of an input word is used to generate a list of candidate words. In view of the above, the present invention seeks to provide a speech recognition configuration capable of high speed preliminary selection of the candidate words taking time information into account, with a high accuracy, without having to wait for the completion of the speech input. The present invention provides a method of automated speech recognition wherein an unknown speech input is divided into words on merit, the words are divided into fixed length leading portions and consequentially variable length remaining portions, both portions being further subdivided into fixed length plural frames, each frame being matched against a fixed set of features, determined to correspond to one of the same and tagged with a label representing that feature, the fixed length label string generated from the leading portion of a word being used to aggregate a probability value for the string by accessing individual probability values of occurrence from a leading portion table of labels against first portions of known words and the remaining portion label string being correspondingly processed against a separate remaining portion table, the two sets of aggregate values being compounded by word portion pairs and the words corresponding to the highest compounded values being selected as candidate words for further processing to produce a result, whereby execution of the first portion processing of a word can be undertaken while the remaining portion of the word is being received and the selection of candidates includes a measure of the time of occurrence of a determined feature in a word. Apparatus for performing the method is also provided. It is thought that such an arrangement is relatively invulnerable to instability due to fluctuations in the timing of the utterance of the speech input. In such a configuration, the producing probability of each label in the label alphabet in an arbitrary frame in the fixed length first portion and the variable length remaining portion of each word included in the vocabulary is determined in advance. While an unknown speech input is being received, during the fixed first portion, in response to the labels of the label string, the corresponding label producing probabilities relative to the first portion are accumulated, and after that the corresponding label producing probabilities relative to the second portion are accumulated. Thus the processing may be performed without waiting for the input completion of the unknown speech. Furthermore, at the time of determining the label producing probabilities for the initial fixed length portion and the remaining variable length portion of word based upon the training speech input, statistical information is obtained by using weights for smoothing variation in timing to absorb fluctuations in the timing of utterance. The present invention will be described further by way of example with reference to an embodiment thereof as illustrated in the accompanying drawings in which:- Figure 1 shows a block diagram representing one embodiment of the invention; Figure 2, a timing chart explaining the word cut-out circuit of Figure 1; Figure 3, a drawing representing a score table generated by the score table generation portion of Figure 1; Figure 4, a flow chart explaining the operation of the score table generation portion; Figures 5 and 6, drawings respectively explaining the weights of the count and the smoothing matrix between the labels in the score table generation portion; Figure 7A, a score table generated based upon the utterance "Yen" without performing the smoothing between the labels and the division into two sections; Figure 7B, the similar score table with performing only smoothing between the labels; Figures 7C and 7D, score tables for the first half portion and the second half portion generated based upon the utterance "Yen" in the embodiment of Figure 1; and Figure 8, a flow chart explaining the operation of the likelihood calculation portion of Figure 1. As illustrated in Figure 1, an input speech data is supplied to an analog/digital (A/D) converter 3 through a microphone 1 and an amplifier 2 to obtain digital data. The digitised speech data is supplied to a feature extraction block 4 and a power extraction block 5 to extract a feature value and a power value for the speech data. The feature value is fed to a labelling block 6 and converted into a label with reference to a label prototype dictionary 7. The label prototypes in the dictionary 7 are made by clustering and there are 32 of them in this example. The power value from the power extraction block 5 is fed to a word segmentation block 8 where frames corresponding to the leading edge and the trailing edge of the word are detected based upon the power data. In this detection, as shown in Figure 2, for example, frames immediately after and before the time point when the power data UP of the utterance exceeds and falls below a threshold value TH are determined as the leading edge frame (surrounded with a circle) and the trailing edge frame (surrounded with a square), respectively. Figure 2 shows an example of the utterance "en". A numerical train indicates a string of label numbers corresponding to the utterance "en". The word segmentation block 8 supplies a gate signal to a gate circuit 9 in response to the frame detection of the head and end portions of the word, and supplies the label string corresponding to the utterance to the next stage. The label string is fed to a preliminary selection block 10 and a detailed recognition block 11. The preliminary selection block 10 comprises a switching circuit 12, a score table generation block 13, a score table storage 14 and a likelihood calculation block 15. The switching circuit 12 supplies the label string to the score table generation block 13 and the likelihood calculation block 15 during training and recognition, respectively. The score table generation block 13 generates for each word a score table T1 for the first half portion of the word as shown in Figure 3 and a similar score table T2 (not shown) for the second half portion of the word and stores them in the score table storage 14. The details of the generation of the score tables T1 and T2 will be explained later, referring to Figure 4. As is clearly understandable from the example of Figure 3, the score table T1 represents the producing probability of each label for the first half portion of each word. For example, "0.08" surrounded with a circle indicates that the producing probability of the label 1 in an arbitrary frame in the first half portion of the word 1 is 0.08. The first half portion of the word is a fixed length portion having 15 frames and the second half portion is the remaining portion. The likelihood calculation block 15 determines the similarity degree of the inputted speech for each of the words on the basis of the score tables T1 and T2 of the respective words in the score table memory storage 14, discriminates the most similar M candidate words and supplies the discriminated data to the detailed recognition block 11. The detailed recognition block 11 aligns the label string of the inputted speech with the Markov model of each of the M candidate words in accordance with, for instance, the Viterbi algorithm, and outputs the most similar candidate word as a recognition result. Next, the score table generation block 13 in Figure 1 will be explained. The score table generation block 13 generates the score tables T1 and T2 by performing the procedure as shown in Figure 4. This procedure is carried out for each word in the vocabulary. The number of the word is represented by k hereinafter. Referring to Figure 4, step S1 prepares for detection of the head of a word. An initialisation is performed for all of the label number i (i = 0 - 31) so as to set the COUNT1 (k, i) and the COUNT2 (k, i) for the first and second half portions of the word to zero and the frame number t (t = 1, 2, ...) to 1, respectively, in response to the word head detection (step S2). Subsequently, in step S3 weights W1 and W2 for the first and second half portions of the word are respectively set in accordance with a frame number t. These weights W1 and W2 are set as shown in the [TABLE] and Figure 5. As is understandable from the table and Figure 5, the labels of the frames, 10 < t ≦ 20, are totalled to generate the score tables T1 and T2 for the first and second half portions taking into account the utterance fluctuation in the time direction. Moreover, this totalling is also smoothed by using the weight which changes smoothly with the frame number. In step S4, the COUNT1 (k, t) and the COUNT2 (k, t) corresponding to the t-th label t are respectively increased by weights W1 and W2. Subsequently after increasing the frame number t by 1 in step S6 if this frame is not the end of word, the processing returns to step S3. If it is the end of word the processing proceeds to step S7 (step S5). In step S7, the count is normalised according to the following formula and the values of the score tables T1 and T2 for all of the label number i, that is, the producing probability P1 (k, i) and P2 (k, i) are determined by where N represents a total number of frames of the utterance. In step S8 the smoothing between the labels is performed based upon the following formula. According to this processing, relatively stable label producing probability may be obtained even without sufficient training data, even under the condition where many kinds of labels have not occurred, using those P1 and P2 actually accumulated, in terms of where C (i, j) is a smoothing matrix satisfying The smoothing matrix is based upon the distance between the labels and is shown, for example, by Figure 6. Figures 7C and 7D represent the producing probability of the score tables T1 and T2 for the example of the utterance "en" according to this embodiment. On the other hand, Figure 7A represents a score table of the whole words, and Figure 7B is that obtained by performing the smoothing processing between the labels for that of Figure 7A. It is apparent from these drawings that the number of labels with the probability zero is decreased by the smoothing between the labels, making it possible to absorb the change in speech quality of the speaker. It is also understandable from a comparison of the score tables T1 and T2 that the producing probability of the third and eighth labels corresponding to /e/ is relatively large and the producing probability of the 23rd to the 26th labels corresponding to /N/ is small. As described above, the score tables T1 and T2 include time information. Next, the likelihood calculation block 15 in Figure 1 will be described with reference to Figure 8. The calculation in this block 15 is performed by using the score table T1 of the first half portion and the score table T2 of the second half portion for the 15 frames of the first half and the remaining second half portion of the inputted speech respectively. In Figure 8, step S11 prepares for detection of the head of word. In response to the detection of the head of word an initialisation is carried out so as to set the score s (k) of the word k to zero and the frame number t to 1 (step S12), respectively. In step S13, it is judged whether the frame number t exceeds the number 15 corresponding to the boundary between the first and second half portions. If this is not the case the processing proceeds to step S14. The processing proceeds to step S15 if this is the case. In step S14, the producing probability P1' (k, t) corresponding to the t-th label t is added to the score S (k) by using the score table T1 of the first half portion for each word. While in step S15, by using the score table T2 of the second half portion P2' (k, t) is added to the score S (k). Thereafter, step S16 judges whether the present frame is the end of word or not. It returns to step S12 after increasing the frame number t by one in step S17 if the frame is not the end of word. On the other hand, if the frame is the end of word it proceeds to step S18 where the scores S (k) are arranged in the order of magnitude, the largest M candidate words are selected and transferred to the fine recognition portion 11 (step S19). According to this embodiment, the processing may be performed in synchronism with frames without waiting for the completion of the utterance, since the likelihood calculation for the preliminary selection is performed by dividing the fixed length first half portion and the remaining second half portion and using the respective score tables for those portions (the conventional one equally divides the utterance and therefore has to wait for the completion of the whole utterance). Furthermore, the smoothing processing is performed in preparing the score tables for the first and second half portions, thereby realising the stable preliminary selection even under utterance fluctuation in the time direction. Moreover, the smoothing between the labels makes it possible to generate better score tables even without sufficient training data. It is to be noted here that according to this embodiment the preliminary selection block 10, the detailed recognition block 11, the word segmentation block 8 and the gate circuit 9 are realised by a software with a personal computer and the feature extraction block 4, the labelling block 6 and the power extraction block 5 are formed with a signal processing board equipped in the personal computer. Various kinds of modifications may be of course possible to construct using various kinds of hardware. As described above, according to the present invention, the fixed length first half portion and the remaining second half portion of the utterance are estimated by the individual score tables, thereby realising the use of time information and the frame synchronised processing. Moreover, since the smoothing in the time direction is performed in preparing the score tables, stable preliminary selection of candidate words under utterance fluctuation in the time direction may be realised.

Claims: A method of automated speech recognition wherein an unknown speech input is divided into words on merit, the words are divided into fixed length leading portions and consequentially variable length remaining portions, both portions being further subdivided into fixed length plural frames, each frame being matched against a fixed set of features, determined to correspond to one of the same and tagged with a label representing that feature, the fixed length label string generated from the leading portion of a word being used to aggregate a probability value for the string by accessing individual probability values of occurrence from a leading portion table of labels against first portions of known words and the remaining portion label string being correspondingly processed against a separate remaining portion table, the two sets of aggregate values being compounded by word portion pairs and the words corresponding to the highest compounded values being selected as candidate words for further processing to produce a result, whereby execution of the first portion processing of a word can be undertaken while the remaining portion of the word is being received and the selection of candidates includes a measure of the time of occurrence of a determined feature in a word. A method as claimed in claim 1, wherein the tables are established in a learning phase in which known words are input, divided, framed, featurised and labelled, the probability values for the labelled features being derived by dividing the number of occurrences of each label in each portion of each word by the number of occurrences of that label in that portion of all the words. A method as claimed in claim 1 or claim 2, wherein the probability values in the leading portion table are biased against features occurring late in the fixed length leading portion of each known word and include a bias toward features occurring in the initial frames of the remaining portion of each word. A method as claimed in any preceding claim, wherein the probability values in the remaining portion table are biased toward features occurring late in the fixed length leading portion of each known word and biased away from features occurring in the initial frames of the remaining portion of each word. A method as claimed in claim 3 or claim 4, wherein the biasing is achieved by aggregating a contribution from each label, as it is generated in the learning phase, into both probabilities for the current word, its contribution being determined by a leading portion weighting factor and a remaining portion weighting factor, each being a function of the position of the frame giving rise to the label in the sequence of frames, respectively decreasing to zero and increasing from zero in a section of the sequence overlapping the break point between the two portions of the sequence. A method as claimed in any of claims 2 to 5, wherein the tables are smoothed by mathematically extrapolating probability values for labels not actually generated in the learning phase. Speech recognition apparatus for performing the method as claimed in claim 1, the apparatus including: a first memory means for storing the leading portion probability value table for each word in the vocabulary of words the apparatus can recognise; a second memory means for storing the remaining portion probability value table for each word in the vocabulary; means for framing a speech input and for generating a label for each speech frame indentifying one of set of known speech features present for each frame; means for determining, from the input, the starts and finishes of the words and, upon the generation of a label for a frame, whether the label belongs to the leading or remaining portion of that word; means responsive thereto for accessing the appropriate memory means to obtain the probability value for that label in relation to each word of the vocabulary means for accumulating the probabilities outputted for each word; means for selecting at least one candidate word in terms of the accumulated probabilities; and means for performing detailed recognition for the or each of the selected candidate words. Apparatus as claimed in claim 7, capable of performing the learning phase of claim 2, and including: means for receiving serially the words of the vocabulary in a learning phase and applying the same to the framing means and the determining means; means for adding to current accumulation pairs for each word, upon the generation of a label in the learning phase, a respective first or second weight to aggregate the first and second statistical values of the label concerned, said first and second weights being functions of a lapse time in terms of a number of frames from a front edge of the word to the generation of the label concerned; means for normalising the first and second statistical values of each label in a label set for each word to produce probability values; and means for the probability values into the respective tables in the respective memory means. Apparatus as claimed in claim 8, wherein said first weight becomes gradually smaller and said second weight becomes gradually larger as label generation time point is later, at least as long as the label generation time point is around the boundary between the leading and remaining portions of a word. Apparatus as claimed in claim 9, including means for smoothing the table distribution by mathematically extrapolating probability values for labels not actually generated in the learning phase.

Inventors: SUGAWARA, KAZUHIDE
Applicants: INTERNATIONAL BUSINESS MACHINES CORPORATION
Application year: 1988
Main classification: G10L5
IPC codes: G10L11, G10L15