Speech recognizing method and apparatus, and speech translating system

Abstract: In a speech recognizing apparatus, a grammatical qualification of a proposed speech recognition result candidate is judged without using a grammatical rule. The speech recognizing apparatus for performing sentence/speech recognition is comprised of an extracting means (3) for acoustically analyzing speech inputted (1) therein to extract a feature parameter of the inputted speech; a recognizing means (4) for recognizing the inputted speech based upon the feature parameter outputted from said extracting means (3) to thereby obtain a plurality of proposed recognition result candidates; an example memory means (7) for storing therein a plurality of examples; and a calculation means (5) for calculating a resemblance degree between each of said plurality of proposed recognition result candidates and each of the plural examples stored in the example memory means (7) and for obtaining the speech recognition result based on said calculated resemblance degree.

Description: BACKGROUND OF THE INVENTION The present invention relates to a speech recognizing apparatus, a speech recognizing method, and a speech translating system, suitably used in such a case that, for instance, speech is recognized, and the language of this speech recognition result is translated into another language. Fig. 1 schematically represents one example of a conventional speech recognizing apparatus for recognizing sentence-based/speech (conversation speech recognition, or speech understanding). A speech input unit 1 is constructed of, for instance, a microphone for converting voice, for converting voice - i.e., air waves - into voice (speech) signals that are electrical waves, and an amplifier for amplifying the speech signals outputted from this microphone. An A/D converting circuit 2 samples the analog speech signal outputted from the speech input unit 1 at a preselected clock timing to perform the quantizing process, so that this analog speech signal is converted into a digital speech signal (digital data). An analyzing unit 3 acoustically analyzes the digital speech signal outputted from the A/D converting unit 2 so as to extract the speech feature parameters: for example, speech power in specific ranges, the line predictive coefficient (LPC), and the Cepstrum coefficient. In other words, the analyzing unit 3 performs filtering of the speech signals with respect to the preselected ranges by way of a filter bank. Then, this analyzing unit 3 rectifies and smoothes the filtered speech signals in order to calculate the speech power for the respective ranges. Alternatively, the analyzing unit 3 may execute, for example, the linear predictive analyzing process on the inputted speech so as to obtain the linear predictive coefficient. Also, the analyzing unit 3 may process this linear predictive coefficient to obtain the Cepstrum coefficient. The feature parameters obtained in the analyzing unit 3 are directly outputted to the recognizing unit 50, or are vector-quantized therein, and then the vector-quantized feature parameters are outputted to the recognizing unit 50. The recognizing unit 50 performs speech recognition based upon the feature parameters (or, symbols obtained by vector-quantizing feature parameters) obtained from the analyzing unit 3 in accordance with a speech recognition algorithm such as the dynamic programming (DP) matching method and the hidden Markoff model (HMM). In this case, when speech recognition is carried out for phoneme units in the recognizing unit 50, the proposed phonemic candidate obtained as the proposed candidate for the speech recognition result is outputted in, for example, a lattice data form into the parser unit 51 (below, a "proposed phonemic subject lattice"). The parser unit 51 first refers to the word dictionary 52 into which the index of word (or nor phene) headings (for example, if the word is "read out", then the heading would be "read out"), the phonemic information thereof (reading), the parts of speech, and other necessary information have been registered. Then, the parser unit 51 combines the proposed phonemic candidates contained in the proposed phonemic subject lattice supplied from the recognizing unit 50 to form more than one word, and thereafter combines more than one word to form a word series (sentence). Then, the parser unit 51 applies the grammatical rule registered in the grammatical rule dictionary 53 to this word series based on a preselected purging algorithm. The parser unit 51 repeatedly applies the grammatical rule to such word series formable from the proposed phonemic lattice derived from the recognizing unit 50, so that the word series most suitable to the grammatical rule - namely a sentence - is outputted as a sentence/speech recognition result (otherwise, speech understanding result). It should be noted that the grammatical rule is formed by, for instance, experts in the speech recognition field. In the speech recognizing apparatus with the above-described arrangement, when the speech is inputted into the speech input unit 1, this speech is outputted as the speech signal via the A/D converting unit 2 to the analyzing unit 3. In the analyzing unit 3, the speech signal is acoustically analyzed to thereby extract the speech feature parameter from this speech signal. The speech feature parameter is supplied to the recognizing unit 50. In this recognizing unit 50, speech recognition is carried out in phoneme units by employing this speech feature, and the resultant proposed phonemic candidate lattice is outputted to the parser unit 51. The parser unit 51 refers to the word dictionary 52 and the grammatical rule dictionary 53, so that the word series obtained from the proposed phonemic subject lattice supplied from the recognizing unit 50 can be speech-recognized (speech understood) to output the speech recognition result. On the other hand, as the purging algorithm used to execute the sentence/speech recognition in the parser unit 51, the following methods are known: namely, the method for analyzing the sentence/speech based upon, e.g., context-free grammar in a parallel manner while leaving the unanalyzed results (the parser for performing the purging operation by such a method is called as a "chart parser"), and also the method for previously calculating the information required for the analysis from the context-free grammar to automatically produce the table referred to as an "LR analysis table", and for executing the analysis with reference to this LR analysis table (the parser for performing the purging operation by such a method is called an "expanded LR parser"). Now, the "LR" of the above-described LR parser has the following meaning: that is, the symbol "L" of "LR" is abbreviated from an expression "Left-to-right" which implies that a sentence is scanned from a left direction to a right direction. The other symbol "R" is abbreviated from an expression "Rightmost derivation", which implies that a rule is applied to the rightmost non-end symbol in a rewriting rule of the context-free grammar. It should also be noted that there is another type of parser which is called as an "LL parser". This LL parser scans a sentence from the left direction to the right direction, and executes the leftmost derivation, which is opposite to the above-described rightmost derivation. On the other hand, several improved methods have been proposed in, for instance, "Continuous Speech Recognition by using HMM Phonemic Recognition and Expanded LR Structural Analyzing Method" written by Kita et al., Transactions of the Institute of Information Processing, Vol. 31, No. 3 pages 472 to 480 in 1990, and also "Continuous Speech Recognition by using the Expanded LR Structural Analyzing Method" written by Ito et al., Electronic Information Communication Institute Report, SP 90-74. That is, these methods have been proposed such that in the parser unit, the expanded LR parser predicts what phonemic series will occur, and the recognizing unit performs phonemic identification with respect to the predicted phoneme by using the HMM. According to this method, it is possible to reduce the number of calculations during the recognition process. Furthermore, another method has been proposed in "Speech Language Processing by using Probability Grammar" written by Kita, Research Reports of Artificial Intelligence Institute, SIG-SLUD-9204-6. This is a method whereby information concerning the rate at which a grammatical rule is applied in the expanded LR parser is considered when selecting the appropriate grammatical rule. In other words, with this method, first, when context-free grammar is used as the grammatical rule, a large number of scholarly texts were consulted to discover the rate at which generative rules were applied. When this context-free grammar is then displayed in an LR analysis table, this rate data is also shown in the LR analysis table. During analysis with the expanded LR parser, occurrence-rate calculations are performed. As a result, for language expressions that occur frequently, a high rate value is obtained, while for non-text (grammatically incorrect text) an extremely small rate value is obtained. With this method, the number of calculations can thus be even further reduced. On the other hand, in contrast to the above-explained method, other methods have been proposed in which a plurality of hypotheses are first obtained by employing such information whose calculation load is small, and then these hypotheses are pared down by selecting the higher graded information, namely the language restrictions are subdivided into two stages. These different methods are described in, for instance, "A Tree-Trellis Based Fast Search for Finding the N Best Sentence Hypotheses in Continuous Speech Recognition", F.K. Soong and et al., Proceedings of Speech an Natural Language Workshop, DARPA, pp.12-19, (1990), "The N-best algorithm: An efficient and exact procedure for finding the N most likely sentence hypotheses", R. Schwartz and et. al., Proceeding of ICASSP 90, pp. 81-84 (1990). In this method, when the recognition process is first carried out in the recognizing unit by using the analysis results obtained by the analyzing unit - for example, the HMM - a loose language restriction is made by employing the statistical language model and a finite state network such as a bigram or a trigram. The bigram and the trigram correspond to, for example, the primary Markoff model and the secondary Markoff model, in which the chaining probability for phonemes, phrases, words etc. is studied based upon a large amount of text database. These bigrams and trigrams are known as models such that the local character of the natural language can be approximated with higher precision. Then, under such restrictions, the paring processing operation is properly carried out by way of, for instance, the known beam search using the Viterbi algorithm. Accordingly, a plurality of proposed sentence candidates remaining after the paring processing operation are outputted. Thereafter, the more precise grammatical rule is applied to these plural proposed sentence candidates in order to execute sentence/speech recognition (speech understanding). In the above-explained conventional methods, the grammatical rule employed in the parser unit is formed by experts in order to comprehend the various sentence formats spoken by humans. However, it is very difficult to describe this rule in a proper manner to enable correct sentence/speech recognition. In other words, when the grammatical rule is made unnecessarily strict, all statements which cannot satisfy this strict rule are not recognized. Conversely, when the grammatical rule is made unnecessarily loose, sentences which do not make grammatic sense (grammatically incorrect sentences) would be considered as recognition results. As a consequence, generally speaking, sentence examples which are not properly parsed, are searched and then the grammatical rule is changed based on this sentence example. However, in general, there is no clear solution as to how to correct grammatical rules effectively. Also, it is difficult to predict how the recognition processing operation will be changed when the grammatical rule is changed. Accordingly, there is a risk that an erroneous process will be performed to sentences after the grammatical rule is changed, although they may have been properly processed before the change of this grammatical rule. Correction of the grammatical rule cannot be easily performed. A speech recognition system in which all features of the precharacterizing part of claim 1 are disclosed, is described in US A 4980918. A word recognition system utilizing semantic information of the words for improving the recognition rate is known from Fukunaga et al.: "Recognition of Words with Semantic Information", Electronics and communications in Japan, Vol. 59 (1976), pages 12-19. Further, there is known from Morimoto et al.: "Integration of Speech Recognition and Language Processing in a Japanese To English Spoken Language Translation System", ICEI Transactions, Vol. E74 (1991), p. 1889-1896 a speech translating apparatus for translating a language of inputted speech into another language. OBJECT AND SUMMARY OF THE INVENTION The present invention has been made in an attempt to solve the above-described problems, and therefore, has its object to provide a speech recognizing method/apparatus and also a speech translating apparatus that are capable of judging grammatical qualifications of proposed subjects for speech recognition results without employing grammatical rules, resulting in sentence/speech recognition (speech understanding) effected in higher precision. This object is achieved by a speech recognizing method/apparatus and also a speech translating apparatus according to the enclosed independent claims. Advantageous features of the present invention are defined in the corresponding subclaims. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a schematic block diagram for indicating one example of the arrangement of the conventional speech recognizing apparatus; Fig. 2 is a schematic block diagram for showing an arrangement of a speech recognizing apparatus according to a first embodiment of the present invention; Fig. 3 is a flow chart for explaining operations of the example retrieving unit 5 shown in Fig. 2; Fig. 4 is an explanatory diagram used to explain a process operation defined at step S1 of the flow chart of Fig. 3; Fig. 5 is an explanatory diagram used to explain a process operation defined at step S1 of the flow chart of Fig. 3; Fig. 6 is an illustration for showing the thesaurus stored in the thesaurus memory unit 8 of Fig. 2; Fig. 7 is a schematic block diagram for representing an arrangement of a speech recognizing apparatus according to a second embodiment of the present invention; Fig. 8 shows an example (word bigram) of a language model applied to the present invention; Fig. 9 is a schematic block diagram for indicating an arrangement of a speech recognizing apparatus according to a third embodiment of the present invention; Fig. 10 is a schematic block diagram for representing an arrangement of a speech translating apparatus according to a first embodiment of the present invention; and Fig. 11A to Fig. 11E are explanatory diagrams for explaining operations of the speech translating apparatus shown in Fig. 8. DESCRIPTION OF THE PREFERRED EMBODIMENTS Fig. 2 schematically represents an arrangement of a speech recognizing apparatus according to a first embodiment of the present invention. It should be noted that the same reference numerals shown in Fig. 1 will be employed as those for denoting the same or similar circuit elements, and explanations thereof are omitted. Similar to the recognizing unit 50 of Fig. 1, a recognizing unit 4 (recognizing means) performs speech recognition by using a feature parameter (otherwise, a symbol produced by vector-quantizing this feature parameter) derived from an analyzing unit 3 in accordance with a predetermined speech recognition algorithm. It should also be noted that although the conventional recognizing unit 50 has executed the speech recognition by phoneme unit, this recognizing unit 4 performs the speech recognition by word units with reference to, for example, a word dictionary 6 (to be discussed below). Then, in the recognizing unit 4, a proposed subject of the word (proposed word subject) obtained from the speech recognition result in word units is outputted as a proposed subject for the speech recognition result in a form of, e.g., a lattice (the proposed word subject outputted in this lattice form will be referred to a "proposed word subject lattice" hereinafter). An example retrieving unit 5 (calculating means) combines together, the proposed word subjects contained in the proposed word subject lattice derived from the recognition unit 4 to thereby form a plurality of word columns (sentences) constructed of at least one word. Then, this example retrieving unit 5 calculates a resemblance degree between each of these plural word columns (sentences) and each of the examples stored in an example database 7 (to be explained below). The example retrieving unit 5 may determine the recognition result (sentence) of the speech entered into the speech input unit 1 based upon the calculated resemblance degree. It should be understood that the calculation of the resemblance degree in the example retrieving unit 5 is carried out by utilizing the thesaurus stored in the thesaurus memory unit 8. Also, the process operation for forming a plurality of word columns (sentences) made of at least one word by combining the proposed word subjects contained in the proposed word subject lattice with each other may be carried out not by the example retrieving unit 5, but by the recognizing unit 4. Within the word dictionary 6 (word memory means), there are stored an index of words, and phonemic information thereof (reading), and further parts of speech as well as other information, if required, corresponding thereto. In the recognizing unit 4, speech recognition is carried out as to the words stored in this word dictionary 6. In an example database 7 (example memory means), a plurality of examples are stored or registered. The examples are formed based upon, for example, sentences described in newspapers, and sentences described in originals read by an announcer. A thesaurus memory unit 8 (word concept memory means) stores therein at least the words registered in the word dictionary 6 while categorizing these words by concept. In this embodiment, as shown in Fig. 5, a thesaurus such that the words are formed in a hierarchial tree structure based upon the concept thereof is stored in the thesaurus memory unit 8. In the speech recognizing apparatus with the above-described arrangement, the speech entered into the speech input unit 1 is processed by an A/D converting unit 2 and further by an analyzing unit 3 (extracting means) to thereby be converted into a feature parameter (otherwise, symbol) which will then be outputted to the recognizing unit 4. In the recognizing unit 4, the speech recognition by word units is carried out in accordance with, for instance, the HMM by employing the output from the analyzing unit 3. Now, a simple explanation of this HMM will now be described. The HMM is defined as a nondecisive finite condition automaton. This model is constituted by several conditions and paths indicative of transitions among these conditions. In such a model, a state transition process from each respective state is the Markoff's process. When a state is transited, a single symbol is outputted and a model of learning is carried out. Assuming now that there are N pieces of model states and K sorts of symbols are outputted from the model, a large number of learning data are employed in this learning process so as to calculate the probability (state transition probability) "aij" of transition from a state "i" to a state "j", and the probability "bij(yk)" (output symbol probability) to output a symbol "yk" at this time. (Note that 0<i, j<N+1, 0<k<k+1.) It should be noted that as the parameter of the HMM, there is a probability (initial state probability) "πi" when it is at state "i" at the beginning. Normally, a left-to-right model is used such that a state is transited only to itself, or only to a right side in the speech recognition, so that the initial state is the leftmost state of the model (at first, the probability when the model is located under the leftmost state is selected to be 1, and the probability when the model is located under other states is selected to be 0). As a consequence, normally, there is no need to calculate the initial state probability in the learning process. On the other hand, during speech recognition, a calculation is made of a probability (occurrence probability) such that the symbol series outputted from the analyzing unit 3 is monitored (occurs) by employing the state transition probability and the output symbol probability, which are obtained from the result of the learning process. The higher occurrence probability is recognized as the recognition result. In this embodiment, for example, a model in phoneme units (phoneme model) which has been obtained by previously carrying out the learning process is stored in the recognizing unit 4. The recognizing unit 4 couples the phoneme models to each other with reference to the word phonemic information registered in the word dictionary 6, and thus produces a model of a word registered in the word dictionary 6. Then, as described above, the occurrence probability is calculated by employing this model, and a lattice constructed of the words whose probability is high is outputted as a proposed word subject lattice. Alternatively, while not phoneme models, but models in word units (namely, word models) are stored in the recognizing unit 4, it is possible to perform continuous speech recognition by directly using this model. The proposed word subject lattice outputted from the recognizing unit 4 is supplied to the example retrieving unit 5. Upon receipt of the proposed word subject lattice, the example retrieving unit 2 performs a process operation in accordance with the flow chart of Fig. 2, for example. That is to say, first, at step S1, the words for constituting the word lattice are combined with each other, and then a word column or series (sentence) made of at least one word is formed. It should be noted that at this time, the words of the proposed word subject lattice do not overlap each other along the time base direction, and they also are combined with each other in the time sequence. In other words, it is now assumed that, as shown in Fig. 4, a proposed word subject lattice whose speech section is defined from a time instant t1 to a time instant t5 is outputted from the recognizing unit 4. It should be understood that Fig. 4 represents such a situation that words "a", "b", "c", "d" and "e" could be recognized as the words each having the highest occurrence probability in the speech sections defined from the time instant t1 to the time instant t2, from the time instant t2 to the time instant t4, from the time instant t4 to the time instant t5, from the time instant t1 to the time instant t3, and from the time instant t3 to the time instant t5. In this case, there are four sets of word combinations in the time sequence, i.e., (a, b, c), (d, e), (a, e), and (d, c), which do not overlap each other along the time base direction. At step S1, any one of the above-described combinations is formed. Practically speaking, since an error may happen to occur in the phonemic segmentation during speech recognition, as shown in Fig. 4, there is substantially no case where just after the speech section of a certain word, the speech section of another word is not located. Normally, as indicated in Fig. 4, even when the words A, B and C are continuously produced, the speech section of the word A is overlapped with the speech section of the word B from a temporal perspective, and the speech section of the word B is separated from the speech section of the word C from a temporal perspective. As a consequence, at step S1, although the word combinations do not overlap along the time base direction as under the ideal condition, a small overlap in the speech sections is allowed unless it may be clearly recognized that different words are produced at the same time instant, and then word combinations are formed. After the word combinations have been formed, the process operation is advanced to step S2. At this step S2, a calculation is made between a resemblance degree of this word combination and a resemblance degree of the example registered in the example database 7. In accordance with this preferred embodiment, as the method for calculating this resemblance degree, such a method is applied which is disclosed in, for example, the Japanese Laid-open Patent Application No. 3-276367 opened on December 6, 1991, and in which the thesaurus is made by words in a tree hierarchical structure based upon the resemblance (concept) of the words' meanings. That is, in the case where such a conceptional hierarchy corresponds to a k-th hierarchy, where both a certain word for constituting a combination of words, and a word for constituting the example corresponding to this word belong to the same category, assuming now that a word resemblance degree indicative of a conceptional resemblance between these words is (k-1)/n (note that symbol "n" is the hierarchical number of the thesaurus), word resemblance degrees as to the respective words for constituting the word combinations, and the respective words for constructing the example, are calculated. Then, the calculated results are used as the resemblance degrees between the word combinations and the example. Concretely speaking, assuming now that such a thesaurus as represented in Fig. 6 is stored in the thesaurus memory unit 8, resemblance degrees will be calculated as follows: Note that in Fig. 6, an item surrounded by a rectangular box show a concept, whereas an item surrounded by an elliptical box denotes a word. In this drawing, the concept belonging to the uppermost hierarchy (fourth hierarchy) "Hendou (change)", "Koudou (action)", "Jinbutsu (person)", and "Shakai (society)", is classified along with other concepts. For instance, the concept "Jinbutsu (person, character)" among these uppermost concepts is classified together with the concepts "Ninshou (person)" and "Shinzoku (relatives)" which are contained therein, as well as with others. Furthermore, the concept "Ninshou (person)" is classified with "Jishou (the first person)" and "Tashou (the second or third person)" and others. To the concept "Tashou (the second or third person)" among these, the words "Kare (he)" and "Kanojo (she)" are categorized thereto, as well as others that pertain. In Fig. 6, the lowermost conceptional hierarchy is defined as a first hierarchy, the second conceptional hierarchy from the bottom is defined as a second hierarchy, the third conceptional hierarchy from the bottom is defined as a third hierarchy, and the uppermost conceptional hierarchy is defined as a fourth hierarchy. Since the thesaurus of Fig. 6 is constructed of the four hierarchical layers, the word resemblance degree of the words whose concepts are coincident with each other, by returning the thesaurus back to the first hierarchy, are equal to 0 (=(1-1)/4). Also, the resemblance degree of the words whose concepts are coincident with each other, by returning the thesaurus back to the second hierarchy, is equal to 1/4 (=(2-1)/4). Similarly, the word resemblance degree of the words whose concepts are coincident with each other by returning the thesaurus back to the third hierarchy or to the fourth hierarchy is equal to 1/2, or 3/4, respectively. Now, for instance, suppose only independent words are registered in the word dictionary 6. As a result, in the recognizing unit 4, continuous speech recognition is carried out on only independent words. As a consequence, at step S1, the words of "Kare (he)", "Ninchi (one's new post)", and "Omomuku (go, leave)" are combined to form an input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)"). Also, as an example, when consideration is made of "Watashi wa Gakko ni Iku", the word resemblance degrees between the respective words for constructing the input word series and the words of "Watashi (I)", "Gakko (school)", "Iku (go to)" corresponding to "Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)", which constitute the example "Watashi wa Gakko ni Iku (I go to school)" are given as follows below. Now, a word resemblance degree between words X and Y is expressed as d(X, Y). In other words, since the concept of the word "Kare (he)" is made coincident with the concept of the word "Watashi (I)" in view of the concept "Ninshou (person)" by returning the thesaurus back to the second hierarchy, the word resemblance degree "d" ("Kare (he)", "Watashi (I)") becomes 1/4. Also, since the concept of the word "Ninchi (one's new post)" is coincident with the concept of the word "Gakkou (school)" in view of the concept "Shakai (society)" by returning the thesaurus back to the third hierarchy, the word resemblance degree "d" ("Ninchi (one's new post)" and "Gakkou (school)") becomes 1/2. Furthermore, since the concept of the word "Omomuku (go, leave)" is coincident with the concept of the word "Iku (go to)" in view of the concept "Ouhuku (go to and back)" by returning the thesaurus back to the first hierarchy, the word resemblance degree "d" ("Omomuku (go, leave)", "Iku (go to)" ) becomes 0. When the above-described word resemblance degrees are accumulated, the resulting accumulated value becomes 3/4 (= 1/4 + 1/2 + 0). This value is recognized as the resemblance degree between the input word series ("Kare (he))", "Ninchi (one's new post)", "Omomuku (go, leave)") and the example "Watashi wa Gakkou ni Iku (I go to school)". The above-described calculation of the resemblance degree with respect to the input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)") will be executed for all of the examples registered in the example database 7. Referring back to Fig. 3, when the calculation of the resemblance degree at step S2 is accomplished, the process operation is advanced to step S3. At this step S3, a judgment is made as to whether or not the resemblance degree calculations defined at step S2 have been performed with respect to all of the word combinations obtained from the proposed word subject lattice of the recognizing unit 4. When it is so judged at step S3 that the resemblance degree calculations are not yet performed with respect to all of the word combinations obtained from the proposed word subject lattice, the process operation is returned to the previous step S1, at which a word combination (input word series) is newly formed, and then a similar process operation is repeated. In other words, at step S1, when as the new input word series, for example, ("Kanojo (she)", "Haha (mother)", "Niteiru (look like)") is formed, similarly to the above-described case of step S2, a word resemblance degree "d" ("Kanojo (she)", "Watashi (I)"), another word resemblance degree "d"("Haha (mother)", "Gakko (school)"), and another word resemblance degree "d" ("Niru (look like)", "Iku (go to)") are calculated as 1/4, 3/4, and 3/4, respectively. These word resemblance degrees "d" are related between the words "Kanojo (she)", "Haha (mother)" for constituting this input word series (note that the word "Niteiru" is understood as the word "Niru"), and the words "Watashi (I)", "Gakko (school)", "Iku (go to)" corresponding to "Kanojo (she)", "Haha (mother)", "Niteiru (look like)" for constructing the above-mentioned example "Watashi wa Gakkou ni Iku (I go to school)." As a result, a resemblance degree between the input word series ("Kanojo (she)", "Haha (mother)", "Niteiru (look like)") and the example "Watashi wa Gakko ni Iku (I go to school)") is calculated as 7/4 (1/4 + 3/4 + 3/4). On the other hand, when it is so judged at step S3 that the resemblance degree calculations have been carried out as to all of the word combinations obtained from the proposed word subject lattice, the process operation is advanced to a step S4. At this step S4, an example whose resemblance degree is the highest and the input word series are selected, and then the process operation is advanced to a step S5. At step S5, among the words that constitute the examples selected at step S4, those words corresponding thereto which construct the input word series selected at step S4 are replaced by the words that constitute this input word series. The replaced words are outputted as a sentence/speech recognition result, and thus the process operation is complete. That is to say, for the sake of simple explanation, only "Watashi wa Gakkou ni Iku (I go to school)" is the example stored in the example database 7, and only two sets of input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)") and ("Kanojo (she)", "Haha (mother)", "Niteiru (look like)") are formed. As described above, the resemblance degree between the input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)") or ("Kanojo (she)", "Haha (mother)", "Niteiru (look like)"), and the example "Watashi wa Gakkou ni Iku (I go to school)" becomes 3/4 or 7/4. In this embodiment, the high resemblance degree implies the small value of the resemblance degree. (This is because in Fig. 6, the lowermost conceptional hierarchy is defined as the first hierarchy, then comes the second hierarchy, etc., all of which constitute the thesaurus. Conversely, when the uppermost conceptional hierarchy is defined as the first hierarchy, and the next down is the second hierarchy, etc., all of which constitute the thesaurus, the high resemblance degree implies a large value of the resemblance degree.) As result, at step S4, the input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)") and the example "Watashi wa Gakko ni Iku (I go to school)" are selected. Then, at step S5, among the words for constructing the example "Watashi wa Gakko ni Iku (I go to school)", such words corresponding to the words that constitute the input word series ("Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)") are replaced by the words "Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)" that constitute this input word series. Namely, "Watashi (I)", "Gakko (school)", "Iku (go to)" corresponds to "Kare (he)", "Ninchi (one's new post)", "Omomuku (go, leave)". Then, the replaced result "Kare wa Ninchi ni Omomuku (He leaves for his new post)" is outputted as the sentence/speech recognition result. As previously explained, according to this speech recognizing apparatus, when a plurality of input word series are outputted as the proposed speech recognition result candidates, these proposed candidates are classified according to the example. Then, the input word series which has the highest resemblance degree with respect to the example can be obtained as the speech recognition result. As a result, in order to classify a plurality of proposed speech recognition result candidates (namely, to select one speech recognition result from a plurality of proposed speech recognition results), there is no need to employ the grammatical rules described by language specialists. Also, since the examples can be readily formed from descriptions from newspapers and the like, it is possible to easily develop (manufacture) the speech recognizing apparatus. Furthermore, in the case where an input speech for which no correct speech recognition result can be obtained is inputted, this speech is merely added to the example database 7 as the example, so that recognition performance levels can be easily improved. In this case, since the examples whose resemblance degrees should be calculated at step S2 are merely increased, there is no risk that after these examples have been added, the speech which could be correctly recognized before the addition of these examples is not correctly recognized. Also, in combination with the examples, expressions of their meanings may be registered in the example database 7, so that details concerning the meanings of inputted speech may be easily understood. Subsequently, Fig. 7 schematically shows an arrangement of a speech recognizing apparatus according to a second embodiment, to which the present invention is applied. It should be noted that the same reference numerals indicated in Fig. 2 will be employed as those for denoting the same or similar elements of this second embodiment. That is, this speech recognizing apparatus employs a new arrangement such that a recognizing unit 11 (recognizing means) is used instead of the recognizing unit 4, and newly employs a language model memory unit 12 (language model memory means) in addition to the remaining arrangements of the recognizing apparatus of Fig. 2. The language model memory unit 12 stores, for example, a statistical language model such as a bigram or a trigram. In this embodiment, a language model implies that an occurrence of probability is calculated based upon a large amount of sentence data such as newspaper and magazine information, for which how many times chains in a certain unit happen to occur is calculated. In other words, a language model corresponds to a table for representing an occurrence of probability where a certain word may be connected to another certain word, in combination with combinations of words. A statistical unit is a phoneme, a word, a part of speech and so on. There are statistical methods, i.e., the probability that units individually occur (unigram), the probability that a specific unit occurs in a two-chain manner (bigram), and the probability that a specific unit occurs in a three-chain manner (trigram). In Fig. 8, there is represented an example of a word-unit bigram. Similar to, for example, the recognizing unit 4, the recognizing unit 11 performs a speech recognition process in such a manner that a loose language restriction is made based upon the language model stored in the language model memory unit 12, and a paring processing operation is properly performed by way, for example, of a beam search using the Viterbi algorithm under this loose language restriction. Then, a plurality of proposed sentence candidates are obtained as a plurality of remaining speech recognition results. The respective proposed sentence candidates are converted into word series consisting of only independent words by deleting, for instance, a particle. The converted word series are outputted to the example retrieving unit 5. In the example retrieving unit 5, a plurality of word series are entered from the recognizing unit 11 as input word series, and the resemblance degrees thereof with reference to the examples are calculated. As a consequence, since the restriction based on the language model is loose, it is conceivable that the proposed sentence subjects outputted from the recognizing unit 11 may contain not only grammatically correct and meaningful sentence candidates, but also erroneous sentence candidates. However, as such erroneous sentence candidates posses lower resemblance degrees in the example retrieving unit 5, these erroneous sentence candidates are not treated as final speech recognition results. In this case, since the input word series are restricted by the language models in the recognizing unit 11, the number of input word series whose resemblance degrees are calculated by the example retrieving unit 5 becomes smaller than the number in Fig. 2. As a result, the sentence recognizing process can be done at high speed. It should be noted that the language restrictions may be made based upon not only the language models, but also, for example, by employing the finite state network. Then, Fig. 9 schematically shows an arrangement of a speech recognizing apparatus according to a third embodiment to which the present invention is applied. It should be noted that the same reference numerals indicated in Fig. 2 will be employed as those for denoting the same or similar elements of this third embodiment. That is, this speech recognizing apparatus employs a new arrangement such that a recognizing example retrieving unit 21 instead of the recognizing unit 4 and the example retrieving unit 5, and further employs an expanded word dictionary 22 instead of the word dictionary 6 and the thesaurus memory unit 8, in addition to the remaining arrangements of the recognizing apparatus of Fig. 2. The recognizing/example retrieving unit 21 is made by assembling the recognizing unit 4 with the example retrieving unit 5, and is designed in such a way that the continuous speech recognition process and the resemblance degree calculation can be performed in a parallel manner. Also, the expanded word dictionary 22 is made by assembling the thesaurus stored in the thesaurus memory unit 8 with the word dictionary 6, in which, as shown in Fig. 6, phonemic information, parts of speech, and other necessary information are stored in correspondence with the words of the thesaurus. In the speech recognizing apparatus with the above-described arrangement, similarly to the recognizing unit 4, speech recognition is performed in the recognizing/example retrieving unit 21 while referring to the expanded word dictionary 22. When this expanded word dictionary 22 is retrieved, not only the information required to recognize the speech (for instance, the phonemic information of words), but also other information required to calculate the resemblance degrees are read out therefrom. As a result, when the resemblance degree is subsequently calculated, since it is no longer necessary to refer to the expanded word dictionary 22, the speech recognizing process operation can be performed at high speed. Furthermore, in this case, the memory capacity of this expanded word dictionary 22 can be reduced, as compared with the memory capacities required when either the word dictionary 6 or the thesaurus memory unit 8 is independently realized. Next, Fig. 10 shows an arrangement of a speech translating apparatus according to an embodiment to which the present invention is applied. This speech translating apparatus comprises a speech recognizing apparatus 41, a translating unit 42, and an original/translated word dictionary 43. The speech recognizing apparatus 41 is arranged in a similar manner to that of the speech recognizing apparatus shown in Fig. 2. The translating unit 42 (translating means) may translate a language outputted from the speech recognizing apparatus 41 into another language while referring to the original/translated word dictionary 43. The original/translated word dictionary 43 stores therein, for instance, a Japanese word and an English word (otherwise, an English word series) which is the translated word of this Japanese word. It should be understood that the memory contents of the word dictionary 6, the example database 7, and the thesaurus memory unit 8, which constitute the speech recognizing apparatus 41, pertain to, for example, Japanese. However, the example database 7 stores therein the Japanese examples, and also the examples translated into English in relation to their corresponding Japanese examples. Referring now to Fig. 11A to Fig. 11E, the operations of this speech translating apparatus will be explained. When Japanese speech is inputted into the speech translating apparatus, a similar speech recognizing process operation is carried out as in Fig. 2 by the speech recognizing apparatus 41. As a consequence, in the example retrieving unit 5, both an input word series and an example whose resemblance degrees are the highest are obtained. Then, the resultant input word series and example are outputted to the translating unit 42. Assuming now that an input word series whose resemblance degree is the highest value, and an example thereof are ("Watashi", "Gakkou", "Iku") and "Watashi wa Tera ni Iku", respectively, the input word series ("Watashi", "Gakkou", "Iku") and "Watashi wa Tera ni Iku" are outputted to the translating unit 42 in combination with an example written into English corresponding to the first-mentioned example. It should be noted, as illustrated in Fig. 11A, the Japanese example "Watashi wa Tera ni Iku" and the English example " I go to the temple" are defined in such a manner that the structural words correspond to each other, i.e., ("Watashi" = "I"), ("Tera" = "temple"), ("Iku" = "go"). In the translating unit 42, the words "Watashi", "Tera", "Iku" corresponding to the input word series among the words for constructing the Japanese example "Watashi wa Tera ni Iku" are as shown in Fig. 11B replaced by the words "Watashi", "Gakkou", "Iku" for constructing the input word series. As a result, the Japanese example "Watashi wa Tera ni Iku" is converted into the Japanese example "Watashi wa Gakkou ni Iku". Accordingly, this Japanese example "Watashi wa Gakkou ni Iku" is made in correspondence with the English example "I go to the temple" corresponding to the Japanese example "Watashi wa Tera ni Iku", as illustrated in Fig. 11C. Thereafter, the translating unit 42 converts the words for constituting the input word series into English words or an English word series with reference to the original/translated word dictionary 43. In other words, as represented in Fig. 11D, in this case, the words "Watashi", "Gakkou", "Iku" that constitute the input word series are translated into the words "I", "school", "go to", respectively. Then, as shown in Fig. 11E, the translating unit 42 replaces "I" corresponding to "Watashi", "the temple" corresponding to "Gakkou", "go to" corresponding to "Iku" (see Fig. 11C) by "I" corresponding to "Watashi", "school" corresponding to "Gakkou", "go to" corresponding to "Iku" (see Fig. 11D). As a result, the obtained English sentence "I go to school" is outputted. This translation result is represented on a display or the like, or is inputted into a speech synthesizing apparatus to be outputted as a synthesized sound. In the conventional speech translating apparatus, when one sentence is outputted as a speech recognition result, this outputted sentence is translated by way of machine translation. A major method of conventional machine translation is performed as follows: First an entered sentence is converted into an intermediate language, and then the meaning of the inputted sentence is understood based upon this intermediate language. Thereafter, it is converted into the objective language. However, recently, a method for conducting the translating process based upon the following example has been studied for possible usage. In other words, according to this method, an example resembling an inputted text is retrieved. The words that constitute the resulting example are replaced by the words of the objective language based on the original/translated word dictionary of the two languages (namely, the language of the input text and the translated language). As a consequence, the translated result can be obtained. According to this conventional method, there is no need to convert the input sentence into an intermediate language. To the contrary, since the speech translating apparatus of Fig. 10 conducts the processing operation based on an example made during speech recognition, the example utilized in this speech recognition can be directly used in the translation. As a result, in accordance with the speech translating apparatus shown in Fig. 10, the translation process can be simplified and also performed at a high speed, compared with a speech translating apparatus such that the speech recognizing apparatus and the machine translating apparatus are separately constructed and connected to each other. While the various preferred embodiments of the present invention have been explained, the present invention is not limited to the above-explained embodiments, but may be applied to, for instance, an apparatus capable of processing inputted speech. In the above-described embodiment, the resemblance degrees of the words are directly accumulated, and the accumulated result is employed as the resemblance degree. Alternatively, the desirable resemblance degree may be obtained in such a manner that, for instance, the word resemblance degree is weighted in correspondence with the structure of the thesaurus, and the weighted word resemblance degree is accumulated. Although the thesaurus is utilized so as to calculate the resemblance degree in the above-described embodiment, the method for calculating the resemblance degree is not limited thereto. Moreover, in the speech translating apparatus of Fig. 10, the speech translation has been carried out from Japanese into English. Alternatively, for example, any language other than Japanese may be translated into English, or Japanese may be translated into any language other than English by changing the registered contents of the word dictionary 6, the example database 7, the thesaurus memory unit 8 and the original/translated word dictionary 43. Also, the speech translating apparatus shown in Fig. 10 is equipped with a speech recognizing apparatus which is constituted similar to the speech recognizing apparatus of Fig. 2. Alternatively, this speech recognizing apparatus 41 may be arranged similar to such speech recognizing apparatuses as indicated in Fig. 7 and Fig. 9. In accordance with the speech recognizing apparatus and the speech recognizing method of the present invention, the resemblance degree between each of the plural proposed recognition results and each of the examples is calculated, and then the desirable speech recognition result can be obtained based upon this calculated resemblance degree. As a result, a plurality of proposed recognition result candidates are categorized without employing grammatical rules, so that the desirable recognition result can be obtained. Also, in accordance with the speech translating apparatus of the present invention, calculation is made between each of the plural proposed recognition result candidates and each of the examples, and then the speech recognition result is obtained based on this calculated resemblance degree. Then, the language of this speech recognition result is translated into another language. As a consequence, speech entered as voice can be easily translated.

