# Patent

## Title
Tonal correction of speech

## Abstract

Tonal correction of speech is provided. Received speech is analyzed and compared to a table of commonly mispronounced phrases. These phrases are mapped to the phrase likely intended by the speaker. The phrase determines to be the phrase the user likely intended can be suggested to the user. If the user approves of the suggestion, tonal correction can be applied to the speech before that speech is delivered to a recipient.

## Background
FIELD
The present invention is directed to the correction of recordings of speech in tonal languages.
BACKGROUND
Languages such as Chinese, Thai, and Vietnamese are unique in that they are tonal languages. In a tonal language, each spoken syllable requires a particular pitch of voice in order to be regarded as intelligible and correct. For example, Mandarin Chinese has four tones, plus a “neutral” pitch. Cantonese Chinese has even more tones. These tones are described as “high, level,” high, rising” “low, dipping” and “high, falling” respectively, and may be noted as diacritical marks over Romanized versions of the Chinese sounds.
To mispronounce the tone is to miss the Chinese (or Thai or Vietnamese) word entirely. Therefore, in contrast to the English language, where pitch is used to a limited extent to indicate sentence meaning, for example to denote a question, Chinese uses tone as an integral feature of every word. Because of this, a tonal language spoken by a non-native speaker is often very hard for a native speaker to understand, because the tones are often mispronounced or misapplied.
SUMMARY
In accordance with embodiments of the present invention, a series of words comprising a phrase is analyzed using a speech recognition engine. In particular, the words comprising a phrase create a context in which the component words can be analyzed. From this context, mispronounced words or characters can be identified.
In addition, embodiments of the present invention provide for the correction of mispronounced characters. In particular, modification of recorded speech containing or including a mispronounced character is performed using tonal correction. Tonal correction can be applied before the recorded speech is sent to a recipient mailbox, or otherwise stored in anticipation of later playback. In accordance with further embodiments of the present invention, a user may be prompted to approve corrections before they are applied to the recorded speech.
In accordance with embodiments of the present invention, a database of commonly mispronounced phrases or characters may be referenced in connection with verifying the pronunciation of characters within recorded speech. That is, phrases containing commonly mispronounced characters that, as a result of the mispronunciation have a nonsensical meaning or a meaning that is unlikely to be intended by the speaker, may be mapped to a phrase that is likely the intended phrase. Accordingly, even phrases that include mispronunciations that are in the form of an incorrect application of a common tone can be detected and corrected.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram of a communication system in accordance with embodiments of the present invention;
FIG. 2 is a block diagram of components of a communication or computing device or of a server in accordance with embodiments of the present invention;
FIG. 3 is a flowchart depicting aspects of a process for the tonal correction of speech in accordance with embodiments of the present invention; and
FIG. 4 depicts example Chinese characters that differ from one another in tone and the Romanized versions of the corresponding sounds indicated by those characters.



