VOICE RECOGNITION SYSTEM

Abstract: A voice recognition system selecting word templates necessary for voice recognition from among a plurality of word templates, including: an input phoneme extrac­ tion unit (31) for extracting distinctive phonemes which can be clearly recognized from an input pattern of the voice, and all phonemes possibly existing in the input pattern; a dictionary phoneme extraction unit (32) for extracting the distinctive phonemes which can be clearly recognized and can be previously determined at each word template, and all phonemes possibly existing at each word template; and a pre-selector (33) for selecting valid word templates for performing voice recognition based on phoneme information extracted by the input phoneme extraction unit (31) and the dictionary phoneme extraction unit (32). Such a system can enable words to be recognised at high speed from among a large vocabulary.

Description: The present invention relates to a voice recognition system. Recently, voice recognition systems have become widely utilised in the field of computers. Particularly, considerable research and development has been made in the art of word processor systems into carrying out an input operation by voice commands instead of keyboard operations. In such a word processor system it is necessary to be able to recognise a word or words from among a large vocabulary, since in a voice recognition system enormous quantities of information must be processed from an input of a voice command, especially when a series of words is spoken, i.e. connected speech. This is because many word templates must be processed to recognise the input words. As a result, the processing speed during voice recognition cannot be improved so that much actual time for displaying the recognition results is necessary for a display apparatus in the word processor systems. A paper in "Systems. Computers. Controls", Vol. 9, No. 3, May-June 1978, by S. Nakagawa et al., entitled "A Real-time Spoken Word Recognition System with Various Learning Capabilities of Speaker Differences", discloses a system according to the preamble of claim 1. In this system, prematching techniques are used to improve the recognition time, including prematching based on a recognised phoneme string. Such phoneme strings are transformed into bit patterns, and words in a word dictionary are rejected by comparing such patterns. According to the present invention there is provided a voice recognition system selecting word templates necessary for voice recognition from a store containing a plurality of word templates, comprising: an input phoneme extraction unit for extracting phonemes from the input pattern; and a preselector for selecting valid word templates for performing voice recognition; characterised in that: said input phoneme extraction unit is operable to extract distinctive phonemes which can be clearly recognised in an input pattern of the voice, and, separately, all phonemes possibly existing in the input pattern; in that the system further comprises a dictionary phoneme extraction unit for extracting the distinctive phonemes which are clearly recognised and can be previously determined in each stored word template, and, separately, alle phonemes possibly existing in each stored word template; and in that said preselector is operable to select valid word templates based on the phoneme information extracted by said input phoneme extraction unit and said dictionary phoneme extraction unit. Accordingly, the present invention provides a voice recognition system having a preselector which can enable high-speed voice recognition by selecting valid word templates enabling recognition of a word from among a plurality of the word templates. Reference will now be made, by way of example, to the accompanying drawings, in which: Fig. 1 is a schematic block diagram of a previously-proposed voice recognition system; Fig. 2 is a view of a phonetic label network for explaining phonetic labels indicating consonants and vowels; Fig. 3 is a portion of a voice recognition system embodying the present invention; Fig. 4 is a schematic block diagram of a voice recognition system embodying the present invention; Fig. 5 is a view for explaining the bit assignment of each phoneme in one word; Fig. 6 is a view for explaining bit expression values corresponding to the bit assignment shown in Fig. 5; Fig. 7 is a detailed block diagram of the input phoneme extraction unit shown in Figs. 3 and 4; Figs. 8A and 8B are views for explaining procedures of signal generation at the address control signal generator shown in Fig. 7; Fig. 9 is a view for explaining contents of the phoneme template memory shown in Fig. 7; Fig. 10 is a view for explaining the contents of the input pattern memory shown in Fig. 7; Fig. 11 is a detailed block diagram of the dictionary phoneme extraction unit shown in Figs. 3 and 4; Fig. 12 is a view for explaining the procedures of the address control signal generator shown in Fig. 11; Fig. 13 is a view for explaining the contents of the label memory shown in Fig. 11; Fig. 14 is a view for explaining the data structure of the connection table memory shown in Fig. 11; Fig. 15 is a view for explaining the contents of the connection table memory shown in Fig. 11; Fig. 16 is a detailed block diagram of the pre-selector shown in Figs. 3 and 4; Fig. 17 is a detailed block diagram of the selection calculation circuit shown in Fig. 16; Figs. 18 and 19 are views for explaining the connection of the bit expression values at the connection circuit shown in Fig. 16; and Fig. 20 is a schematic block diagram of another voice recognition system embodying the present invention. Before describing the preferred embodiments, an explanation will be given of a previously-proposed recognition system. In Fig. 1, reference number 11 represents a microphone, 12 an analyzer, 13 a dictionary unit, and 14 a verification unit. The input voice is converted to the electric signal by the microphone 11 and supplied to the analyzer 12. The analyzer 12 is provided for analyzing the spectrum of the electric signal at a constant sampling period selected a range of several milliseconds to several tens of milliseconds. In the above range, the electric signal has an approximately constant in the frequency characteristic extent. The analyzer 12 generates an input pattern consisting of a time series (a frame series) of the frequency spectrum for a short time. In this case, the spectrum analysis for the short time is performed by utilizing various conventional methods, for example, an analog filter bank, a digital filter bank, a fast Fourier transformer, and an LPC spectrum analyzer. The dictionary unit 13 stores word templates consisting of words to be recognized. These words are used as references when recognizing the voice. Each of the word templates is expressed by a phonetic label network. In Fig. 2, the phonetic label network is provided for expressing consonants and vowels forming the word. For example, the phonetic label network of the Japanese word "shi-ka-shi" (in English, this means "but") is expressed by the network shown in Fig. 2. In this network, "#" represents a word boundary, "SH" a consonant portion of a CV monosyllable shi , "I" a voiced vowel i , "i" a non-voiced (devoiced) vowel i , "K" a consonant portion of the CV monosyllable ka , and "A" a vowel a . A non-voiced phenomena can be expressed in this phonetic label network since the vowel portion of the first and third syllables shi are non-voiced. The verification unit 14 verifies the pattern input from the analyzer 12 with the word template read out from the dictionary unit 13, and outputs voice recognition results. That is, in the verification unit 14, a "similarity" (or "distance") between the input pattern and each word template is determined. The words selected from a larger similarity extent (in the case of the distance, a smaller "distance") are output as the recognition data. In this case, a time warping between the input pattern and the word template is performed based on a "dynamic programming matching" method. The similarity extent between the input pattern and each phonetic label in the phonetic label network is calculated by referring each phoneme template storing spectrum pattern of the phonetic label. A plurality of word templates are stored in the dictionary unit 13, to enable voice recognition. As explained above, in the conventional voice recognition system, the calculation of the similarity is performed by verifying the input pattern with all word templates stored in the dictionary unit 13. The above conventional method, however, is not suitable for the voice recognition because of the large amount of information to be processed, which necessitates many word templates for recognizing the voice. Therefore, much actual time for displaying the recognition results is necessary for the display apparatus. A voice recognition system embodying the present invention will be explained in detail hereinafter. In Fig. 3, reference number 31 represents an input phoneme extraction unit, 32 a dictionary phoneme extraction unit, and 33 a pre-selector. The input phoneme extraction unit 31 is provided for extracting distinctive phonemes which can be clearly recognized from the input pattern of the voice and all phonemes which can exist in the input pattern. The dictionary phoneme extraction unit 32 is provided for extracting distinctive phonemes which are clearly recognized at every word template and can be previously determined, and all phonemes which can exist at each word template. The pre-selector 33 is provided for selecting the valid word templates for verifying in the voice recognition based on the phoneme information (I′, I, D i ′, D i ) extracted by the input phoneme extraction unit 31 and the dictionary phoneme extraction unit 32. The basic operation of this structure will be explained in detail hereinafter. The input phoneme extraction unit 31 extracts the distinctive phonemes which can be clearly recognized from the input pattern of the voice to be recognized. In detail, when the similarity between the phoneme template previously provided and the input pattern at the certain timing (frame) exceeds the threshold value Th1, the phoneme corresponding ot the phoneme template is extracted as being distinctive in the input pattern. Further, the input phoneme extraction unit 31 extracts all phonemes which can exist in the input pattern. Namely, when the similarity between the phoneme template previously provided and the input pattern at the certain timing (frame) exceeds the threshold value Th2, the phoneme corresponding to the phoneme template is extracted as a possibly existing phoneme in the input pattern. In this case, the threshold value Th2 is made considerably smaller than the threshold value Th1. The dictionary phoneme extraction unit 32 extracts the distinctive phonemes which can be clearly recognized in each word template. Namely, all phonemes (nodes) constantly passing through any route in the phonetic label network of the word are extracted as distinctive phonemes in the word. Further, the dictionary phoneme extraction unit 32 extracts all phonemes which can exist in each word template. Namely, all phonemes (nodes) existing in the phonetic label network of the word are extracted as phonemes of possibly existing in the words. The pre-selector 33 selects the valid word templates for verifying in the voice recognition based on the phoneme information extracted from the input phoneme extraction unit 31 and the dictionary phoneme extraction unit 32. That is, the valid word templates are selected by using one of the selection criterion described below. (basic selection criterion 1) The word templates have the distinctive phonemes (I′) in the input pattern extracted from the input phoneme extraction unit 31. (basic selection criterion 2) The distinctive phonemes (D i ′) in the word templates extracted by the dictionary phoneme extraction unit 32 are included in the possibly existing phonemes (I) in the input pattern extracted from the input phoneme extraction unit 31. (basic selection criterion 3) The distinctive phonemes (D i ′) in the word templates extracted by the dictionary phoneme extraction unit 32 are included in the distinctive phonemes (I′) extracted by the input phoneme extraction unit 31. Further, (composite selection criterion A) To simultaneously satisfy the basic selection criterions 1 and 2. (comparative selection criterion B) To simultaneously satisfy the basic selection criterions 1 and 3. As explained above, since the valid word templates for verifying in the voice recognition can be selected from among a plurality of word templates, it is possible to considerably reduce the number of word templates which must be actually used as references. The preferred embodiments are explained in detail with reference to Figs. 4 to 20. In Fig. 4, 41 denotes a transducer, for example, a microphone for converting the input voice to the electric signal. 42 denotes an analyzer for analyzing the spectrum of the electric signal at a constant sampling period selected from the range of several milliseconds to several tens of milliseconds, which electric signals have an approximately constant in the frequency characteristic extent. The analyzer 42 generates an input pattern consisting of the times series (frame series) of the short time spectrum. 43 denotes a dictionary unit for storing the word templates which are used as references during voice recognition. Each word template is expressed by the phonetic label network of the word. 44 denotes a verification unit which outputs the voice recognition results verifying the pattern input from the analyzer 42 with the word templates selected by the pre-selector 33. The operations of this structure are explained in detail hereinafter. The analyzer 42 carries out a short time spectrum analysis of the electric signals input from the transducer 41, generates an input pattern based on the resultant data, and outputs this data to the input phoneme extraction unit 31 and the verification unit 44. The input phoneme extraction 31 extracts the distinctive phonemes which can be clearly recognized from the input pattern of the voice and all phonemes possibly existing in the input pattern. Figures 5 and 6 show the approximately twenty-four phonemes consisting of the vowels and the consonants (A, I, U... P, Q) in the Japanese language as shown in Fig. 5. Therefore, each phoneme can be assigned to a corresponding bit in one word having thirty-two bits. Where, 0 to 31 denote the bit positions, and * marks denote not-assigned bit positions. When the distinctive phonemes, for example, "A", "O" and "S", are extracted from the input phoneme extraction unit 31, the bit positions "0", "4" and "6" become "1" as shown in Fig. 6. The phoneme expressed by each bit is called the "bit expression value" hereinafter. Such a bit expression value is also used for the phoneme extracted from the dictionary phoneme extraction unit 32, and a high speed logic calculation is possible by utilizing the above bit expression value in a logic operation circuit. For example, the calculation is very effective for the logic operation in the pre-selector because the word selected must be quickly deleted in the pre-selector. The operation in the input phoneme extraction unit 31 are explained in detail with reference to Figs. 7 to 10. In Fig. 7, the phoneme templates stored in a supplementary memory (for example, a disk system, not shown) at every speaker are input to the phoneme template memory 100 when the system is reset. The contents of the phoneme template memory 100 are explained with reference to Fig. 9. A read unit in the memory 100 is given by two-bytes (1 + 1 byte). Addresses for read/write are assigned from "0" to "M*L-1". "M" denotes the number of the phoneme templates, and "L" denotes the number of channels (dimension) in each phoneme template. Each channel is expressed by two-bytes. The address of the memory 100 is controlled by the signal A₀ generated by the address control signal generator 113. The input pattern analyzed by the analyzer 42 is input to the input pattern memory 101. The contents of the input pattern memory 101 are explained with reference to Fig. 10. The read unit of the memory 101 is also given by two-bytes. The addresses for read/write are assigned from "0" to "N*L-1". "N" denotes a maximum number of frames of the input voice, and "L" denotes the number of channels (dimension). Each channel is expressed by two-bytes. The address of the memory 101 is controlled by the signal A₁ generated by the address control generator 113. The subtracter 102 is provided for calculating the differences between the parameter at a certain channel in the phoneme template and the parameter at a certain channel corresponding to the frame in the input pattern. The absolute value circuit 103 is provided for calculating the absolute value of (A-B) output from the subtracter 102. The selector 104 and the adder 105 constitute an accumulator. The adder 105 calculates the Chebyshev's norm (sum of the absolute values of the difference between elements) between the phoneme template and the frames in the input pattern by accumulating the outputs of the absolute value circuit 103. The selector 104 resets the accumulation value to "0" when the signal ø₀ input from the generator 113 is "1". The comparator 107 compares the Chebyshev's norm between the phoneme template and the frame in this input pattern calculated by the adder 105 with the threshold values (Th1 or Th2) selected by the selection 106, and outputs "1" when the Chebyshev is smaller than the threshold value. The selector 106 is controlled by the signal ø₁ generated by the generator 113. When the signal ø₁ is "0", the threshold Th1 is output to the comparator 107, and when the signal ø₁ is "1", the threshold Th2 is output to the comparator 107. In this case, the threshold value Th2 is set to a considerably larger value than that of Th1. When the signal ø₁ is "0", the threshold value for the Chebyshev's norm is small. When the relationship between the phoneme template and the input frame is very close, the output of the comparator 107 becomes "1", and when the signal ø₁ is "1", the threshold value for the Chebyshev's norm is large. Even if the relationship is far apart, the output of the comparator 107 also becomes "1". The shift register 108 is constituted by a plurality of latch circuits 0 to M. The numbers of the latch circuits correspond to the numbers (M) of the phoneme templates. The shift timing of this circuit is controlled by the signal ø₂ generated by the generator 113. The signal ø₂ becomes "1" when each phoneme template is read out from the phoneme template memory 100. The OR circuit 109 is provided for outputting the data input from the comparator 107 to the shift register 108. As a result, the shift register 108 stores the bit patterns of the phoneme which can be clearly recognized when the signal ø₁ is "0", and stores the bit patterns of all phonemes possibly existing in the input pattern when the signal ø₁ is "1". The register 110 holds the content of the shift register 108 for the instant when the signal ø₁ changes from "0" to "1". The content corresponds to the bit patterns I′ of the phonemes which can be clearly recognized. The register 111 holds the content of the shift register 108 for the instant when the signal ø₁ changes from "1" to "0". This content corresponds to the bit patterns I of the phonemes possibly existing in the input pattern. The NOT circuit 112 is provided for calculating the negation of the signal ø₁ to generate the hold timing of the register 111. The bit patterns I and I′ held in the registers 110 and 111 are read out to the pre-selector 33. The address control signal generator 113 is constituted by for example, a microprocessor, and generates the address signal A₀ for the memory 100, the address signal A₁ for the memory 101, the reset timing signal ø₀ for the accumulator (104, 105), the timing signal ø₁ for switching the threshold value, and the shift timing signal ø₂ for the shift register 108. In Figs. 8A and 8B, the procedure for generating the signals A₀, A₁, ø₀, ø₁, and ø₂ from the generator 113 is explained in detail. In step 120, when the signal ø₁ is reset to "0", the threshold value Th1 is selected in the selector 106, and the calculation of the bit patterns I′ is started. In step 121, the internal parameter a₁₁ is set to "0". This parameter a₁₁ holds the head address of the frame of the input pattern memory 101 at each timing. In step 122, the internal parameter a₀₀ is set to "0". This parameter a₀₀ holds the head address of the each template in the phoneme template memory 100 at each timing. In step 123, when the signal ø₀ becomes "1", the accumulator for the calculation of Chebyshev's norm is initialized. In step 124, the parameter a₀₀ replaces the parameter a₀, and the parameter a₁₁ replaces the parameter a₁. The internal parameter a₀ holds the address of the channel to be designated in the phoneme template to be also designated. The internal parameter a₁ holds the address of the channel to be designated in the frame to be also designated in the input pattern memory 101. In step 125, the calculated parameters a₀ and a₁ are output to the signals A₀ and A₁. In step 126, the signal ø₀ becomes "0", then the accumulator for the calculation of Chebyshev's norm is started. In step 127, "1" is added to the parameter a₀ and a₁, and the channel of the phoneme template and the frame in the input pattern go to next stage. In step 128, it is determined whether or not channels of the phoneme templates to be calculated remain. When YES, the procedure returns to step 125. When NO, the procedure goes to step 129. In step 129, the pulse signal is output to the signal ø₂, and the bit pattern of one bit in the shift register 108 is shifted to the next latch circuit. The outputs of the comparator 107 and the latch circuit M are input to the OR circuit 109, and the output of the OR circuit 109 is input to the latch circuit 0 in the shift register 108. That is, a loop is constituted by the shift register 108 and the OR circuit 109. In step 130, "L" is added to the parameter a₀₀, and the head address of the next phoneme template is calculated. In step 131, it is determined whether or not phoneme templates to be calculated remain. When YES, the procedure returns to step 123. When NO, the procedure goes to step 132. In step 132, "L" is added to the parameter a₁₁, and the head address of the next frame in the input pattern is calculated. In step 133, it is determined whether or not frames in the input pattern to be calculated remain. When YES, the procedure returns to step 122. When NO, the procedure goes to step 134. In step 134, when the signal ø₁ is "0", the procedure goes to step 135. In step 135, the signal ø₁ is set to "1", and the procedure returns to step 121. In step 136, the signal ø₁ is set to "0", and the routine is stopped. The operation of the dictionary phoneme extraction unit 32 are explained in detail with reference to Figs. 11 to 15. In Fig. 11, the label memory 200 stores the phonetic labels (expressed by numeral values) of the phonetic label network in the word dictionary. The content of the label memory is shown in Fig. 13, the phonetic labels of the phonetic label network shown in Fig. 2 are stored in the label memory 200. The read unit of the label memory 200 is one byte. The value expressed by the numeral (bit position) of the phonetic label of each node in the network is stored in this memory 200 from the head at every one byte. As is obvious from Fig. 5, "SH" corresponds to the bit position 7, "I" to the bit position 1, "K" to the bit position 5, and "A" to the bit position 0. The address of the memory 200 is controlled by the signal A₂ generated by the address control signal generator 208. The first result memory 201 is accessed by 1 bit as the read unit. The address of the memory 201 corresponds to the numeral value of the phonetic label. The data sequentially read out from the memory 200 is supplied to the address (ADDR) in the result memory 201. The data supplied to the memory 201 is always "1", and the control signal ø is always supplied as the write signal. When the control signal ø is "1", the data "1" is written to the address of the result memory 201 corresponding to the data stored in the label memory 200. That is, bit expression values of all phonemes existing in the dictionary are formed in the result memory 201. The node connection information of the phonetic label network is supplied from the dictionary unit to the connection table memory 202. The node connection information is shown in Fig. 14, and stored to the connection table memory 202 in the form shown in Fig. 15. In Fig. 14, when the numbers of the node of the network are "NN" (the "#" at both ends do not count as the node) and the numbers of the connectable nodes are "MM", the node connection information is given by the matrix (NN + 1) * MM. In this embodiment, "NN" are given as six nodes, and "NN" are changed according to the word dictionary. Further, "MM" are given as DEPTH 16. Each column of the matrix corresponds to each node, and the numerals of each row of the matrix express the column (node) number to be connected. In this case, each node number to be connected is always set so as to become smaller than the own node number. For example, in the 2 NODE, the node number of the first row is "1", and the second row is "0". When the node is not connected, the mark "∞" is expressed. That is, the mark "∞" indicates the maximum positive integer (127) based on the 2's complement of 8 bits. The connection to the head node "#" is given by "- 1". The node connection information explained above is stored in the memory 202 in the form shown in Fig. 15. The address of the memory 202 is controlled by the signal A₃ generated by the generator 208. The comparator 203 compares the address A₂ of the label memory 200 read out now and the connection node number from the memory 202, and outputs the data "1" when the latter is smaller than the former. The output "1" from the comparator 203 means that there is a connection from the rear node to the front node. The selector 204 transfers the output of the comparator 203 to the second result memory 207 as the write data when the signal ø is "0". The NOT circuit 205 calculates the negation of the output of the comparator 203. The selector 204 transfers the negation of the output of the comparator 203 to the memory 207 as the write signal. When the signal ø is "0", only "0" is written to the memory 207 based on the logic loop consisting of the circuits 204, 205, and 206. When the signal ø is "1", the same content as the memory 201 is written to the memory 207. In the memory 207, when the signal ø is "1", the bit expression values of all phonemes existing in the network are formed. When the signal ø is "0", the bits corresponding to the phonemes, which do not always exist, is reset, and as a result, the bit expression value of the phonemes which always exist are formed. The address control signal generator 208 generates the address A₂ of the label memory 200, the address A₃ of the connection table memory 202, and the control signal ø. The generator 208 is constituted by a microcomputer. The operation in the address control signal generator 208 are explained in detail with reference to Fig. 12. In step 210, the data "1" is set to the internal parameter S and "0" is set to the internal parameter T. The parameter S expresses either the extraction mode D i or D i ′. When the parameter S is "1", the mode is "D i ". When the parameter S is "0", the mode is "D i ′". The parameter T indicates the address of the phoneme in the label memory. In step 211, the parameter S is output to the signal ø, and the parameter T is output to the signal A₂. The numeral expression of the phonetic label of the address T in the label memory 200 is output as the address of the first result memory 201 and the second result memory 207, and the bits at that address are set. In step 212, the data "1" is added to the parameter T, and the next address in the label memory 200 is generated. In step 213, it is determined whether or not the labels of the network now loaded in the label memory 200 remain. When the labels remain, the procedure returns to step 211. When the labels do not remain, the procedure goes to step 214. In step 214, the data "0" is set to the internal parameters S and T. In step 215, the data "T + 1" replaces by the internal parameter U. The parameter U designates the next node from the present node. In step 216, the data "0" replaces the internal parameter W. The parameter W indicates the row of the connection table shown in Fig. 14. "W = 0" means the first row. In step 217, the parameter S is output to the signal ø, the parameter T is output to the address A₂, and the data "U*MM + W" is output to the address A₃. The address A₃ is used for designating all elements existing at nodes following the present node in the connection table. In step 218, the data "1" is added to the parameter W, and the row is moved to the next stage in the connection table. In step 219, the row position is examined. When the parameter W exceeds the depth "MM", the procedure goes to step 220. In step 220, the data "1" is added to the parameter U, and the node position in the connection table is moved to the next stage. In step 221, the column position is examined. When the parameter U exceeds the node "NN", the procedure goes to step 222. In step 222, the present node position (column position) is moved to the next node position. In step 223, the column position is examined. When the parameter T exceeds the node "NN", the procedure is stopped. Consequently, the extraction mode D i is stored in the first result memory 201, and the extraction mode D i ′ is stored in the second result memory 207. In Fig. 16, the pre-selector 33 comprises a dictionary data buffer, a connection circuit, and a selection calculation circuit. A detailed diagram of the connection circuit 301 is shown in Figs. 18 and 19, and a detailed diagram of the selection calculation circuit 302 is shown in Fig. 17. The operations of these circuits are explained in detail with reference to Figs. 16 to 19. The selection calculation circuit 302 is constituted by NOT circuits 171 and 172, OR circuits 173 and 174, an AND circuit 175, and a comparator (CMP) 176 as shown in Fig. 17. In the first embodiment, the composite selection criterion A is selected. This criterion A is defined by the basic selection criterions 1 and 2 as explained above. First, the word templates which satisfy the basic selection criterion 1 are selected. That is, the selection criterions between the bit expression value D i of all phonemes forming each word template and the bit expression value (I′) of the distinctive phonemes of the input pattern is given by the following formula. D i · I′ = I′ Second, the word templates which satisfy the basic selection criterion 2 are selected. That is, the selection criterion between the bit expression value D i ′ of the distinctive phonemes in the word template and the bit expression value I of the phonemes possibly existing in the input pattern, is given by the following formula. D i ′ · I = D i ′ The word templates which simultaneously satisfy the formulae (1) and (2) are the distinctive word templates to be used for verifying the voice recognition. When all bits given by the following formula (3) are "1", the above criterions are satisfied. (D i ·I′) ⊕ I′ · (D i ′·I) ⊕ D i ′ Where, " ⊕ " denotes an exclusive OR at every bit, and "―――" denotes an all bit inversion. The formula (3) is simplified as follows. (D i + I′ ) · (D i ′ + I) Where, "+" denotes an OR at every bit. In Figs. 17 to 19, the bit expression values D i ′ are input to the NOT circuit 171, the bit expression values I are input to the OR circuit 173, the bit expression values I′ are input to the NOT circuit 172, and the bit expression values D i are input to the OR circuit 174. Further, the output of the AND circuit 175 and the data "-1" are input to the comparator 176. The OR circuit 173 calculates the formula (D i ′ + I), and the OR circuit 174 calculates the formula (D i + I′ ). These date are input to the AND circuit 175. The formula (4) is calculated in the AND circuit 175, and the resultant data is input to the comparator 176. The comparator 176 compares the formula (4) with the data "-1", and it is determined whether or not all bits of the formula (4) are "1". In Fig. 16, the dictionary data buffer 300 temporarily stores the word template read out from the dictionary unit 43. The bit expression values I and I′ are input from the input phoneme extraction unit 31 to the connection circuit 301, and the bit expression values D i and D i ′ are input from the dictionary phoneme extraction unit 32 to the connection circuit 301. The connection circuit is provided for switching the bit information values I and I′ in the terminals 2 and 3. When the resultant data at the selection calculation circuit 302 is "1", the dictionary data indicating the word template is sent to the verification unit 44, and this dictionary data is utilized for the actual voice recognition. The read strobe signal is provided for determining the output timing of the dictionary data. In the verification unit 44, the similarity of each word template is determined based on the input pattern from the analyzer 42 and the dictionary data from the pre-selector 33, and one or more word names in the word templates are output sequentially from the larger similarity as the recognition data. In the second embodiment, the composite selection condition B is selected. This criterion B is defined by the basic selection criterion 1 and 3 as explained above. First, the word templates which satisfy the basic selection criterion 1 are selected. This step is the same step as in the first embodiment. That is, the selection criterion between the bit expression values D i of all phonemes forming each word template and the bit expression values I′ of the distinctive phonemes of the input pattern is given by the following formula. D i · I′ = I′ The formula (5) is the same as the formula (1). Second, the word template which satisfies the basic selection criterion 3 is selected. That is, the selection criterion between the bit expression values D i ′ of the distinctive phonemes of the word template and the bit expression values I′ of the distinctive phonemes of the input pattern is given by the following formula. D i ′ · I′ = D i ′ The word templates which simultaneously satisfies the formulae (5) and (6) are the distinctive word templates for performing the voice recognition. When all bits given by the following formula (7) are "1", the above criterion is satisfied. (D i ·I′) ⊕ I′ · (D i ′·I′) ⊕ D i ′ The formula (7) is simplified as follows. (D i + I′ ) · ( D i ′ + I′) The formula (8) can be realized by the connection of the bit expression values I′ shown in Fig. 19. In Fig. 17, the bit expression values D i ′ are input to the NOT circuit 171, the bit expression values I′ are input to the NOT circuit 172 and the OR circuit 173, and the bit expression values D i are input to the OR circuit 174. The output of the AND circuit 175 and the data "-1" are input to the comparator 176. The OR circuit 173 calculates the formula (D i ′ + I′), and the OR circuit 174 calculates the formula (D i + I′ ). This data is input to the AND circuit 175. The AND circuit 175 calculates the formula (8), and outputs same to the comparator 176. The comparator 176 compares the formula (8) with the data "-1", and determines whether all bits of the formula (8) are "1". As explained in the first embodiment, the bit expression values D i of all phonemes existing in each word template generated by the dictionary phoneme extraction unit 32 and the bit expression values D i ′ of the distinctive phonemes at that word template are determined by the distinction of each word template regardless of the input pattern. Therefore, when these bit expression values D i and D i ′ at each word template are previously determined, it is possible to reduce the number of words to be selected and to raise the throughput efficiency. The third embodiment is explained with reference to Fig 20. In Fig. 20, the bit expression memory 320 is provided between the dictionary phoneme extraction unit 32 and the pre-selector 33. The other units are the same as those of Fig. 4. The bit expression memory 320 stores the bit expression values D i and D i ′ previously generated by the dictionary phoneme extraction unit 32. The bit expression values D i and D i ′ are related to all word templates existing in the verification unit 44. In the pre-selector 33, when the bit expression values I and I′ are input from the unit 31, the word templates satisfying any of the formulae (3), (4), (7), or (8) can be selected based on the bit expression value D i and D i ′ in the memory 320. Accordingly, it is possible to raise throughput efficiency higher than in the first and second embodiments. The present invention is not limited by these embodiments. For example, other bit numbers can be used as the bit numbers of 1 word. Further, the present invention can be applied to languages other than Japanese. The effects of the present invention are briefly explained as follows. (a) Since the valid word templates for verifying in the voice recognition can be selected from a plurality of word templates, it is possible to considerably reduce the number of word templates actually used as a reference. (b) Since the valid word templates can be quickly selected, it is possible to considerably reduce the quantities of information to be processed at the voice recognition without reduction in the recognition efficiency. (c) It is possible to considerably shorten the actual recognition time at the voice recognition. In this case, the actual recognition time means the time from the input of the voice to moment of display on the CRT.