Claims: A speech recognizing apparatus for performing sentence/speech recognition, comprising: extracting means (3) for acoustically analyzing speech inputted therein to extract a feature parameter of said inputted speech; recognizing means (4) for recognizing said inputted. speech based upon said feature parameter outputted from said extracting means to thereby obtain a plurality of proposed recognition result candidates; example memory means (7) for storing therein a plurality of examples; characterized in that said recognizing means (4) recognizes said input speech in word units; words are stored in a word concept memory means (8) by categorizing said words; wherein said proposed recognition result candidate is made by combining more than one word with each other; and a calculating means (5) calculates a word resemblance degree indicative of a conceptual resemblance characteristic between each of said words for constituting said proposed recognition result candidate and each of the words for constituting said examples with reference to said word concept memory means (8), and selects a combination of words for constituting an example and words for constituting proposed recognition result having the highest word resemblance degree, and replaces words for constituting the selected example by the selected words constituting the proposed recognition candidate, and outputs replaced result as the sentence/speech result. A speech recognizing apparatus as claimed in claim 1, wherein: said word concept memory means(8) stores therein the words in a hierarchical tree structure based on the concept thereof. A speech recognizing apparatus as claimed in claim 1, further comprising: language model memory means (12) for storing therein a language model classified according to the probability of connections among a plurality of words; wherein said recognizing means (4) performs said speech recognition under restrictions of said language model stored in said language model storing means (12) so as to obtain a plurality of proposed recognition result candidates. A speech recognizing apparatus as claimed in any one of claims 1 to 3, further comprising: word memory means (6) for storing therein at least the word to be recognized by said recognizing means (4), phonemic information about said word, and speech part information about said word; wherein said word concept memory (8) means and said word memory means (6) are made in an integral form. A speech recognizing method for performing sentence/speech recognition, comprising the steps of: acoustically (3) analyzing input speech to extract a feature parameter of said input speech; recognizing (4) said input speech based upon said extracted feature parameter so as to obtain a plurality of proposed recognition result candidates; and storing a plurality of examples in an example memory means (7), characterized in that said input speech is recognized in word units; words are stored in a word concept memory means (8) by categorizing said words; wherein said proposed recognition result candidate is made by combining more than one word with each other; and a word resemblance degree indicative of a conceptual resemblance characteristic is calculated between each of said words for constituting said proposed recognition result candidate and each of the words for constituting said examples with reference to said word conceptual memory means (8), wherein a combination of words for constituting an example and words for constituting proposed recognition result having the highest word resemblance degree are selected, and words for constituting the selected example are replaced by the selected words constituting the proposed recognition candidate, and the replaced result is outputted as the sentence/speech result. A speech translating apparatus for translating a language of inputted speech into another language, comprising: extracting means (3) for acoustically analyzing speech inputted therein to extract a feature parameter of said inputted speech; recognizing means (4) for recognizing said inputted speech based upon said feature parameter outputted from said extracting means to thereby obtain a plurality of proposed recognition result candidates; example memory means (7) for storing therein a plurality of examples; characterized in that said recognizing means (4) recognizes said input speech in word units; a word concept memory means (8) stores therein words by categorizing said words; wherein said proposed recognition result candidate is made by combining more than one word with each other; a calculating means (5) calculates a word resemblance degree indicative of a conceptual resemblance characteristic between each of said words for constituting said proposed recognition result candidate and each of the words for constituting said examples with reference to said word conceptual memory means (8), and selects a combination of words for constituting an example and words for constituting proposed recognition result having the highest word resemblance degree, and replaces words for constituting the selected example by the selected words constituting the proposed recognition candidate, and outputs replaced result as the sentence/speech result; and the language of said speech recognition result outputted from said calculation means (5) is translated by a translating means (42) into said another language. A speech translating apparatus as claimed in claim 6, wherein said word concept memory means (8) stores therein the words in a hierarchical tree structure based on the concept thereof. A speech translating apparatus as claimed in claim 6, further comprising: language model memory means (12) for storing therein a language model classified according to the probability of connections among a plurality of words; wherein: said recognizing means (11) performs said speech recognition under restriction of said language model stored in said language model storing means (12) so as to obtain a plurality of proposed recognition result candidates. A speech translating apparatus as claimed in any one of claims 6 to 8, further comprising: word memory means for storing therein at least the word to be recognized by said recognizing means, phonemic information about said word, and speech part information about said word; wherein said word concept memory means and said word memory means are made in an integral form (22).

Inventors: AKABANE MAKOTO, ASANO YASUHARU, ISHII KAZUO, KAGAMI TETSUYA, KAKUDA HIROSHI, KATO YASUHIKO, OGAWA HIROAKI, TANAKA MIYUKI, WATARI MASAO, AKABANE, MAKOTO, ASANO, YASUHARU, ISHII, KAZUO, KAGAMI, TETSUYA, KAKUDA, HIROSHI, KATO, YASUHIKO, OGAWA, HIROAKI, TANAKA, MIYUKI, WATARI, MASAO, AKABANE, MAKOTO, C/O SONY CORPORATION, ASANO, YASUHARU, C/O SONY CORPORATION, ISHII, KAZUO, C/O SONY CORPORATION, KAGAMI, TETSUYA, C/O SONY CORPORATION, Kakuda, Hiroshi, c/o Sony Corporation, KATO, YASUHIKO, C/O SONY CORPORATION, OGAWA, HIROAKI, C/O SONY CORPORATION, Tanaka, Miyuki, c/o Sony Corporation, WATARI, MASAO, C/O SONY CORPORATION
Applicants: SONY CORP, SONY CORPORATION
Application year: 1996
Main classification: G10L15
IPC codes: G06F17, G10L15