1. Field of the Invention
The present invention relates generally to speech recognition and text-to-speech (TTS) synthesis technology in telecommunication systems. More particularly, the present invention relates to predicting tone pattern information for textual information used in telecommunication systems.
2. Description of the Related Art
This section is intended to provide a background or context to the invention that is recited in the claims. The description herein may include concepts that could be pursued, but are not necessarily ones that have been previously conceived or pursued. Therefore, unless otherwise indicated herein, what is described in this section is not prior art to the claims in this application and is not admitted to be prior art by inclusion in this section.
Voice can be used for input and output with mobile communication terminals. For example, speech recognition and text-to-speech (TTS) synthesis technology utilize voice for input and output with mobile terminals. Such technologies are particularly useful for disabled persons or when the mobile terminal user cannot easily use his or her hands. These technologies can also give vocal feedback such that the user does not have to look at the device.
Tone is crucial for Chinese (e.g., Mandarin, Cantonese, and other dialects) and other languages. Tone is mainly characterized by the shape of its fundamental frequency (F0) contour. For example, as illustrated in
Text-to-speech in tonal languages like Chinese are challenging because usually there is no tonal information available in the textual representation. Still, tonal information is crucial for understanding. Tone combinations of neighboring syllables can form certain tone patterns. Further, tone can significantly affect speech perception. For example, tone information is crucial to Chinese speech output. In English, an incorrect inflection of a sentence can render the sentence difficult to understand. In Chinese, an incorrect intonation of a single word can completely change it's meaning.
In many cases, tone information of syllables is not available. For example, Chinese phone users can have names in a phone directory (“contact names”) in PINYIN format. PINYIN is a system for transliterating Chinese ideograms into the Roman alphabet, officially adopted by the People's Republic of China in 1979. The PINYIN format used for the contact name may not include tonal information. It can be impossible to get tone information directly from the contact name itself. Without tone or with the incorrect tone, generated speech from text is in poor quality and can completely change the meaning of the text.
U.S. patent application 2002/0152067, which is assigned to the same assignee as the present application, discloses a method where the pronunciation model for a name or a word can be obtained from a server residing in the network. However, this patent application only describes a solution involving pronunciation. Use of tonal information is not included or suggested. As indicated above, significant meanings can be lost without tonal information.
International patent application WO 3065349 discloses adding tonal information to text-to-speech generation to improve understandability of the speech. The technique described by this patent application utilizes an analysis of the context of the sentence. Tone is identified based on the context of other in which the word is located. However, such context is not always available, particularly with communication systems such as mobile phones, nor does context always provide the clues needed to generate tonal information.
Thus, there is a need to predict tone patterns for a sequence of syllables without depending on the context. Further, there is a need to predict tone patterns to properly identify names used as contacts for a mobile device. Even further, there is a need to synthesize contact names in communication terminals when tone information is not available. Still further, there is a need to generate tonal information from text for languages like Chinese where tonal information is vital for communication and comprehension.
In general, the invention relates to generating tonal information from a textual entry and, further, applying this tonal information to PINYIN sequences using decision trees. At least one exemplary embodiment relates to a method of predicting tone pattern information for textual information used in computer systems. The method includes parsing a textual entry into segments and identifying tonal information for the textual entry using the parsed segments. The tonal information can be generated with a decision tree. The method can also be implemented in a distributed system where the conversion is done at a back-end server and the information is sent to a communication device after a request.
Another exemplary embodiment relates to a device that predicts tone pattern information for textual information based on the textual information and not the context of the textual information. The device includes a processing module and a memory. The processing module executes programmed instructions and the memory contains programmed instructions to parse a textual entry into segments and identify tonal information for the textual entry using the parsed segments.
Another exemplary embodiment relates to a system that predicts tone pattern information for textual information based on the textual information and not the context of the textual information. The system includes a terminal equipment device having one or more textual entries stored thereon and a processing module that parses textual entries into segments and identifies tonal information for the textual entries using the parsed segments.
Another exemplary embodiment relates to a computer program product having computer code that parses a textual entry into segments and identifies tonal information for the textual entry using the parsed segments.
Communication system 10 includes a terminal equipment (TE) device 12, an access point (AP) 14, a server 16, and a network 18. The TE device 12 can include memory (MEM), a central processing unit (CPU), a user interface (UI), and an input-output interface (I/O). The memory can include non-volatile memory for storing applications that control the CPU and random access memory for data processing. A speech synthesis (SS) module, such as a text-to-speech (TTS) module, can be implemented by executing in the CPU programmed instructions stored in the memory. A speech recognition (SR) module can be implemented by executing in the CPU programmed instructions stored in the memory. The I/O interface can include a network interface card of a wireless local area network, such as one of the cards based on the IEEE 802.11 standards.
The TE device 12 can be connected to the network 18 (e.g., a local area network (LAN), the Internet, a phone network) via the access point 14 and further to the server 16. The TE device 12 can also communicate directly with the server 16, for instance using a cable, infrared, or a data transmission at radio frequencies. The server 16 can provide various processing functions for the TE device 12. The server 16 can provide back-end processing services for the TE device 12.
The TE device 12 can be any portable electronic device, in which speech recognition or speech synthesis is performed, for example a personal digital assistant (PDA) device, remote controller or a combination of an earpiece and a microphone. The TE device 12 can be a supplementary device used by a computer or a mobile station, in which case the data transmission to the server 16 can be arranged via a computer or a mobile station. In an exemplary embodiment, the TE device 12 is a mobile station communicating with a public land mobile network, to which also the server S is functionally connected. The TE device 12 connected to the network 18 includes mobile station functionality for communicating with the network 18 wirelessly. The network 18 can be any known wireless network, for instance a network supporting the GSM service, a network supporting the GPRS (General Packet Radio Service), or a third generation mobile network, such the UMTS (Universal Mobile Telecommunications System) network according to the 3GPP (3rd Generation Partnership Project) standard. The functionality of the server 16 can also be implemented in the mobile network. The TE device 16 can be a mobile phone used for speaking only, or it can also contain PDA (Personal Digital Assistant) functionality.
The TE device 12 can utilize tone pattern information, which is used to decide tone of no-tone PINYIN sequence, or other sequences that do not have tonal information but where tonal information is important. The TE device 12 can acquire such information via the network 18, or can be acquired offline before it is used. Tone patterns can be captured from a database, and then saved in a certain model as pre-knowledge. The model could be a classification and regression tree (CART) tree or neural network and other structure. In an alternative embodiment, the server 16 estimates tonal information and communicates the tonal information attached to the text to the TE device 12.
In an operation 22, a database and design feature set is collected. Preferably, the database contains main features of tone pattern in application domain. For example, to collect database for Chinese name feedback, the name list should be large enough, all Chinese surname and frequently used given names should be included. Different length names should be also taken into consideration. Based on a feature set, all feature are calculated for each entry in database.
Referring again to
A decision tree such as the CART structure 40 can be used to generate suitable tones for a sequence of input syllables. The decision tree is trained on an tagged database. A decision tree is composed of nodes that are linked together as illustrated in
Movement from a node to a child node is based on the values of the attribute specified in the node. When the decision tree is used for retrieving the tone that corresponds to the syllable in a certain context, the search starts at the root node. The tree is climbed until a leaf is found. The tone that corresponds to the syllable in the given context is stored in the leaf.
When a decision tree is trained from a tagged database, all the training cases are considered. A training case is composed of the syllable and tone context and the corresponding tone in the tagged database. During training, the decision tree is grown and the nodes of the decision tree are split into child nodes according to an information theoretic optimization criterion. The splitting continues until the optimization criterion cannot be further improved.
In training, the root node of the tree is split first. In order to split the node into child nodes, an attribute has to be chosen. All the different attributes are tested and the one that maximizes the optimization criterion is chosen. Information gain is used as the optimization criterion. In order to compute the information gain of a split, the tone distribution before splitting the root node has to be known. Based on the tone distribution in the root node, the entropy E is computed according to:
where fi is the relative frequency of occurrence for the ith tone, and N is the number of tones. Based on the syllable and tone contexts, the training cases in the root node are split into subsets according to the possible attributes. For an attribute, the entropy after the split, ES, is computed as the average entropy of the entropies of the subsets. If EjS denotes the entropy of the subset j after the split, the average entropy after the split is:
where |S| is the total number of training cases in the root node, |Sj| is the number of training cases in the jth subset, and K is the number of subsets. The information gain for an attribute is given by:
G=E−ES
The information gain is computed for each attribute, and the attribute that has the highest information gain is selected. The splitting of the nodes in the tree is repeated for the child nodes. The training cases belonging to each child node are further split into subsets according to the different attributes. For each child node, the attribute that has the highest information gain is selected. The splitting of the nodes in the tree continues while the information gain is greater than zero and the entropies of the nodes can be improved by splitting. In addition to the information gain, the splitting is controlled by a second condition. A node can be split only if there are at least two child nodes that will have at least a preset minimum number of training cases after the split. If the information gain is zero or the second condition is not met, the node is not split.
Referring again to
Referring now to
In an operation 54, the processing unit parses the individual syllables. Tone information is obtained or estimated based on the parsed text in an operation 56. For example, tone pattern information contained in a feature set can provide information from which the processing unit identifies corresponding tones. The feature set can be embodied in a CART structure such as CART structure 40 described with reference to
While several embodiments of the invention have been described, it is to be understood that modifications and changes will occur to those skilled in the art to which the invention pertains. For example, although Chinese is used as an example language requiring tonal information, the system is not limited to operation with a particular language. Accordingly, the claims appended to this specification are intended to define the invention precisely.