DETAILED DESCRIPTION
In accordance with embodiments of the present invention, recorded speech containing one or more mispronunciations can be tonally corrected before that speech is delivered to a recipient mailbox or otherwise stored for later use.
With reference now to FIG. 1, components of a communication system 100 in connection with embodiments of the present invention are illustrated. In particular, a communication system with a number of communication or computing devices 104 may be interconnected to one another through a communication network 108. In addition, a communication system 100 may include or be associated with one or more communication servers 112 and/or switches 116.
As examples, a communication or computing device 104 may comprise a conventional wireline or wireless telephone, an Internet protocol (IP) telephone, a networked computer, a personal digital assistant (PDA), or any other device capable of transmitting or receiving speech. In accordance with embodiments of the present invention, a communication or computing device 104 may also have the capability of analyzing and recording speech provided by a user for possible tonal correction. Alternatively or in addition, functions such as the analysis and/or storage of speech collected using communication or computing device 104 may be performed by a server 112 or other entity.
A server 112 in accordance with embodiments of the present invention may comprise a communication server or other computer that functions to provide services to client devices. Examples of servers 112 include PBX, voice mail, or servers deployed on a network for the specific purpose of providing tonal correction to speech as described herein. Accordingly, a server 112 may operate to perform communication service and/or connectivity functions. In addition, a server 112 may perform some or all of the processing and/or storage functions in connection with the tonal correction of speech of the present invention.
The communication network 108 may comprise a converged network for transmitting voice and data between associated devices 104 and/or servers 112. Furthermore, it should be appreciated that the communication network 108 need not be limited to any particular type of network. Accordingly, the communication network 108 may comprise a wireline or wireless Ethernet network, the Internet, a private intranet, a private branch exchange (PBX), the public switched telephony network (PSTN), a cellular or other wireless telephony network, or any other network capable of transmitting data, including voice data. In addition, it can be appreciated that the communication network 108 need not be limited to any one network type, and instead may be comprised of a number of different networks and/or network types.
With reference now to FIG. 2, components of a communications or computing device 104 or of a server 112 implementing some or all of the tonal connection features described herein in accordance with embodiments of the present invention are depicted in block diagram form. The components may include a processor 204 capable of executing program instructions. Accordingly, the processor 204 may include any general purpose programmable processor, digital signal processor (DSP) or controller for executing application programming. Alternatively, the processor 204 may comprise a specially configured application specific integrated circuit (ASIC). The processor 204 generally functions to run programming code implementing various functions performed by the communication device 104 or server 112, including tonal correction operations as described herein.
A communication device 104 or server 112 may additionally include memory 208 for use in connection with the execution of programming by the processor 204 and for the temporary or long term storage of data or program instructions. The memory 208 may comprise solid state memory resident, removable or remote in nature, such as DRAM and SDRAM. Where the processor 204 comprises a controller, the memory 208 may be integral to the processor 204.
In addition, the communication device 104 or server 112 may include one or more user inputs or means for receiving user input 212 and one or more user outputs or means for outputting 216. Examples of user inputs 212 include keyboards, keypads, touch screens, touch pads and microphones. Examples of user outputs 216 include speakers, display screens (including touch screen displays) and indicator lights. Furthermore, it can be appreciated by one of skill in the art that the user input 212 may be combined or operated in conjunction with a user output 216. An example of such an integrated user input 212 and user output 216 is a touch screen display that can both present visual information to a user and receive input selections from a user.
A communication device 104 or server 112 may also include data storage 220 for the storage of application programming and/or data. In addition, operating system software 224 may be stored in the data storage 220. The data storage 220 may comprise, for example, a magnetic storage device, a solid state storage device, an optical storage device, a logic circuit, or any combination of such devices. It should further be appreciated that the programs and data that may be maintained in the data storage 220 can comprise software, firmware or hardware logic, depending on the particular implementation of the data storage 220.
Examples of applications that may be stored in the data storage 220 include a tonal correction application 228. The tonal correction application 228 may incorporate or operate in cooperation with a speech recognition application and/or a text to speech application. In addition, the data storage 220 may contain a table or database of commonly mispronounced phrases and/or characters 232. The table or database 232 may additionally include associations between commonly mispronounced phrases and/or characters and phrases and/or characters that are usually intended. Accordingly, the database 232 may comprise means for storing associations between phrases having similar pronunciations but that include words associated with different tones. As described herein, a tonal correction application 228 and table of phrases or characters 232 may be integrated with one another, and/or operate in cooperation with one another. Furthermore, the tonal correction application may comprise means for comparing received phrases to phrases in the database 232 and means for altering a tone of a word included in a received phrase. The data storage 220 may also contain application programming and data used in connection with the performance of other functions of the communication device 104 or server 112. For example, in connection with a communication device 104 such as a telephone or IP telephone, the data storage may include communication application software. As another example, a communication device 104 such as a personal digital assistant (PDA) or a general purpose computer may include a word processing application in the data storage 220. Furthermore, according to embodiments of the present invention, a voice mail or other application may also be included in the data storage 220.
A communication device 104 or server 112 may also include one or more communication network interfaces 236. Examples of communication network interfaces 236 include a network interface card, a modem, a wireline telephony port, a serial or parallel data port, or other wireline or wireless communication network interface.
With reference now to FIG. 3, aspects of the operation of a communications device 104 or server 112 providing tonal correction of words or characters in accordance with embodiments of the present invention are illustrated. Initially, at step 300, speech comprising a phrase that includes at least two words is received from the user and is stored, at least temporarily. For example, the received speech may consist of a phrase including a number of words corresponding to a number of Chinese characters that is stored in memory 208 or data storage 220 provided as part of a communication device 104 or server 112. The speech is then recognized, for example, in connection with the operation of a speech recognition application provided as part of a tonal correction application 228 (step 304). That is, the words comprising the phrase pronounced by the user are recognized. The database or table 232 may then be scanned for commonly mispronounced phrases 308. A determination may then be made as to whether the received speech corresponds to a commonly mispronounced phrase (step 312). If the received speech is found to match or otherwise correspond to a commonly mispronounced phrase included in the database 232, the user may be alerted of a possible mispronunciation, and provided with a suggested substitute (step 316). In accordance with embodiments of the present invention, commonly mispronounced phrases are mapped in the database 232 to one or more phrases that may be provided as suggested substitutions. The alert and suggested substitute may be communicated to a user output 216 or a combination of user outputs 216. For example, an alert signal and suggested substitute may be provided to the user as speech output through a speaker at the location of the user. As a further example, an alert signal and/or suggested substitution may be provided to the user through a user output 216 comprising a visual display. Furthermore, some or all of the output comprising a suggested substitute may be in a language that is different than the language of the provided speech containing the mispronounced phrase. For example, the suggested substitute may be communicated to the user in the user's native language, in textual or oral form. As can be appreciated by one of skill in the art after consideration of the present description, oral output may be generated by a text to speech application, engine or function running on a communication or computing device 104 or server 112 that receives text from the tonal correction application 228 and/or database 232.
At step 320, a determination may be made as to whether the user has approved of the suggested substitute. For example, the user may signal assent to a suggested substitute by providing a confirmation signal through a user input 212 device. Such input may be in the form of pressing a designated key, voicing a reference number or other identifier associated with a suggested substitute and/or clicking in an area of the display corresponding to a suggested substitute. Furthermore, assent to a suggested substitution can comprise a selection by a user of one of a number of potential substitutions that have been identified by the tonal correction application 228.
If approval or confirmation of a suggested substitution is received, tonal correction to the user's original speech is applied (step 324). In accordance with embodiments of the present invention, tonal correction may be applied through digital manipulation of the recorded speech. For example, as known to one of skill in the art, speech may be encoded using vocal tract models, such as linear predictive coding. For a general discussion of the operation of vocal tract models, see Speech digitization and compression, by Michaelis, P. R., available in the International Encyclopedia of Ergonomics and Human Factors, pp. 683-685, W. Warkowski (Ed.), London: Taylor and Francis, 2001, the entire disclosure of which is hereby incorporated by reference herein. In general, these techniques use mathematical models of the human speech production mechanism. Accordingly, many of the variables in the models actually correspond to the different physical structures within the human vocal tract that vary while a person is speaking. In a typical implementation, the encoding mechanism breaks voice streams into individual short duration frames. The audio content of these frames is analyzed to extract parameters that “control” components of the vocal tract model. The individual variables that are determined by this process include the overall amplitude of the frame and its fundamental pitch. The overall amplitude and fundamental pitch are the components of the model that have the greatest influence on the tonal contours of speech, and are extracted separately from the parameters that govern the spectral filtering, which is what makes the speech understandable and the speaker identifiable. Tonal corrections in accordance with embodiments of the present invention may therefore be performed by applying the appropriate delta to the erroneous amplitude and pitch parameters detected in the speech. Because changes are made to the amplitude and pitch parameters, but not to the spectral filtering parameters, the corrected voice stream will still generally be recognizable as being the original speaker's voice. The corrected speech may then be sent to the recipient address (step 328). For example, where the speech is received in connection with leaving a voice mail message for the recipient, sending the speech may comprise releasing the corrected speech to the recipient address.
If at step 312 it is determined that the received speech does not correspond to a commonly mispronounced phrase, then the speech provided by the user either comprises correctly pronounced words and phrases, or it includes mispronunciations that result in non-sensical or unlikely meanings that are not reflected in the database 232. Accordingly, if the received speech is not found to match one of the commonly mispronounced phrases included in the database 232, the speech is sent to the recipient address at step 328 without having first undergone tonal correction. Likewise, if a user does not approve of a suggested tonal correction, the recorded speech may be sent to the recipient address at step 328 without tonal correction. After a message has been released to a recipient address, the process ends.
In accordance with embodiments of the present invention, various components of a system capable of performing tonal correction of speech can be distributed. For example, a communication device 104 comprising a telephony endpoint may operate to receive speech and command input from a user, and deliver output to the user, but may not perform any processing. According to such an embodiment, processing of received speech to determine whether a match with a commonly mispronounced phrase can be found is performed by a server 112. In accordance with still other embodiments of the present invention, the tonal correction functions may be performed entirely within a single device. For example, a communication device 104 with suitable processing power may analyze the speech, suggest correction, and apply approved correction. According to these other embodiments, when the communication device 104 releases the speech to the recipient, that speech may be delivered to, for example, the recipients answering machine or to a voice mailbox associated with a server 112.
To further illustrate operation of embodiments of the present invention, and with reference now to FIG. 4, four different Chinese characters and the Romanized versions of the corresponding Chinese sounds are illustrated. These characters are the Mandarin Chinese equivalents of the words “mother” “sesame” “horse” and “to scold.” Furthermore, the character corresponding to “mother” is pronounced with a high, level tone; the character corresponding to the word “sesame” is pronounced with a high, rising tone; the character corresponding to the word “horse” is pronounced with a low, dipping tone; and the character corresponding to “to scold” is pronounced with a high, falling tone. Because of the subtle differences, at least to non-native Chinese speakers, between the pronunciations of these four characters, mispronunciations between them are common. However, even if the speech input by a user applies an incorrect tone, or a particular tone cannot be identified, the intended meaning can be inferred from the context in which it is applied. Accordingly, the database 332 may contain the phrases: ride scold; ride sesame; and ride mother. Each of these phrases is mapped by the database 332 to the correct phrase “ride horse.” The phrase “ride horse” may then be suggested to the user. If accepted, the speech provided by the user is corrected so that the word “horse” (pronounced roughly as “ma”) has the correct low, dipping tone. By recognizing provided speech comprising a phrase and scanning a database for the recognized phrase, the meaning (and therefore the pronunciation) likely intended by the user can be identified.
In accordance with embodiments of the present invention, tonal correction as described herein may be applied in connection with real-time, near real-time, or off-line applications, depending on the processing power and other capabilities of communication devices 104 and/or servers 112 used in connection with the application of the tonal correction functions. In addition, although certain examples described herein have related to voice mail applications, embodiments of the present invention are not so limited. For instance, tonal corrections as described herein can be applied to any recorded speech and even speech delivered to a recipient at close to real time. Furthermore, although certain examples provided herein have discussed the use of tonal correction in connection with the Chinese language, it can be applied to other tonal languages, such as Thai and Vietnamese.
The foregoing discussion of the invention has been presented for purposes of illustration and description. Further, the description is not intended to limit the invention to the form disclosed herein. Consequently, variations and modifications commensurate with the above teachings, within the skill or knowledge of the relevant art, are within the scope of the present invention. The embodiments described hereinabove are further intended to explain the best mode presently known of practicing the invention and to enable others skilled in the art to utilize the invention in such or in other embodiments and with the various modifications required by their particular application or use of the invention. It is intended that the appended claims be construed to include alternative embodiments to the extent permitted by the prior art.