Claims: 1. A voice recognition system selecting word templates necessary for voice recognition from a store (43) containing a plurality of word templates, comprising: an input phoneme extraction unit (31) for extracting phonemes from the input pattern; and a preselector (33) for selecting valid word templates for performing voice recognition; characterised in that: said input phoneme extraction unit (31) is operable to extract distinctive phonemes which can be clearly recognised in an input pattern of the voice, and, separately, all phonemes possibly existing in the input pattern; in that the system further comprises a dictionary phoneme extraction unit (32) for extracting the distinctive phonemes which are clearly recognised and can be previously determined in each stored word template, and, separately, all phonemes possibly existing in each stored word template; and ub that said preselector (33) is operable to select valid word templates based on the phoneme information extracted by said input phoneme extraction unit (31) and said dictionary phoneme extraction unit (32). 2. A voice recognition system as claimed in claim 1, wherein said input phoneme extraction unit (31) generates bit expression values (I′) showing the distinctive phonemes which can be clearly recognised from the input pattern, and generates other bit expression values (I) showing all phonemes possibly existing in the input pattern. 3. A voice recognition system as claimed in claim 1, wherein said dictionary phoneme extraction unit (32) generates bit expressioni values (D i ′) showing the distinctive phonemes which can be clearly recognised and can be previously determined at each stored word template, and generates other bit expression values (D i ) showing all phonemes possibly existing in each word template, where i is a number of the word template. 4. A voice recognition system as claimed in claims 1, 2 and 3, wherein said preselector (33) selects valid word templates,by calculating the following formula: and by determining whether or not all bits of the above formula indicate the value "1". 5. A voice recognition system as claimed in claim 1, wherein said input phoneme extraction unit (31) generates bit expression values (I′) showing the distinctive phonemes which can be clearly recognised from the input pattern, said dictionary phoneme extraction unit (32) generates bit expression values (D i ′) showing the distinctive phonemes which can be clearly recognised and can be previously determined at each stored word template and generates other bit expression values (D i ) showing all phonemes possibly existing in each stored word template, and said preselector (33) selects value word templates by calculating the following formula: and by judging whether or not all bits of the above formula indicate the value "1". 6. A voice recognition system as,claimed in any of claims 1 to 5, further comprising a bit expression memory (320) between said dictionary phoneme extraction unit (32) and said preselector (33), said bit expression memory (320) storing the bit expression values (D i and D i ′) previously calculated by said dictionary phoneme extraction unit (32).

Inventors: KIMURA, SHINTA, SANADA, TORU
Applicants: FUJITSU LIMITED
Application year: 1988
Main classification: G10L5
IPC codes: G10L15