Method for dialling a telephone number by voice commands and a telecommunication terminal controlled by voice commands

Abstract: In the method of the invention for dialling a telephone number by voice commands, the telephone number to be dialled can be uttered either as one or as several number strings or identifications, which are recognized in order to find out which number string or identification was uttered. An incorrectly recognized number string or identification will be marked incorrect.

Description: The present invention relates to a method presented in the preamble of the appended Claim 1 for dialling a telephone number by voice commands. Further, the invention relates to a telecommunication terminal presented in the preamble of the appended Claim 4. A telephone number is usually dialled by using the selecting disc or dialling keys of a telecommunication terminal. However, there may be situations when it would be necessary to dial a telephone number e.g. by speaking the telephone number. Particularly for use in automobiles, so-called hands-free modes have been developed, wherein the driver of the vehicle does not need to loose hold of the steering wheel for dialling a telephone number. The dialling of the telephone number is thus conducted by speaking the telephone number to be dialled. This kind of a hands-free mode is practical also e.g. in offices. In the simplest way, this kind of dialling of a telephone number by voice commands works in a way that the user of the telecommunication terminal says the telephone number to be dialled digit by digit, wherein after saying the whole number, a speech recognizer unit in the telecommunication terminal searches the number sequence that the speech recognizer unit interprets to best correspond to the number sequence recited by the user. The interpretation is based e.g. on the fact that the speech recognizer unit calculates one or several feature vectors on the basis of the audio signal received. The speech pattern memory of the voice recognizer unit contains e.g. speech patterns corresponding to numeral digits, and these are used in combination with the feature vectors calculated from the audio signal for calculating the recognition result by using methods known as such. Telephone numbers are usually very long, commonly number sequences containing at least seven numeral digits, wherein the number of various combinations is very large: with a sequence of seven numerals, there are 10,000,000 alternative combinations. When making calls to mobile stations, to telecommunication terminals of different directory areas, or from one country to another, the length of a telephone number can be as long as 15 numeral digits. The large number of alternative combinations sets high demands on the operation of a device to be controlled by voice commands, so that the number of incorrect recognitions could be reduced to the minimum. In the above-mentioned situation of dialling a telephone number consisting of seven numeral digits, incorrect recognition of even one numeral digit will lead to incorrect dialling. U.S. Patent No. 4,870,686 discloses a telecommunication terminal controlled by speech recognition, wherein the telephone number to be dialled can be uttered in one or several digit strings. Each digit string is recognized separately, wherein the number of alternatives for each digit string is considerably smaller than in a situation when the whole telephone number is recognized as one digit string. For example, the telephone number "1234567" can thus be uttered e.g. in digit strings "12", "34", "567", wherein the number of different dialling alternatives is one hundred for the first and second digit strings and one thousand for the third digit string. Thus, the probability that each digit string will be recognized correctly is considerably higher than if the whole telephone number were recognized as one number sequence. However, also this dialling method has the disadvantage that if any of the digit strings is recognized incorrectly the first time, in which case the user will control the speech recognizer unit to recognize this numeral sequence again, the speech recognizer unit can make the same incorrect interpretation also the next time. In the worst case, the user must repeat the whole number sequence, and even this will not guarantee that the speech recognizer unit can recognize the uttered telephone number correctly. This unreliability of recognition is due to a number of various factors. For example, the recognition of the telephone number can be interfered by noise conditions. Furthermore, many recognizer units are advantageously programmed at the manufacturing stage so that an average speech pattern for each number from zero to nine is stored in the speech pattern memory of the recognizer unit. However, different users will pronounce the numbers in slightly different ways, which will not necessarily always result in equally good recognition for different users, wherein the error rate can be different when different persons use such a telecommunication terminal controlled by voice commands. In these situations, it is possible to use recognizer units which can be taught to recognize the user's voice, i.e. the user pronounces the numbers from zero to nine, wherein the speech recognizer unit stores the speech patterns corresponding to the numbers in the speech pattern memory. Nevertheless, this will not eliminate all incorrect recognitions, e.g. under the influence of noise or the user's voice which is changed for any reason. Further, such voice-controlled telecommunication terminals have been developed in which the user can store the telephone numbers desired and an identification corresponding to these, such as the name of a firm and/or a person. Thus the selection of the telephone number can be made by uttering the identification, on the basis of which the speech recognizer unit compares the identifications stored and conducts dialling on the basis of this comparison. In such a device, where the identification can be divided into sub-identifications, the recognizer unit conducts a comparison of sub-identifications and after correct recognition of the sub-identification, the user utters the next sub-identification. When a sufficient number of sub-identifications have been uttered to identify the telephone number, the telecommunication terminal conducts dialling of the telephone number. Also in this kind of a telecommunication terminal, the problem may occur that the identification or sub-identification is continually recognized incorrectly and the correct telephone number cannot be dialled. The patent US-5,577,164 discloses an incorrect voice command recognition prevention and recovery processing method an apparatus. Information for identifying whether a word should be recognized in the net recognition operation is stored in a recognition dictionary. This information is updated each time the recognized result is obtained in order to update the word for the next recognition making it possible to prevent an incorrect recognition from being repeated. An indication of whether each word can be entered repeatedly is stored as identification information in the recognition dictionary. When the recognised word is a word which cannot be entered repeatedly, the identification information of the word is updated. Voice recognition section of the device performs vocal sound recognition on voice input via the voice input section. The voice recognition section matches the digital voice signals held by the voice input section with the voice pattern for each word stored in the recognition dictionary and outputs information in the dictionary on the word having the highest similarity. If a recognition error is detected or if the same word is recognised twice although the word can not be repeated, the recognised word is marked non-usable. For example, if the command "switch on" is recognised although the device is already switched on, an error is indicated. After an incorrect recognition those numbers which already are correctly recognised are not indicated to the user. The patent application EP 0 307 193 discloses a telephone apparatus in which a call may be made in response to utterances of operators without manually dialling by means of speech recognition function. The speech recognition is performed by generating a speech pattern from the uttered speech signal and comparing it with stored speech patterns. That stored speech pattern which gives the smallest difference is selected to represent the uttered word if the difference is small enough. If the difference is within predetermined limit the respective word is the result of the speech recognition. Otherwise a recognition error is signalled. The recognition error signalling only indicates that the recognition was not successful. One purpose of the present invention is to eliminate the disadvantages mentioned above to a great extent and to provide dialling of a telephone number by voice commands as accurately as possible. The invention is based on the idea that when the user utters a telephone number, a part of the telephone number or an identification, after an incorrect recognition this recognition is marked incorrect by the recognizer unit, wherein when the user repeats said number sequence or identification, the recognizer unit will no longer offer the recognized incorrect alternative but the alternative which according to the calculation by the recognizer unit is next probable and which is not marked incorrect. Thus, the number of alternative combinations is reduced after each incorrect recognition, wherein the correct number sequence or identification is worked out at the latest when there is only one alternative left. The method according to the present invention is characterized in what will be presented in the characterizing part of the appended Claim 1. Further, the telecommunication terminal according to the present invention is characterized in what will be presented in the characterizing part of the appended Claim 4. The present invention gives significant advantages. Using the method of the invention, the operation of speech-controlled telecommunication terminals can be improved to a significant extent e.g. for the reason that the recognizer unit will not offer the same alternative again after an incorrect recognition. Also in disturbance conditions, the telecommunication terminal of the invention is more reliable than speech-controlled telecommunication terminals of prior art. Moreover, the method of the invention improves the operation of such telecommunication terminals in which the speech recognizer unit is not a so-called "trainable" recognizer unit but in which the recognition is based on an average speech pattern. In the following, the invention will be described in more detail with reference to the appended drawings, in which Fig. 1 is a reduced block diagram on a telecommunication terminal according to an advantageous embodiment of the invention, Fig. 2 is a table comparing the operation of the method according to the first advantageous embodiment of the invention and the operation of the method according to prior art, and Fig. 3 is a table comparing the operation of the method according to the second advantageous embodiment of the invention and the operation of the method according to prior art. The operation of the method according to the invention will be described in a speech-controlled telecommunication terminal of Fig. 1, in which the dialling of the telephone number by voice commands can be conducted by uttering the telephone number to be dialled either as a single number sequence or divided into two or more number strings. The telecommunication terminal 1 can be any telecommunication terminal, such as a landline telecommunication terminal or a wireless telecommunication terminal, e.g. a GSM mobile station. In this advantageous embodiment, the telecommunication terminal 1 comprises a user interface with a microphone 2a, a headphone 3a, a display 4, and a keypad 5. The electric signal generated by the microphone 2a is amplified in a microphone amplifier 6 and conducted in a voice command state to a recognizer unit 7. In a corresponding manner, the audio signals generated by the recognizer unit 7 are amplified in a headphone amplifier 13 and conducted to the headphone 3a. The recognizer unit 7 has a control unit 14 which is e.g. a digital signal processor DSP, a speech pattern memory 8 and a program memory 9. The speech pattern memory 8 is advantageously a non-volatile random access memory NVRAM. The program memory 9 is preferably a read-only memory (ROM) or a non-volatile random access memory. Further, the recognizer unit 7 has a random access memory (RAM) 10 for storing data during use of the device. It should also be mentioned that the speech pattern memory 8 and the program memory 9 can also be so-called FLASH memories, which is obvious to a man skilled in the art. Signals are transferred between the recognizer unit 7 and the telecommunication terminal 1 e.g. via a matching network 15 for buffering and amplifying signals when necessary. The speech user interface of the telecommunication terminal 1 of the invention is preferably a two-way user interface, i.e. the telecommunication terminal 1 can be given voice commands and the telecommunication terminal 1 can generate responses to the commands either by speech prompts and/or via a display unit 4. The speech prompts can be generated advantageously with a speech synthesizer 12 or by a digital signal processor DSP, wherein the speech prompts are stored in advance e.g. in the program memory 9 of the recognizer unit 7. The memory capacity required by the speech prompts can be reduced by storing the speech prompts using a speech coding method, known as such. Also, the telecommunication terminal 1 of Fig. 1 has a control unit 18 for controlling the operation of the telecommunication terminal, and a connecting part 11. The connecting part is one according to prior art, for connecting the telecommunication terminal 1 to a telecommunication network (not shown). The connecting part 11 is for example in a GSM mobile station a radio part comprising advantageously a transmitter TX, a receiver RX, an antenna switch SW, and an antenna ANT. The telecommunication terminal 1 of Fig. 1 can be used also as a conventional telecommunication terminal, wherein the dialling of the telephone number can be conducted by using the keypad 5. The microphone 2 and the headphone 3 can be for example the microphone 2b and headphone 3b of hands-free equipment 17, or the microphone 2a and headphone 3a of the telephone part. Switching the telecommunication terminal 1 to a mode for control by voice commands is conducted in a way known as such, for example by the menu functions of the telecommunication terminal 1, or in a way that the telecommunication terminal 1 is connected to hands-free equipment 17 with a switch 16 for activating the voice command mode. When the telecommunication terminal 1 is in the speech-controlled mode, audio signals are received via the microphone 2a or the auxiliary microphone 2b, amplified in the microphone amplifier 6 and conducted to the recognizer unit 7. On the basis of the audio signal received, the recognizer unit 7 calculates the corresponding one or several feature vectors which are processed by the recognizer unit 7 in order to find out which command or number was uttered by the user. This is conducted in a way known as such, for example by comparing the calculated feature vector with the speech patterns stored in the speech pattern memory 8. The speech pattern memory 8 contains also speech patterns corresponding to different commands. For each command to be recognized, the recognizer unit 7 generates advantageously several possible alternatives and their order of probability, wherein the first proposal is the alternative for which the recognizer unit 7 has calculated the greatest probability. The dialling of a telephone number is started for example by uttering the command "SELECT NUMBER". After this, the recognizer unit 7 generates the message "GIVE NUMBER" on the display or produces a corresponding sound message in the headphone 3a, 3b. An advantage of the sound message is that the user does not need to turn his/her eyes to the display means 4 which might be difficult in some situations. After this, the user utters the desired telephone number either as a single number sequence or as two or more number strings. As an example, the telephone number "1234567" is used, which is uttered by the user in three number strings: "12", "34" and "567". The user starts by uttering the number string "12". After this, the recognizer unit 7 makes a comparison to the data in the speech pattern memory and concludes for example that the user uttered the numeral string "98". The recognizer device 7 generates this recognized numeral string "98" to the display means 4 and/or as a sound message to the headphone 2a, 2b. The user notices that the dialling was incorrect, wherein the user utters in a manner known as such for example the command "ERROR". Following this, the recognizer unit 7 marks this number string incorrect, possibly repeats the number strings already recognized correctly (if any are yet recognized) as a sound message in the headphone 3 and/or as a text message on the display means 4, and remains waiting for the number string to be uttered again by the user. From this repetition of the correctly recognized part of the telephone number, the user can conclude that the recognizer unit recognized the "ERROR" command correctly, i.e. it is a kind of acknowledgement message to the user. After the user has uttered said number string again, the recognizer unit 7 makes a new recognition with the difference that it ignores the number string "98" which was found incorrect. Next, the recognizer unit 7 proposes a new number string. If the recognition is now correct, the user utters the next number string which is again recognized by the recognizer unit 7. If the recognition is again incorrect, the dialling is marked incorrect, the correctly recognized part of the telephone number is repeated, and a new recognition is made. Proceeding this way, the whole telephone number is finally correctly recognized for dialling. The dialling of the number is conducted for example by uttering the command "DIAL". After this, the operation is continued in a way known as such by calf set-up, which does not need to be discussed in more detail in this context. In an error situation, the recognizer unit 7 can also operate in a way that in response to the "ERROR" command or the like, the recognizer unit 7 generates the message "CORRECTION" and first after this repeats the correctly recognized number strings. In some situations, this "CORRECTION" message makes it easier for the user to notice that the recognizer unit 7 recognized the "ERROR" command correctly. It is possible that the user wishes to confirm before call set-up that the number recognized by the recognizer unit is really correct. This can be made by uttering e.g. the command "CONFIRM", after which the recognizer unit repeats the telephone number advantageously as a sound message and simultaneously also asks the user if he/she wishes to set up a call. If the number is correct and the user wishes to set up a call after this, he/she utters the command "DIAL", as described above. Otherwise a call will not be set up. Consequently, the recognizer unit 7 of the invention generates at least one dialling alternative for each number string uttered. The recognizer unit 7 can also operate in a way that it generates several alternative number strings for which it calculates a probability value. Thus the first selection is the number string with the highest probability value. If the selection is incorrect, the user may not necessarily need to repeat the number string but the user can utter the command "NEXT' instead, after which the recognizer unit 7 proposes the number string with the next highest probability value. If this is also incorrect, the next one is proposed again, and so on, until all the number strings for which a probability value has been calculated have been gone through, or until the correct number string has been found. If none of the number strings corresponds to the number string uttered by the user, the recognizer unit 7 will request the user to utter the number string again. In this case the recognizer unit 7 will no longer propose the number strings that were found incorrect in the previous phase. For implementing the method according to the invention, the data memory 10 of the recognizer unit 7 is provided for example with a table in which the recognizing values of an uttered number string will be stored. An advantageous example of this is shown in Table 1. Here the user has uttered the number string "12". The recognizer unit 7 has calculated the probability values for a few alternatives, the number string "98" having the highest probability value, the number string "92" having the next highest value, the number string "12" having the next highest value, and still one recognition being calculated for the number string "18". Moreover, the lines of the table contain the incorrect data, which at the beginning is 0 , i.e. there are no incorrect number strings known yet. After the recognizer unit 7 has proposed the number string "98" and the user has announced that it is incorrect, the recognizer unit 7 sets the error data on said line in another state, e.g. in the logical 1 state. Thus, when conducting the recognition again, the recognizer unit 7 will find that the error data of said line is 1 and will pass this line by moving on to the next line, which in this case is also incorrect. After the whole number string is recognized correctly (in this example the third alternative), the recognizer unit 7 will add this number string to the end of the number strings possibly recognized already, reset the content of the table to zero, and remain waiting for the next number string or, if the whole telephone number has already been recognized correctly, the recognizer unit 7 will move on to dialling the telephone number. Table 2 shows a situation in which the recognizer unit has found the correct number sequence. It is obvious that this table can be implemented in a number of various ways which are prior art known to a man skilled in the art. Recognition Error "98" 0 "92" 0 "12" 0 "18" 0 Recognition Error "98" 1 "92" 1 "12" 0 "18" 0 The invention can also be applied in such speech-controlled telecommunication terminals, in which the telephone number can be selected also by using identifications and/or sub-identifications. Thus the procedure corresponds in its general outline to the number selection presented above, wherein an identification corresponds to a telephone number and a sub-identification corresponds to a part of the telephone number, and the comparison is made on the basis of these identifications and possibly sub-identifications. The appended Figure 2 illustrates the operation of the method according to the first advantageous embodiment of the invention, as well as for comparison the operation of the method according to prior art in table form, wherein the left hand side 201 of the table 200 illustrates the method of the invention and the right hand side 202 of the table illustrates the method of prior art. The user intends to dial the telephone number "123456789" by uttering it in three number strings: "123", "456" and "789". The user columns 203, 205 contain the commands uttered by the user of the telecommunication terminal, and the recognizer unit columns 204, 206 contain the messages generated by the recognizer unit to the user, respectively. Further, the appended Figure 3 illustrates the operation of the method according to the second advantageous embodiment of the invention, as well as for comparison the operation of the method according to prior art in table form, wherein the left hand side 301 of the table 300 illustrates the method of the invention and the right hand side 302 of the table illustrates the method of prior art. The user columns 303, 305 contain the commands uttered by the user of the telecommunication terminal, and the recognizer unit columns 304, 306 contain the messages generated by the recognizer unit to the user, respectively. The invention is not limited solely to the embodiments presented above, but it can be modified within the scope of the appended claims.