## Claims

1. A method for correction of recorded speech, comprising:
a communication device receiving a speech from a user, wherein the received speech includes at least two words;
a processor identifying at least a first received phrase in the received speech, wherein the identifying includes recognizing the at least two words of the first received phrase;
the processor comparing the first received phrase to a plurality of stored phrases, wherein the comparing includes scanning the plurality of stored phrases to match the first received phrase to a phrase included in the plurality of stored phrases, wherein the plurality stored phrases includes commonly mispronounced phrases, and wherein each of the commonly mispronounced phrases is mapped to at least one suggested phrase that includes at least two words, wherein the meanings of the commonly mispronounced phrases and of the at least one suggested phrase in each mapped pair is different;
the processor matching the first received phrase to at least a first one of the plurality of stored phrases comprising a commonly mispronounced phrase;
the processor determining from the matching that a second one of the plurality of stored phrases is likely an intended phrase based on likelihood of mispronunciation of the stored phrase, wherein the first one of the plurality of stored phrases is a commonly mispronounced phrase that is mapped to the second one of the plurality of stored phrases;
the processor suggesting by the communication device the second one of the plurality of stored phrases to the user as a first suggested substitute phrase, wherein a first word of the two words of the first received phrase is included in the first suggested substitute phrase, wherein a second word of the two words of the first received phrase is not included in the first suggested substitute phrase, wherein the first suggested substitute phrase is not provided to the user prior to the receiving speech from the user at the communication device; and
the processor automatically altering the first received phrase to correspond to the first suggested substitute phrase, wherein in automatically altering the first received phrase the processor corrects a tonal characteristic of at least a portion of the first received phrase.