Claims: Method for dialling a telephone number by voice commands, wherein the telephone number to be selected is uttered as a sequence of several number strings, each string comprising one or more digits and then recognized and presented, as recognized, for comparison with the number string that has been uttered, comprising the steps of: recognizing a number string of an uttered telephone number to be selected and presenting the number string that is recognized, marking an incorrectly recognized number string, that is presented, as incorrect, recognizing a re-utterance of the number string of the telephone number to be selected and presenting the recognized number string of the re-utterance, but not presenting a number string that is marked an incorrect, characterized in that after said marking of an incorrectly recognized number string, a sound message or a text message is generated from those number strings of the telephone number to be selected which have been recognized correctly. Method according to Claim 1, in which for each uttered number string, two or more recognition alternatives are generated, for which the probability values are calculated, characterized in that each recognition time, it is proposed to select the alternative which has the highest probability value and which is not marked incorrect. Method according to Claim 2, characterized in that after an incorrect recognition, it is proposed to select the alternative which has the next probability value of those recognition alternatives which are not marked incorrect. Telecommunication terminal (1) comprising: means (2a, 2b, 6, 7, 8) for dialling a telephone number by voice commands, which telephone number is arranged to be uttered as a sequence of several number strings, each string comprising one or more digits, means for recognizing an uttered telephone number to be selected, means (3, 4) for presenting the number string that is recognised for comparison with the number string that has been uttered, means (7, 10) for marking an incorrectly recognized number string incorrect, characterized in that the means (2a, 2b, 4) for presenting are adapted to generate, after said marking of an incorrectly recognized number string, a sound message or a text message from those number strings of the telephone number to be selected which have been recognized correctly. Telecommunication terminal (1) according to Claims 4, characterized in that an incorrect recognition is arranged to be announced to the recognizer unit (7) by a voice command. Telecommunication terminal (1) according to Claim 5, characterized in that it comprises means (3, 4) for generating an acknowledgement message from a speech command indicating an error recognition. Telecommunication terminal (1) according to any of the Claims 4 to 6, characterized in that it is a mobile station (1).

Inventors: LAURILA KARI, METTAELAE MARKKU, LAURILA, KARI, METTAELAE, MARKKU, Mettälä, Markku
Applicants: NOKIA CORP, NOKIA CORPORATION
Application year: 1998
Main classification: H04M1
IPC codes: H04M1, G10L15