2. The method of claim 1, further comprising:
receiving a confirmation signal from the user indicating that the second one of the plurality of stored phrases is the intended phrase;
in response to receiving the confirmation signal, altering the first received phrase to correspond to the second one of the plurality of stored phrases.

3. The method of claim 2, wherein the first received phrase is encoded using a vocal tract model comprising linear predictive coding.

4. The method of claim 2, wherein the altering the first received phrase comprises changing at least one of an amplitude and a pitch parameter of at least a portion of the first received phrase.

5. The method of claim 4, wherein spectral filtering parameters of the at least a portion of the first received phrase are not changed by the altering.

6. The method of claim 2, further comprising:
after the altering the first received phrase, releasing the first received phrase for delivery to a recipient mailbox.

7. The method of claim 2, wherein the altering the first received phrase includes changing a tone associated with at least one word of the first received phrase.

8. The method of claim 1, wherein the first received phrase and the second one of the plurality of stored phrases differ from one another in that a word of the first received phrase and a word of the second one of the plurality of stored phrases are associated with a different tone.

9. The method of claim 1, further comprising:
suggesting a number of the stored phrases to the user, wherein the number of stored phrases includes the second one of the plurality of stored phrases.

10. The method of claim 1, wherein the speech received from the user first received phrase is in a first language, and wherein the suggested second one of the plurality of stored phrases is presented to the user in a second language.

11. The method of claim 10, wherein the second one of the plurality of stored phrases is presented to the user by a text to speech application.

12. The method of claim 1, wherein a word included in the first received phrase is pronounced such that a tone associated with the pronunciation is indeterminate, and wherein the matching the first received phrase to at least a first one of the plurality of stored phrases comprises identifying at least a first one of the plurality of stored phrases that include the word associated with a first tone.

13. The method of claim 12, wherein the matching further comprises identifying a second one of the plurality of stored phrases that include the word associated with a second tone.

14. A system for the tonal correction of speech, comprising:
a user input, operable to receive speech;
a memory, wherein the memory contains a database of stored phrases, wherein the database of stored phrases includes commonly mispronounced phrases that are mapped to suggested substitute phrases;
a processor in communication with the user input and the memory, wherein in response to receipt of speech from a user from the user input, and wherein the speech comprises at least a first received phrase that includes at least two words, the processor operable to:
compare the first received phrase to at least a first stored phrase included in the database of stored phrases;
match the first received phrase to the first stored phrase, wherein the first stored phrase is mapped to a first suggested phrase; and
alter a first word in the first received phrase to match a second word in the first suggested phrase, wherein after altering the first word the first suggested phrase is identical to the first received phrase, wherein the alteration of a tone of the first word forms the second word that is different than the first word, wherein the first stored phrase is not provided to the user by the system prior to the receipt of speech by the system, and wherein the second word is output by the system.

15. The system of claim 14, wherein the first received phrase is digitized according to a vocal tract model, and wherein the alteration of a tone of the first word included in the first received phrase includes changing at least one of an amplitude and a pitch parameter of the first word.

16. The system of claim 14, further comprising:
a communication interface interconnected to the processor;
a communication network interconnected to the communication interface and to a plurality of addresses, wherein an altered first phrase is released for delivery to a recipient address.

17. The system of claim 16, further comprising:
a user output, wherein the first altered phrase has a meaning corresponding to the first suggested phrase, and wherein the first suggested phrase is presented to the user through the user output for approval, and wherein in response to confirmation from the user that the first suggested phrase is approved the first altered phrase is formed and is released for delivery to the recipient address.

18. The system of claim 17, wherein the user output includes a speaker, and wherein the first suggested phrase is presented to the user as speech.

19. The system of claim 16, further comprising:
a user output, wherein the first stored phrase is mapped to a number of suggested phrases, wherein the number of suggested phrases are presented to the user through the user output, wherein in response to user input comprising a selection of one of the suggested phrases the first altered phrase is formed, and wherein the first altered phrase corresponds to the selected one of the suggested phrases.

20. The system of claim 17, wherein the speech comprising at least a first received phrase is in a first language and wherein the first suggested phrase is presented to the user in a second language.

21. A system for correcting tonal speech, comprising:
means for receiving speech as input;
means for storing, wherein a plurality of stored phrases are stored in the means for storing, wherein the plurality of stored phrases include a plurality of commonly mispronounced phrases, wherein each commonly mispronounced phrase is mapped to a suggested substitute phrase, wherein each phrase includes at least two words;
means for comparing a first received phrase included in input speech to phrases included in the means for storing, wherein the first received phrase is matched to a first commonly mispronounced phrase included in the plurality of stored phrases, and wherein the first commonly mispronounced phrase is mapped to a first suggested substitute phrase;
means for altering a tone of at least a first word included in the first received phrase without further input by a user, wherein a meaning of the first received phrase is changed to correspond to a meaning of an associated phrase comprising the first suggested substitute phrase, wherein the first suggested substitute phrase is not provided to the user prior to receiving the first received phrase from the user, and wherein the first suggested substitute phrase is output.

22. The system of claim 21, further comprising:
means for outputting at least the first suggested substitute phrase to the user.

23. The system of claim 22, wherein altering a tone of at least at first word in the first received phrase creates an altered first received phrase, the system further comprising:
means for delivering the altered first received phrase to a recipient address in response to input from the user approving of the altered first received phrase.

24. The method of claim 1, wherein the second word of the first received phrase differs only in tone from a second word of the first suggested substitute phrase, and wherein the first received phrase is non-sensical.