WO2008064137A2 - Predictive speech-to-text input - Google Patents

Predictive speech-to-text input Download PDF

Info

Publication number
WO2008064137A2
WO2008064137A2 PCT/US2007/085031 US2007085031W WO2008064137A2 WO 2008064137 A2 WO2008064137 A2 WO 2008064137A2 US 2007085031 W US2007085031 W US 2007085031W WO 2008064137 A2 WO2008064137 A2 WO 2008064137A2
Authority
WO
WIPO (PCT)
Prior art keywords
text
lexicon
user
word
block
Prior art date
Application number
PCT/US2007/085031
Other languages
French (fr)
Other versions
WO2008064137A3 (en
Inventor
Ashwin P. Rao
Original Assignee
Rao Ashwin P
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Rao Ashwin P filed Critical Rao Ashwin P
Priority claimed from US11/941,910 external-priority patent/US7904298B2/en
Publication of WO2008064137A2 publication Critical patent/WO2008064137A2/en
Publication of WO2008064137A3 publication Critical patent/WO2008064137A3/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/226Procedures used during a speech recognition process, e.g. man-machine dialogue using non-speech characteristics
    • G10L2015/228Procedures used during a speech recognition process, e.g. man-machine dialogue using non-speech characteristics of application context

Definitions

  • the invention relates to electronic data input. More specifically, the invention relates to predictive text input and speech recognition.
  • Text Input technologies have many practical mobile applications that include text-messaging (short messaging service or SMS, multimedia messaging service or MMS, email, instant messaging or IM), wireless internet browsing, wireless content search, and mobile personal information management. A brief background on text input technologies is provided next.
  • Text prediction methods may be broadly classified into three categories: (a) prediction based on unambiguous partial-spelling of the text, also referred to as word- completion, (b) prediction based on ambiguous partial-spelling of text, and (c) prediction based on ambiguous full-spelling of text.
  • Prediction based on unambiguous partial-spelling of the text Word completion techniques are typically employed on devices which have some form of a keyboard (examples include mobile devices with a mini-qwerty keyboard as in Blackberry; word- editors running on personal computers, laptops and tablet PCs; personal digital assistants with soft-keys and/or hand-writing recognition software). In these devices, the presence of individual distinct buttons for all characters implies unambiguous input of letters. Obviously, the word completion techniques attempt to predict the word based on partially entered letters corresponding to the spelling of the text; thereby attempting to increase the overall speed of text input.
  • Prediction based on ambiguous full-spelling of text Companies like Tegic-T9, Motorola-iTap, ZiCorp-EZiText, Eatoni, and others have introduced variants of predictive text input processs for the 9-digit telephone keypad. These methods use the initial typed letters (which are ambiguous because a single key-press may imply any of 3-4 letters) to generate a possible combination sequence, followed by a search against a lexicon of words, to predict the word; which is then displayed onto the mobile-device screen.
  • Tegic-T9 recently introduced an XT9 enhancement which attempts to predict text (a word and/or even the next word) based on ambiguous partial-spelling of that text. This may be viewed as a combination of ambiguous full-spelling based prediction and unambiguous partial- spelling based prediction described above.
  • this technology also addresses scenarios wherein users mistype keys on devices having distinct keys. The keys, although distinct, are very small and hence it is likely that a wrong neighboring key gets pressed giving rise to ambiguous inputs.
  • Speech-to-Text systems attempt to convert spoken text into text with the hope that a user could simply speak an entire sentence and the device could type the same.
  • This technology also referred to as "continuous speech recognition"
  • This technology has made several advances over the past five decades. Unfortunately, its performance is not satisfactory for wide commercial usage.
  • This invention is directed to a system and method for speech-to-text prediction of spoken text. It implements speech recognition by dynamically reducing a large lexicon into smaller search lexicon networks (SLs) to significantly improve recognition accuracies and speeds; by dynamically switching the SLs which results in an efficient and practically realizable system; by storing a copy of the spoken utterance or the text's equivalent acoustic representation for successive predictions and error-corrections, noting that the SLs result in increased recognition accuracies and speed of speech recognition for successive predictions and error-corrections.
  • SLs search lexicon networks
  • the invention (a) takes as input the speech waveform corresponding to the spoken text (word or a sentence), (b) takes as input the initial letters corresponding to the spelling of that text (inputted by a user using the key-pad or keyboard or pen/stylus or Speech) and, (c) dynamically reduces the size of the active lexicon based on the initial letters provided, (d) searches that reduced lexicon (the Search Lexicon or SL) for the best matching text (perhaps using standard acoustic pattern matching techniques or a dual-pass technique), (e) returns the predicted text to the user interface, and (f) continues the loop from step (b) until the correct word appears and/or the user selects to go to next word.
  • Figure 1 is a conceptual overview of a system for predictive speech-to-text
  • Figure 2 A illustrates one embodiment of the system described in Figure 1 implemented in a Type-and- Speak Mode
  • Figure 2B illustrates another embodiment of the system described in Figure 1 implemented in a Speak-and-Type Mode
  • Figure 2C illustrates another embodiment of the system described in Figure 1 implemented in a Type-and- Speak Mode with Error Correction
  • Figure 2D illustrates another embodiment of the system described in Figure 1 implemented in another Type-and-Speak Mode with Error Correction
  • Figure 3 A illustrates another embodiment of the system in Figure 1 that uses Voice-Control-Mode
  • Figure 3B illustrates an example of the embodiment shown in Figure 3 A
  • Figure 3 C illustrates one embodiment of a process for implementing the example illustrated in Figure 3B;
  • Figure 4 A illustrates one embodiment of the system in Figure 1 that uses Auto- Mode
  • Figure 4B illustrates an example of the embodiment described in Figure 4 A
  • Figure 5 A illustrates another embodiment of the system shown in Figure 1 implemented in Manual Control Mode
  • Figure 5B illustrates an example of the embodiment shown in Figure 5 A
  • Figure 5 C illustrates another embodiment of the system shown in Figure 1 implemented in Speak-and-Type Mode
  • Figure 5D illustrates an example of the embodiment shown in Figure 5C
  • Figure 6A illustrates a process for generating a Pre-Compiled Search Network
  • Figure 6B illustrates an example of the process shown in Figure 6A
  • Figure 7A illustrates a process for Searching using Pre-Compiled Search
  • Figure 7B illustrates an example of a Search Dictionary for use in the process illustrated in Figure 7A
  • Figure 7C illustrates an example of a Search Word-Graph for the example Search
  • Figure 8A illustrates an example produced with the system for Multiple- Recognition and Processing and Error-Correction for a word
  • Figure 8B illustrates another example produced with the system for Multiple- Recognition and Processing and Error-Correction for a word
  • Figure 8C illustrates two examples produced with the system for Multiple- Recognition and Processing and Error-Correction for a command
  • Figure 8D illustrates an example produced with the system for Multiple- Recognition and Processing and Error-Correction for a phrase
  • Figure 8E illustrates another example produced with the system for Multiple-
  • Figure 8F illustrates another example produced with the system for Multiple- Recognition and Processing and Error-Correction for a phrase
  • Figure 9A illustrates a process for Adding New Words
  • Figure 9B illustrates a process for Searching with New Words using word recognition
  • Figure 9C illustrates a process for Searching with New Words using phoneme recognition
  • Figure 9D illustrates a process for Searching using Statistical Language Model
  • Figure 10 illustrates one example of "text-messaging" that uses a hands-free interface
  • Figure 11 illustrates an example of inputting partial spellings for the system illustrated in Figure 1 ;
  • Figure 12 illustrates an example of "text-messaging" using a multimodal interface
  • Figure 13 illustrates an example of performing a Music Download
  • Figures 14A-14E illustrate another example of one embodiment
  • Figure 15A illustrates an example of a user-interface used for SMS Dictation implementing one embodiment
  • Figure 15B illustrates another example of a user-interface for SMS Dictation implementing one embodiment
  • Figure 16 is a block diagram representing a computing device in the form of a general purpose computer system with which embodiments of the present invention may be implemented.
  • a typical speech recognition system (also referred to as an Automatic Speech Recognizer or ASR) operates by accessing audio data through a microphone/soundcard combination, processing the audio data using a front-end signal processing module to generate feature- vectors, and subsequently doing pattern-matching in a search module using knowledge from acoustic-model(s) and language-model(s).
  • the system itself may exist as software or may be implemented on a computing device such as a conventional embedded system; and thus may include memory (ROM, RAM etc.), storage, processors (fixed-point, floating-point etc.), interface ports, and other hardware components.
  • multimodal input A general discussion of "multimodal input” may be helpful before discussing the embodiments in detail.
  • multimodal input the idea is to use Speech in conjunction with the keyboard/keypad. For instance, a user could simply "Press Keys to input B” and speak “BEAUTIFUL” and the word “BEAUTIFUL” is displayed on the screen. As another example, a user could speak “Britney Spears” and then type “B R I” to play a song by Britney Spears.
  • multimodal methods have serious limitations: (a) their accuracies are unsatisfactory, (b) they are not practical to implement on mobile hardware platforms, and (c) they are not fast enough. Hence, there is not a single multimodal input method for text entry in existence in today's mobile devices.
  • FIG. 1 a conceptual overview of a system 100 for predictive speech-to-text is shown.
  • the system is implemented as an overall speech recognition system for predicting text using partial spelling of that text.
  • the text is provided to the system using a plurality of input methods (hence the multimodal nature of the embodiment).
  • the system 100 accepts input from a keypad input 101 and other forms of input 102.
  • the keypad input 101 include any form of keypad, such as a common 9 or 12 button telephone keypad.
  • Examples of the other forms of input 102 include speech, additional keypads, soft-keys, handwriting recognition, Qwerty keyboard, soft-keyboard, or the like.
  • the system 100 includes a sub-system for reducing the active lexicon 105.
  • the system to reduce the active lexicon 105 may operate in voice control mode 107, manual control mode 109, or may be an automatic mode 111 wherein the system reduces the active lexicon as soon as a user inputs the letters using the keypad input 101 or other input 102.
  • voice control mode 107 the system 100 recognizes that input recognition is being requested based on a spoken command, such as by a user speaking a known command like "predict.”
  • manual control mode 109 the system 100 recognizes that recognition is being requested based on a keypress, such as a special purpose button (e.g, a camera button on a mobile phone) or a soft-key.
  • a pre-compiled search module 113 includes pre-compiled search networks for use in recognizing speech.
  • the pre-compiled search networks each include a subset of words from the total word library.
  • the subset search networks include text beginning with a pre-determined initial letter- combination(s). For example, different pre-compiled search networks may exist that each include the speech recognition data for those words that begin with a particular letter, such as one network for "A", another network for "B", another network for "C”, etc.
  • pre-compiled search networks may be used for those words that begin with particular letter combinations, such as "AA”, “AB”, “AC”, “BA”, “BZ”, etc.
  • the sub-set search networks are pre-compiled to eliminate computation during run-time.
  • One process for building these pre-compiled search networks is illustrated in Figure 6, and described below.
  • the search networks can be compiled real-time 115, using variations of the process illustrated in Figure 6.
  • a particular pre-compiled search network is activated 117 based on the letter(s) being received from the keypad input 101.
  • the pre-compiled search network 113 corresponding to words beginning with "A” (which may be named "A.DAT" is activated 117.
  • A.DAT the pre-compiled search network 113 corresponding to words beginning with "A” (which may be named "A.DAT" is activated 117.
  • a keypad button may be associated with more than a single character.
  • the same button on a keypad may be associated with all three of the letters A and B and C. In such a case, a single key press may result in activating three precompiled search networks 113.
  • the ASR system 121 includes code to compare spoken text to the active search network.
  • the ASR system 121 includes language and acoustic facilities for comparing a spoken utterance with known speech data in order to identify the inputted spoken utterance.
  • the system 100 operates by (a) receiving typed letters that correspond to the spelling of the text being recognized, (b) pre-determining a mode (which could be Auto or Voice-Control-Mode or Manual-Control-Mode, noting that a keypad may be replaced by any other manual input method) to activate a module for reducing the overall system lexicon, (c) based on the determined mode, reducing the system lexicon into a small active lexicon (where lexicon implies a set of words and their phonetic descriptions) containing words beginning with the typed letters obtained in step (a) by either building a pre-compiled sub-set search network or by activating the recognition system with a pre-compiled sub-set search network, (d) activating a language model (sometimes referred to as "grammar” or "statistical language model”) with the active lexicon search network along with other
  • the system may be easily extended to account for the fact that spoken "C” may be mis-recognized by an ASR system to be "D” or “E” or “G” or “P” or “T” and so on; in that case the pre-compiled sub-set search networks (example C.dat) may correspond to all sub-set words beginning with C, D, E, G, P, T.
  • ambiguous input may be addressed by combining words with all or most possible ambiguous letters into a single pre-compiled network.
  • word mentioned in the previous section may be replaced by any word or more generally any phrase or any text in any language, without deviating from the general logic of the system in Figure 1.
  • Figures 2A and 2B embodiments of the operating of the system shown in Figure 1 are illustrated.
  • a type-and-speak mode meaning that the user begins typing letters and then speaks an utterance to be identified.
  • the user begins partial spelling input using the keypad or other input mechanism (block 201).
  • the system uses the keypad- provided text to reduce the system lexicon to an active reduced lexicon (block 205).
  • the user begins speaking an utterance (speech input) that corresponds to the text to be predicted (block 203). That speech input is passed to the ASR engine, together with the active reduced lexicon, for processing (block 207).
  • the ASR engine compares the speech input to the reduced lexicon that was identified from the keypad input, and outputs the result.
  • the result could be the actual recognized word or phrase, or it could be a list of best-matching results (called N-best) that includes a grouping of words that are most likely correct.
  • Figure 2B another embodiment is implemented that uses a speak-and-type mode, meaning that the user begins speaking and then begins typing letters.
  • the embodiment illustrated in Figure 2B operates in a similar fashion to the embodiment illustrated in Figure 2 A, with the exception that in Figure 2B, the user begins speaking first (block 202) and then begins typing text (block 204). Accordingly, the speech input is stored in the ASR engine (block 208) when received and is not processed until after an active reduced lexicon is identified from the typed input (block 206).
  • the embodiments could use a traditional phoneme-recognizer 212 as opposed to a word-recognizer.
  • phoneme recognition with large system vocabularies (of the order of 1000 to 10,000 and more words/phrases), the inaccuracies would result in inaccurate selection of candidates from the system vocabulary.
  • the preferred approach is to reduce the lexicon based on the partial-spelling obtained as described in Figure 1 to an active lexicon which is relatively small (500-1000 compared with 5000-10000). This not only increases recognition accuracies but also results in a practical real-time system, especially for implementation on devices with small form factors.
  • Figures 2C and 2D add error-correction to the embodiments shown in Figures 2A and 2B respectively.
  • the result of the ASR engine is displayed along with the N-best choices (block 220). If the user inputs an additional letter (block 222), then the system can either use that additional letter to further reduce the active lexicon (block 224) and re-recognize, or to process the N-best list if the user's further input does not invalidate the N-best list.
  • the choice between reducing SLs and processing NBest depends on the actual application under consideration. For instance, for an sms-dictation application handling about 25,000 words, there are very few words existing in the four letter combination SLs; hence it is preferred to process NBest after 3 letters for this application.
  • Speech input is received as a speech utterance that includes both a control command and a "word" (block 301).
  • the ASR engine detects the speech input and stores the uttered "word” for later recognition (block 303). If the control command is detected, recognition begins (block 305).
  • the user begins inputting text using a manual text entry mechanism, such as a keypad (block 306).
  • the manual text entry is used to reduce the active lexicon (block 307). With the active lexicon reduced, the ASR performs the recognition operations to identify the "word” (block 309).
  • the first pass ASR is primarily looking for a control command (like "Predict” or “Complete” or any other control command) based on which it activates the module for lexicon reduction; those skilled in art will recognize that typically there may be other commands or grammars that the ASR system is processing (for instance for inserting symbols, or contacts, or sending message commands, or help commands or for simply rejecting background noise etc) and hence the requirement for having a control command; if Prediction of Text is the only problem being addressed then there is no need for a control command because the word itself may act as a control command.
  • a control command like "Predict” or “Complete” or any other control command
  • a second ASR system uses this reduced lexicon along with the utterance to be recognized and yields the desired predicted word.
  • Figure 3A assumes the user would say the control command and the word in a single utterance and the second ASR system uses the waveform/features corresponding to this utterance (assuming utterance detection is done and/or other forms of utterance alignment to control-command and word are done) for prediction.
  • Figure 3B A specific example of this system for the word "MEETING" is shown in Figure 3B.
  • the user utters the phrase "predict meeting” (block 313).
  • the ASR engine identifies the control command "predict” in the utterance (block 315).
  • ⁇ Junk> is a typical word-spotting grammar employed to detect just about any text.
  • the ASR engine may then immediately begin attempting to recognize the word "meeting” while it awaits user manual input (block 317).
  • the active lexicon is continuously reduced to only those words that begin with the letters "me” (block 321).
  • the ASR engine performs the recognition using the reduced active lexicon network to identify the word "meeting” (block 323).
  • the ASR engine returns the result (block 325).
  • FIG 3 C a detailed description of the process underlying the system in Figure 3A/3B is described.
  • the user speaks the control command plus some word to be recognized (block 327).
  • the ASR engine detects the control command and stores the utterance to be recognized (block 329). Note that the speech input may include multiple control commands. If the output is in fact the word "predict”, then the process ends (block 331). However, if the output is not the word "predict", then the ASR engine is activated using the active lexicon reduced based on the user's manual input (blocks 333 and 335). Using the reduced active lexicon network, the ASR engine performs recognition on the word from the original speech utterance (block 337). The ASR engine returns the results (block 339).
  • control word is the expected control word (Predict in this example)
  • second ASR module is activated with the reduced lexicon (for simplicity this is not shown in detail; it's the same as obtained in Figure 3A) and the output of the Search is returned in the form of a best- scoring hypothesis and a list of alternate hypothesis; this list would include the text that the user intended to predict by speaking.
  • Figure 4A shows an embodiment of the system in Figure 1 implemented using
  • FIG. 4B A specific example for this is illustrated in Figure 4B.
  • the user begins typing the characters "ME” (block 409).
  • the system activates the reduced lexicon that is associated with the combination of letters "ME” (block 411).
  • the ASR engine begins comparing the utterance to the ME reduced lexicon (block 413). Because the number of possible options is drastically reduced in the active lexicon, the ASR engine can more quickly and accurately identify the proper word and return the result (block 415).
  • FIG. 5A-5D An alternative approach that uses a Manual-Control-Mode is shown in Figures 5A-5D.
  • the reduced lexicon module is initiated only on receiving a control signal just like in the system illustrated in Figure 3.
  • a manual control signal method is adopted.
  • a user may simply press a button (for instance the Volume button or the Microphone ON/Off button or Tap onto a keypad button and other variants like tap onto the screen of a PDA etc) and initiate the Lexicon reduction module.
  • This system is simpler than the one with VCN; it uses only one ASR module. However, it may require the user to do an additional "manual step" especially in the Type-and- Speak mode.
  • the user begins partial spelling input using the keypad (block 501). Either that particular input, or a special button, is used to manually indicate that text recognition is being requested (block 503) and the user provides speech input. Accordingly, the input provided by the user is used to reduce the active lexicon (block 505), and the ASR engine begins to perform the recognition of the speech input using the active reduced lexicon network (block 507). The results are returned (block 509).
  • Figure 5B illustrates a specific example.
  • the user begins typing the characters "M” and "E” (block 511).
  • the user then presses the control button to indicate that speech is being provided (block 513) and begins speaking the word "meeting”.
  • the Appropriate reduced lexicon is activated based on the user's keypad inputs, resulting in the lexicon associated with words beginning with the letters M and E being activated (block 515).
  • the ASR engine identifies the word "meeting” by comparing the speech utterance to the ME lexicon (block 517), and returns the results (block 519).
  • Figure 5C illustrates an example of the manual control mode implemented using speak-and-type.
  • the process illustrated in Figure 5C is similar to the process illustrated in Figure 5 A, except that the user first presses the manual control and speaks (block 521) and then begins to type characters (block 523). The balance of the process occurs similar to that illustrated in Figure 5A.
  • Figure 5D illustrates a specific example.
  • the user initiates the process by keying the manual control signal, such as a button (block 530), and provides the spoken utterance "meeting".
  • the user then begins entering text the characters "M” and "E” using the keypad (block 532).
  • the system activates the lexicon associated with the characters "ME” (block 534), and the ASR engine begins its recognition process (block 536).
  • the resulting word "meeting” is returned (block 538).
  • the choice of any of the three methods depends on user preferences, hardware limitations, application limitations etc.
  • Figure 6 A illustrates the case where a lexicon is being created based on a single letter being known
  • Figure 6B illustrates the case where a lexicon is being created based on a given combination of two (or more) characters.
  • the process begins by initializing a variable "i" to some initial value, such as the letter "A" (block 601). Words from the base system lexicon that begin with the letter represented by "i” are added to a text file having a name of i.TXT, where the letter "i" represents the currently selected letter value (e.g., "A” currently) (block 603).
  • pronunciations are generated for each of the words identified in "i.txt” (block 605).
  • the system then generates grammar for the words in “i.txt” and compiles the result as a "pre-compiled search network” named, in this instance, i.dat, where again the "i" represents the currently selected letter.
  • the variable "i” is incremented to the next possible value, e.g., the next letter in the alphabet sequence, and the process repeats (block 609).
  • the process runs again and continues to repeat until a different pre-compiled search network has been created for every possible value of "i".
  • the words from 3 -letter lists may be moved into 2-letter lists and subsequently to 1 -letter lists and finally to a list that does not require any letter input, meaning pure speech-to- text; and vice-versa.
  • the word "consequence” was included in the con.dat search network because its unigram count for English language is low and a user begins using the word “consequence”, then “consequence” may be moved to co.dat and further up to c.dat and so on and finally be the word in the main recognition pass.
  • "although” is word in a.dat and not being used then it could be moved to al.dat and alt.dat and so on.
  • a combination of longer and more frequent words may be grouped together and using the so-called confusion matrix (well-known in speech recognition) the top 200 words may be selected.
  • the disclosed embodiments dubbed as "Predictive Speech-to-Text", may be generally studied under a new framework for multimodal speech recognition. For instance in traditional speech-to- text (commonly referred to as Dictation) systems the acoustic network is compiled on- the-fly as a user speaks.
  • a statistical language model is cached which essentially dictates the possible phoneme combinations within the acoustic network
  • the maximum-likelihood probability is computed using a combination of acoustic scores (calculated using dynamic programming as in Viterbi Search) and the language model scores, and (c) only hypothesis falling within a so-called "Beam" are kept active in the dynamic acoustic network.
  • One of several different modeling techniques including hidden markov modeling, artificial neural networks, hybrid networks, support vector machines etc are employed for acoustic modeling and search. This same methodology may be extended with the addition of multimodal inputs from a user.
  • the multimodal inputs in the form of letters corresponding to the spelling of text may be viewed as an additional language model (in this case deterministic-ambiguous or deterministic-unambiguous) and the speech-to-text theoretical framework may be extended by incorporating this additional information of the spelling of the text.
  • Figures 7A-7C details of methods for searching using pre-compiled searches are described.
  • An example of recognizing the word "MEETING" is considered.
  • the associated search network file is selected (block 703). This may be done using a hash- table-lookup or any one of several available programming techniques. Additionally, although this look-up should be done at run-time, the actual initialization of the ASR engine may be done at the application launch and/or when the device (for instance a mobile device) boots up. Notice that as more letters forming the word's spelling are provided by the user, the better the accuracy of the system.
  • N-Best processing may be performed in these instances (block 705).
  • the alternative choice list (referred to as N-Best) output by using ME.DAT is post- processed (block 707). This is to reduce memory requirements.
  • Figures 7B and 7C Some specific examples of the search dictionary and the search network are shown in Figures 7B and 7C.
  • Figure 7B illustrates an example of a Search Dictionary for use in the process illustrated in Figure 7A.
  • Figure 7C illustrates an example of a Search Word-Graph for the example Search Dictionary shown in Figure 7B. In practice this is replaced by the phoneme-graph based on the pronunciation of the words.
  • a grammar network may be reduced based on root-pronunciations and/or root-endings, the word's spelling may be incorporated within the grammar (for increasing accuracy on short words), dynamic grammars may be used with additional scoring penalties based on letters inputted etc.
  • the user speaks the word “meeting” in combination with typing the letter "M” on a keypad (block 801).
  • the ASR engine begins performing a search using a reduced lexicon network based on words that begin with the letter "M” (block 803), thus creating an N-best list of likely candidate results (block 805).
  • the first candidate result in the word "Mating”, which is displayed together with other choices (block 807).
  • the user keys in another letter, "E", which is added to the previous input string to form “ME” (block 809).
  • the N-best list is processed to identify words that begin with the letters "ME” (block 811), and a new N-best list is created (block 813).
  • the user's choices are updated to reflect a new best choice of "messing", together with other choices (block 815).
  • the user keys in yet another letter, "E” again, which is added to the existing string to form “MEE” (block 817).
  • the current N-best list is processed to identify only words that begin with the string "MEE” (block 819), and a new N-best list is created (block 821).
  • the user's current choices, including best guess of "Meet" is displayed (block 823).
  • the user keys in still more letters, "T” and "I”, which is added to the existing string to form “MEETI” (block 825).
  • the current N-best list is processed to identify only words that begin with the string "MEETI” (block 827). At this point, there may only be a single word on the N-best list, and accordingly the user's only choice of "Meeting” is displayed (block 829).
  • Figure 8B illustrates a similar example as illustrated in Figure 8A, except that in this example, the user's original utterance is stored by the ASR engine for further processing and correction of errors.
  • the reduced lexicon networks are employed for successive iterations, till no more precompiled networks exist, at which point the system resprts to NBest processing as in Figure 8 A. Note that the system can learn over time and improve its accuracy.
  • Figure 8C illustrates two examples of performing a "voice-dialing" operation using embodiments.
  • the user speaks "John Smith" in a voice dial mode, and the ASR engine begins performing a search of the names that could match that utterance (block 833).
  • the ASR engine builds an N-best list based on its search (block 835). Based on the N-best list, the system displays the most likely choice of "Jone Adams" together with other choices (block 837). The user begins to input, using the keypad, the letters of the desired name starting with the letter "J", which indicates that "Jone Adams" is not the correct selection (block 839). In this example, the ASR engine processes the N-best list to eliminate names that do not begin with the letter "J". As the user had not previously entered any text, the ASR engine did not have a reduced lexicon to search and the accuracy of the initial results may have been poor, especially if the user's contacts list is long. However, after the user begins entering text, the N-best list can be searched to identify other choices that begin with the letter "J". As shown in the second example, the user may also begin entering text manually
  • Figure 8D illustrates an example of recognizing a spoken phrase.
  • the user speaks the phrase "how are you” and also begins to key in the phrase (block 851) beginning with the letter "H".
  • the system activates a precompiled reduced lexicon for words or phrases that begin with the letter "H” (block 853).
  • the ASR engine creates an N-best list (block 855) based on that lexicon, and displays the initial best guess (block 857) with other choices.
  • the user keys in the next letter of the phrase "O" (block 859), and the ASR engine processes the N-best list to eliminate any entries that do not begin with the string "HO" (block 861).
  • a new N-best list is created (block 863), and the new best guess and other choices are displayed (block 865). These operations repeat (blocks 867-873) until the user keys the letter "A" of the phrase (block 875), at which point the ASR engine identifies the accurate phrase (blocks 877-879).
  • Figure 8E illustrates another example that is similar to the example illustrated in Figure 8D, with the exception that the user's spoken utterance is stored for further processing and correction of errors (block 881). In this way, the system can improve its recognition accuracy and speed especially when handling large number of phrases.
  • Figure 8F illustrates yet another example similar to the example illustrated in Figure 8D, with the exception that instead of serially keying in the letters of the phrase to be recognized from first to last, this example performs recognition by attempting to identify a phrase when the user keys in only the first letter of each word of the phrase.
  • the user speaks the phrase "How Are You Doing”, and also begins keying the letters "H" (block 883), "A” (block 885), "Y” and “D” (block 887), which correspond to the first letters of each word in the phrase.
  • the system first activates the reduced lexicon associated with only phrases that begin with the letter "H" (block 889), and then improve the list of choices by eliminating phrases that do not include words with the appropriate initial letters. This technique greatly improves the ability to quickly recognize whole phrases.
  • Figures 9A-9D a process is described that addresses new text addition. This can be especially useful when the system shown in Figure 1 is not able to recognize/predict text.
  • the text may not be recognizable primarily because the text (example Word) is either not in the system's overall lexicon (this may occur frequently for proper names, short forms, unknown phrases etc) or for some reason the pronunciation of that text (as stored in the ASR system lexicon) is inaccurate.
  • a method for creating a dynamic database for new words is shown in Figure 9A.
  • a new word may be tracked when the user initiates a new-word command (using manual key or voice-command) or when user enters a space (the # key in some cellular devices) or any such input.
  • a database for instance an ASCII/binary file
  • a system may update the existing system lexicon or sub-set lexicon or their respective grammar networks (block 907); or create a separate data-structure for the new words (block 905).
  • adding a new word to the existing lexicon could be achieved using standard ASR system programming interface calls. However, this may not be practically realizable given the memory and processing speed constraints of the devices.
  • Figure 9A also describes another method based on creating a second data-structure. This may be done by storing all new user-added words into a single data- structure (for instance new- word, dat) and/or by storing them into multiple sub-set data- structures (similar to the sub-set lexicons created in Figure 1).
  • the later may be done, for example, by associating a different file name as in ME_New.dat as opposed to ME. dat or by setting a flag in a single data structure. Having created an entry for this new-word, when the user tries to predict this same word next time (by Speaking) then the system is able to do so.
  • Figure 9B One process for addressing this is illustrated in Figure 9B.
  • the ASR engine may search both the existing search networks in parallel with the new word search network (block 913).
  • the ASR engine would simply search the same search networks as before (block 915).
  • Figure 9C Another embodiment is illustrated in Figure 9C which uses a hybrid approach of word and phoneme recognition.
  • phoneme recognition is performed in parallel (or in subsequence) using standard phoneme-recognition techniques (block 919).
  • the best word resulting from the former is also included in the phoneme recognition.
  • Dynamic Programming techniques standard in ASR systems
  • the best matching hypothesis are then ordered in a new N-best which is subsequently passed to the user-interface (block 923).
  • the best scoring word by recognizing using ME.dat, and its pronunciation is first added to ME_NEW.dat; next dynamic-programming is used for scoring the phoneme string recognized when user said MENALICO against all the phoneme strings in ME_NEW.dat.
  • the words associated with the best scoring candidates are then returned to user-interface.
  • Figure 9D illustrates a process for searching using a statistical language model.
  • an n-gram count is created based on frequency of word-usage (computed using external text corpus or based on frequency of usage of words by a user) (block 925).
  • the n-gram count is stored in a suitable data structure for faster access during runtime and to minimize memory and processing requirements (block 927).
  • the methods described above e.g., figures 1-9D
  • recognition scores are computed using ASR language modeling techniques, combining acoustic scores and n-gram count (block 929).
  • FIG. 10-15 several examples of real-world implementations are shown in Figures 10-15 and described here. Recall that in standard predictive text input systems, a user enters letters until the desired word is predicted and displayed by the system. Many variants of user-interface exist for correcting errors (left-arrow key, delete button, moving cursor to the location etc), displaying alternative choices (pop-up menu window, choice window at bottom, bubble windows etc). These embodiments may be implemented with a similar user-interface (illustrated in Figures 10-15), except that speech is additionally employed to enable the system to predict with fewer letters thereby reducing the number of key-presses.
  • Figure 10 illustrates two examples of entering text on a mobile phone 1000, such as an ordinary cellular telephone.
  • the mobile phone 1000 is configured with an implementation of the predictive speech-to-text systems described at length above.
  • the mobile phone 1000 is configured to accept text input using the ordinary "triple-tap" method, wherein a button is keyed a number of times equal to the position of the desired letter in a three-letter sequence.
  • the mobile phone 1000 also includes a microphone 1002 for audible input.
  • a user desires to input the phrase "call home”. Accordingly, using the conventional triple-tap method (illustration on the left), the user would enter every letter of the text using the keypad 1004.
  • the user would type the following button combination 222 ("C"), 2 ("A"), 555("L”), 555("L”), 44("H"), 666("O"), 6("M”), and 33("E”).
  • the user may likely have to wait a brief pause between each letter for the mobile phone 1000 to recognize a letter. This method is very common, but requires a significant amount of time.
  • the user could also speak the word "call” into the microphone 1002, and begin typing (either using triple-tap or not) the first letters of the word.
  • the mobile phone 1000 then applies speech-recognition techniques to identify the spoken word "call", knowing that the first letter of the word is "C". Accordingly, accuracy is very high.
  • the user would then speak the next word “home” and type the first letter(s) of that word.
  • the user could speak the entire phrase "call home” and begin entering either the first letters of the first word, or the first letters of each word in the phrase.
  • Figure 11 illustrates another example in which the user desires to input the word "meeting".
  • the user could key in the letters "M” and “E” using the tripple-tap method, or some other predictive text input method, and then speak the work “meeting” using a push-to-talk control command, such as a special button on the phone 1000.
  • the user could speak the letters "MN EF” using voice-tap (which refers to an earlier invention by the inventors), and then speak the phrase “predict meeting", where the first word “predict” is a control command to indicate that the phone should attempt to predict the word "meeting”.
  • Figure 12 illustrates another example where the user desires to enter the word "meeting".
  • the user could simply triple-tap the entire word by entering the key combination 6-33-[pause]-33-8-444-66-4 to spell the word unambiguously.
  • the user could triple-tap the letters "M” and "E” (key combination 6-33) and then speak the word "meeting”.
  • FIG 13 illustrates another example where the user desires to identify a particular song to play, a Britney Spears song.
  • the mobile phone 1000 may be in a user mode that is prompting the user to identify a song from a library of songs on the mobile phone 1000. Those songs could, in this example, be indexed by artist.
  • the user could triple-tap 22-777-444 (B-R-I), which may be sufficient to identify the only song in the library by an artist whose name begins with the letters B-R-I.
  • the user may speak the name "Britney Spears" and the song title "Oops I did it again", and type in the first letter of the target phrase (key combination 22).
  • Figures 14A-14E illustrate the use of the above- described systems to send an SMS message to a recipient using an interface on the mobile phone.
  • Figure 14A illustrates what the interface could look like when the software application is turned on or launched.
  • the user could begin speaking into the "TO" window or type a mobile number or insert a contact name using the menu soft-key.
  • Figure 14B if the user speaks "Greg Simon", an N-best choice list is displayed. The user could next press the "CALL" button or speak "begin voicedial” to place a call to Greg Simon. Alternatively, the user would press the down-arrow-key or say “begin message” to go to a message window.
  • the user could also select "Aaron Smothers" from the N-best list by simply selecting choice 2 using the right-arrow-key or by saying "Select Choice 2".
  • user could have typed in “G” in the "To” window and said "Greg Simon”...other variations may be envisioned.
  • Figure 14C the user speaks “what can i say” or presses the "menu” softkey and the "help” softkey to get a help window.
  • a help window for hands free mode is displayed in Figure 14C.
  • Figure 14E the user types "a”; says “am”; types “d”; says “driving”; says “period”.
  • the resulting output from the system is displayed as "am driving.”
  • Figure 14-E is one example of a custom settings dialog that could be presented if the user enters a settings tab in menu.
  • Figures 15A and 15B illustrate yet another example of text input using the predictive speech-to-text systems described above. To achieve the text input displayed in Figure 15 A, the user could perform the following steps:
  • SPEAKS SPACE 8. SPEAKS: AM DRIVING
  • This invention has broad applications. It may be used in any application that requires text entry on any hardware and/or software including personal computers, mobile devices, embedded system and other computing machines. Using this invention, users may input the partial spelling of a text and simply speak that text to input that text into any desired application. Some well-known applications include text messaging, music download and/or playback on devices, mobile or automobile navigation, mobile internet search, calendar entry, contact entry etc.
  • FIG. 16 is a functional block diagram of a sample mobile device 1601 that may be configured for use in certain implementations of the disclosed embodiments or other embodiments.
  • the mobile device 1601 may be any handheld computing device and not just a cellular phone.
  • the mobile device 1601 could also be a mobile messaging device, a personal digital assistant, a portable music player, a global positioning satellite (GPS) device, or the like.
  • GPS global positioning satellite
  • the mobile device 1601 includes a processor unit 1604, a memory
  • the processor unit 1604 advantageously includes a microprocessor or a special-purpose processor such as a digital signal processor (DSP), but may in the alternative be any conventional form of processor, controller, microcontroller, state machine, or the like.
  • DSP digital signal processor
  • the processor unit 1604 is coupled to the memory 1606, which is advantageously implemented as RAM memory holding software instructions that are executed by the processor unit 1604.
  • the software instructions stored in the memory 1606 include a display manager 1611, a runtime environment or operating system 1610, and one or more other applications 1612.
  • the memory 1606 may be on-board RAM, or the processor unit 1604 and the memory 1606 could collectively reside in an ASIC. In an alternate embodiment, the memory 1606 could be composed of firmware or flash memory.
  • the storage medium 1613 may be implemented as any nonvolatile memory, such as ROM memory, flash memory, or a magnetic disk drive, just to name a few.
  • the storage medium 1613 could also be implemented as a combination of those or other technologies, such as a magnetic disk drive with cache (RAM) memory, or the like.
  • the storage medium 1613 is used to store data during periods when the mobile device 1601 is powered off or without power.
  • the storage medium 1613 could be used to store contact information, images, call announcements such as ringtones, and the like.
  • the mobile device 1601 also includes a communications module 1621 that enables bi-directional communication between the mobile device 1601 and one or more other computing devices.
  • the communications module 1621 may include components to enable RF or other wireless communications, such as a cellular telephone network, Bluetooth connection, wireless local area network, or perhaps a wireless wide area network.
  • the communications module 1621 may include components to enable land line or hard wired network communications, such as an Ethernet connection, RJ-I l connection, universal serial bus connection, IEEE 1394 (Firewire) connection, or the like. These are intended as non-exhaustive lists and many other alternatives are possible.
  • the audio unit 1631 is a component of the mobile device 1601 that is configured to convert signals between analog and digital format.
  • the audio unit 1631 is used by the mobile device 1601 to output sound using a speaker 1632 and to receive input signals from a microphone 1633.
  • the speaker 1632 could also be used to announce incoming calls.
  • a display 1630 is used to output data or information in a graphical form.
  • the display could be any form of display technology, such as LCD, LED, OLED, or the like.
  • the input mechanism 1632 may be any keypad-style input mechanism. Alternatively, the input mechanism 1632 could be incorporated with the display 1630, such as the case with a touch-sensitive display device. Other alternatives too numerous to mention are also possible.

Abstract

This disclosure describes a practical system/method for predicting spoken text (105) given that text's partial spelling (example, initial characters forming the spelling of a word/sentence). The partial spelling may be given using 'Speech' (107) or may be inputted using the keyboard/keypad (101) or may be obtained using other input methods (102). The disclosed system is an alternative method for inputting text into devices; the method is faster (especially for long words or phrases) compared to existing predictive-text-input and/or word-completion methods.

Description

PREDICTIVE SPEECH-TO-TEXT INPUT
CROSS-REFERENCE TO RELATED APPLICATIONS
This patent application claims priority to U.S. Provisional Patent Application Number 60/859,689, entitled "Predictive Speech-To-Text Using Partial Spellings of Text", by Ashwin Rao, filed November 17, 2006, and to U.S. Provisional Patent Application Number 60/XXX,XXX, entitled "System and Method for Predictive Speech- to-Text Input", by Ashwin Rao, filed October 19, 2007, both of which are incorporated herein by reference.
FIELD OF THE INVENTION
The invention relates to electronic data input. More specifically, the invention relates to predictive text input and speech recognition.
BACKGROUND OF THE INVENTION
One problem of entering text into devices having small form factors (like cellular phones, personal digital assistants (PDAs), and others like the RIM-Blackberry and Apple-iPod) has existed for a while now. This problem is of specific importance because these devices, given their form-factors, lack a full-size keyboard (found in desktop computers or laptops) and hence inputting text using the alternative input methods is painful and slow. Text Input technologies have many practical mobile applications that include text-messaging (short messaging service or SMS, multimedia messaging service or MMS, email, instant messaging or IM), wireless internet browsing, wireless content search, and mobile personal information management. A brief background on text input technologies is provided next.
Text prediction methods may be broadly classified into three categories: (a) prediction based on unambiguous partial-spelling of the text, also referred to as word- completion, (b) prediction based on ambiguous partial-spelling of text, and (c) prediction based on ambiguous full-spelling of text. Prediction based on unambiguous partial-spelling of the text: Word completion techniques are typically employed on devices which have some form of a keyboard (examples include mobile devices with a mini-qwerty keyboard as in Blackberry; word- editors running on personal computers, laptops and tablet PCs; personal digital assistants with soft-keys and/or hand-writing recognition software). In these devices, the presence of individual distinct buttons for all characters implies unambiguous input of letters. Obviously, the word completion techniques attempt to predict the word based on partially entered letters corresponding to the spelling of the text; thereby attempting to increase the overall speed of text input.
Prediction based on ambiguous full-spelling of text: Companies like Tegic-T9, Motorola-iTap, ZiCorp-EZiText, Eatoni, and others have introduced variants of predictive text input processs for the 9-digit telephone keypad. These methods use the initial typed letters (which are ambiguous because a single key-press may imply any of 3-4 letters) to generate a possible combination sequence, followed by a search against a lexicon of words, to predict the word; which is then displayed onto the mobile-device screen. For instance, using the Tegic-T9 method, a user keys in the characters "C" and "A" (by tapping keys "2" and "2" respectively), and subsequently the process may predict the word "CALL" (although "BALL" may very well be an alternative). Another example is when a user attempts to dial a number using contacts on a mobile device, the user presses the buttons "5" and "6" and the underlying process predicts the name "JOHN". These predictive-text-input methods have proven to increase the speed of text-input compared to standard multi-tap based methods.
Prediction based on ambiguous partial-spelling of text: Tegic-T9 recently introduced an XT9 enhancement which attempts to predict text (a word and/or even the next word) based on ambiguous partial-spelling of that text. This may be viewed as a combination of ambiguous full-spelling based prediction and unambiguous partial- spelling based prediction described above. In addition to standard 9-digit keypad based devices (which are inherently ambiguous inputs because of lack of individual keys for distinct letters) this technology also addresses scenarios wherein users mistype keys on devices having distinct keys. The keys, although distinct, are very small and hence it is likely that a wrong neighboring key gets pressed giving rise to ambiguous inputs.
Speech-to-Text systems attempt to convert spoken text into text with the hope that a user could simply speak an entire sentence and the device could type the same. This technology, also referred to as "continuous speech recognition", has made several advances over the past five decades. Unfortunately, its performance is not satisfactory for wide commercial usage. SUMMARY OF THE INVENTION
This invention is directed to a system and method for speech-to-text prediction of spoken text. It implements speech recognition by dynamically reducing a large lexicon into smaller search lexicon networks (SLs) to significantly improve recognition accuracies and speeds; by dynamically switching the SLs which results in an efficient and practically realizable system; by storing a copy of the spoken utterance or the text's equivalent acoustic representation for successive predictions and error-corrections, noting that the SLs result in increased recognition accuracies and speed of speech recognition for successive predictions and error-corrections. In particular, the invention (a) takes as input the speech waveform corresponding to the spoken text (word or a sentence), (b) takes as input the initial letters corresponding to the spelling of that text (inputted by a user using the key-pad or keyboard or pen/stylus or Speech) and, (c) dynamically reduces the size of the active lexicon based on the initial letters provided, (d) searches that reduced lexicon (the Search Lexicon or SL) for the best matching text (perhaps using standard acoustic pattern matching techniques or a dual-pass technique), (e) returns the predicted text to the user interface, and (f) continues the loop from step (b) until the correct word appears and/or the user selects to go to next word.
BRIEF DESCRIPTION OF THE DRAWINGS The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same becomes better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Figure 1 is a conceptual overview of a system for predictive speech-to-text; Figure 2 A illustrates one embodiment of the system described in Figure 1 implemented in a Type-and- Speak Mode;
Figure 2B illustrates another embodiment of the system described in Figure 1 implemented in a Speak-and-Type Mode;
Figure 2C illustrates another embodiment of the system described in Figure 1 implemented in a Type-and- Speak Mode with Error Correction;
Figure 2D illustrates another embodiment of the system described in Figure 1 implemented in another Type-and-Speak Mode with Error Correction; Figure 3 A illustrates another embodiment of the system in Figure 1 that uses Voice-Control-Mode;
Figure 3B illustrates an example of the embodiment shown in Figure 3 A;
Figure 3 C illustrates one embodiment of a process for implementing the example illustrated in Figure 3B;
Figure 4 A illustrates one embodiment of the system in Figure 1 that uses Auto- Mode;
Figure 4B: illustrates an example of the embodiment described in Figure 4 A
Figure 5 A illustrates another embodiment of the system shown in Figure 1 implemented in Manual Control Mode;
Figure 5B illustrates an example of the embodiment shown in Figure 5 A;
Figure 5 C illustrates another embodiment of the system shown in Figure 1 implemented in Speak-and-Type Mode;
Figure 5D illustrates an example of the embodiment shown in Figure 5C; Figure 6A illustrates a process for generating a Pre-Compiled Search Network;
Figure 6B illustrates an example of the process shown in Figure 6A;
Figure 7A illustrates a process for Searching using Pre-Compiled Search;
Figure 7B illustrates an example of a Search Dictionary for use in the process illustrated in Figure 7A; Figure 7C illustrates an example of a Search Word-Graph for the example Search
Dictionary shown in Figure 7B;
Figure 8A illustrates an example produced with the system for Multiple- Recognition and Processing and Error-Correction for a word;
Figure 8B illustrates another example produced with the system for Multiple- Recognition and Processing and Error-Correction for a word;
Figure 8C illustrates two examples produced with the system for Multiple- Recognition and Processing and Error-Correction for a command;
Figure 8D illustrates an example produced with the system for Multiple- Recognition and Processing and Error-Correction for a phrase; Figure 8E illustrates another example produced with the system for Multiple-
Recognition and Processing and Error-Correction for a phrase;
Figure 8F illustrates another example produced with the system for Multiple- Recognition and Processing and Error-Correction for a phrase; Figure 9A illustrates a process for Adding New Words;
Figure 9B illustrates a process for Searching with New Words using word recognition;
Figure 9C illustrates a process for Searching with New Words using phoneme recognition;
Figure 9D illustrates a process for Searching using Statistical Language Model;
Figure 10 illustrates one example of "text-messaging" that uses a hands-free interface;
Figure 11 illustrates an example of inputting partial spellings for the system illustrated in Figure 1 ;
Figure 12 illustrates an example of "text-messaging" using a multimodal interface;
Figure 13 illustrates an example of performing a Music Download;
Figures 14A-14E illustrate another example of one embodiment;
Figure 15A illustrates an example of a user-interface used for SMS Dictation implementing one embodiment;
Figure 15B illustrates another example of a user-interface for SMS Dictation implementing one embodiment; and
Figure 16 is a block diagram representing a computing device in the form of a general purpose computer system with which embodiments of the present invention may be implemented.
DETAILED DESCRIPTION OF EMBODIMENTS
It will be appreciated by those skilled in the art and others that a typical speech recognition system (also referred to as an Automatic Speech Recognizer or ASR) operates by accessing audio data through a microphone/soundcard combination, processing the audio data using a front-end signal processing module to generate feature- vectors, and subsequently doing pattern-matching in a search module using knowledge from acoustic-model(s) and language-model(s). The system itself may exist as software or may be implemented on a computing device such as a conventional embedded system; and thus may include memory (ROM, RAM etc.), storage, processors (fixed-point, floating-point etc.), interface ports, and other hardware components.
A general discussion of "multimodal input" may be helpful before discussing the embodiments in detail. With "multimodal input", the idea is to use Speech in conjunction with the keyboard/keypad. For instance, a user could simply "Press Keys to input B" and speak "BEAUTIFUL" and the word "BEAUTIFUL" is displayed on the screen. As another example, a user could speak "Britney Spears" and then type "B R I" to play a song by Britney Spears. In general, multimodal methods have serious limitations: (a) their accuracies are unsatisfactory, (b) they are not practical to implement on mobile hardware platforms, and (c) they are not fast enough. Hence, there is not a single multimodal input method for text entry in existence in today's mobile devices.
In a speech recognition system, as the number of words forming the so-called active dictionary/lexicon increases, the recognition accuracy drastically suffers. For instance, currently available commercial ASR technologies perform satisfactorily as long as the number of words in the active lexicon is around 500; consider for instance voice- dialing with a dictionary of 500 stored names. More generally, current ASR systems have proven to be practically useful for limited context "command-and-control" applications, namely voice-dial (typically 200-500 names), content search (1000-5000 song titles) and so on. Although there are ASR systems handling millions of words which employ language and context modeling, the technology generally fails to deliver satisfactory results when the "active" lexicon is large, for instance 32000 SMS words, or 5000 names, or 20000 song titles and so on. The primary reasons for this are (a) increased computation power is required as the active lexicon increases beyond 1000 words and (b) the acoustic confusion between words increases as the lexicon increases which reduces speech recognition accuracy.
Turning now to Figure 1, a conceptual overview of a system 100 for predictive speech-to-text is shown. The system is implemented as an overall speech recognition system for predicting text using partial spelling of that text. The text is provided to the system using a plurality of input methods (hence the multimodal nature of the embodiment). As shown, the system 100 accepts input from a keypad input 101 and other forms of input 102. Examples of the keypad input 101 include any form of keypad, such as a common 9 or 12 button telephone keypad. Examples of the other forms of input 102 include speech, additional keypads, soft-keys, handwriting recognition, Qwerty keyboard, soft-keyboard, or the like.
The system 100 includes a sub-system for reducing the active lexicon 105. The system to reduce the active lexicon 105 may operate in voice control mode 107, manual control mode 109, or may be an automatic mode 111 wherein the system reduces the active lexicon as soon as a user inputs the letters using the keypad input 101 or other input 102. In voice control mode 107, the system 100 recognizes that input recognition is being requested based on a spoken command, such as by a user speaking a known command like "predict." In manual control mode 109, the system 100 recognizes that recognition is being requested based on a keypress, such as a special purpose button (e.g, a camera button on a mobile phone) or a soft-key. In auto mode 111, the system 105 may automatically initiate recognition, such as by waiting for keys to be pressed (or letters to be spoken) and automatically reducing the lexicon. In one specific embodiment, the system 100 may listen only if a button is not otherwise being pressed. A pre-compiled search module 113 includes pre-compiled search networks for use in recognizing speech. The pre-compiled search networks each include a subset of words from the total word library. The subset search networks include text beginning with a pre-determined initial letter- combination(s). For example, different pre-compiled search networks may exist that each include the speech recognition data for those words that begin with a particular letter, such as one network for "A", another network for "B", another network for "C", etc. Still other pre-compiled search networks may be used for those words that begin with particular letter combinations, such as "AA", "AB", "AC", "BA", "BZ", etc. The sub-set search networks are pre-compiled to eliminate computation during run-time. One process for building these pre-compiled search networks is illustrated in Figure 6, and described below. Alternatively, the search networks can be compiled real-time 115, using variations of the process illustrated in Figure 6.
A particular pre-compiled search network is activated 117 based on the letter(s) being received from the keypad input 101. In other words, if the character being keyed is "A", then the pre-compiled search network 113 corresponding to words beginning with "A" (which may be named "A.DAT") is activated 117. It should be appreciated that in certain instances, a keypad button may be associated with more than a single character. For example, the same button on a keypad may be associated with all three of the letters A and B and C. In such a case, a single key press may result in activating three precompiled search networks 113. The ASR system 121 includes code to compare spoken text to the active search network. The ASR system 121 includes language and acoustic facilities for comparing a spoken utterance with known speech data in order to identify the inputted spoken utterance. Generally stated, the system 100 operates by (a) receiving typed letters that correspond to the spelling of the text being recognized, (b) pre-determining a mode (which could be Auto or Voice-Control-Mode or Manual-Control-Mode, noting that a keypad may be replaced by any other manual input method) to activate a module for reducing the overall system lexicon, (c) based on the determined mode, reducing the system lexicon into a small active lexicon (where lexicon implies a set of words and their phonetic descriptions) containing words beginning with the typed letters obtained in step (a) by either building a pre-compiled sub-set search network or by activating the recognition system with a pre-compiled sub-set search network, (d) activating a language model (sometimes referred to as "grammar" or "statistical language model") with the active lexicon search network along with other components forming a standard ASR language model, and (e) using the ASR language model in conjunction with the spoken utterance (corresponding to the text to be predicted) and other standard ASR components like acoustic and duration and other models and search algorithms to generate the desired text as the predicted output. Since the disclosed system uses partial spelling of text inputted by a user to select one of the pre-compiled search networks, thus result is increased recognition speeds and accuracies, even for subsequent error-correction and successive predictions using speech (inputted by a user) stored in memory. A specific example of identifying the word "ARRIVED" is considered in Figure 1. Those skilled in art will appreciate that a plurality of variants of the proposed invention may be plausible. For instance, instead of the beginning letters forming the spelling of the text, a combination of beginning and ending letters (as in first and last letters) may be entered by the user. Further, although unambiguous spelling input is taken as an example to describe the invention, extension to ambiguous spelling input is fairly straightforward. For instance, if one types 2 and says "CALL" or alternatively one says "CALL" and types 2, the system may be easily extended to account for the fact that "2" may mean "A" or "B" or "C"; in that case the pre-compiled sub-set search networks (example ABC.dat) may correspond to all sub-set words beginning with A, B, C. As another example, if user says "CALL" and subsequently begins to speak the spelling namely "C", then the system may be easily extended to account for the fact that spoken "C" may be mis-recognized by an ASR system to be "D" or "E" or "G" or "P" or "T" and so on; in that case the pre-compiled sub-set search networks (example C.dat) may correspond to all sub-set words beginning with C, D, E, G, P, T. In general, ambiguous input may be addressed by combining words with all or most possible ambiguous letters into a single pre-compiled network. Those skilled in the art can easily appreciate that the "word" mentioned in the previous section may be replaced by any word or more generally any phrase or any text in any language, without deviating from the general logic of the system in Figure 1.
In Figures 2A and 2B, embodiments of the operating of the system shown in Figure 1 are illustrated. First, in Figure 2A, one embodiment is implemented that uses a type-and-speak mode, meaning that the user begins typing letters and then speaks an utterance to be identified. As shown, the user begins partial spelling input using the keypad or other input mechanism (block 201). In response, the system uses the keypad- provided text to reduce the system lexicon to an active reduced lexicon (block 205).
In addition, the user begins speaking an utterance (speech input) that corresponds to the text to be predicted (block 203). That speech input is passed to the ASR engine, together with the active reduced lexicon, for processing (block 207). The ASR engine compares the speech input to the reduced lexicon that was identified from the keypad input, and outputs the result. In one embodiment, the result could be the actual recognized word or phrase, or it could be a list of best-matching results (called N-best) that includes a grouping of words that are most likely correct.
In Figure 2B, another embodiment is implemented that uses a speak-and-type mode, meaning that the user begins speaking and then begins typing letters. The embodiment illustrated in Figure 2B operates in a similar fashion to the embodiment illustrated in Figure 2 A, with the exception that in Figure 2B, the user begins speaking first (block 202) and then begins typing text (block 204). Accordingly, the speech input is stored in the ASR engine (block 208) when received and is not processed until after an active reduced lexicon is identified from the typed input (block 206).
Referring both to Figures 2 A and 2B, the embodiments could use a traditional phoneme-recognizer 212 as opposed to a word-recognizer. However, with phoneme recognition with large system vocabularies (of the order of 1000 to 10,000 and more words/phrases), the inaccuracies would result in inaccurate selection of candidates from the system vocabulary. Accordingly, the preferred approach is to reduce the lexicon based on the partial-spelling obtained as described in Figure 1 to an active lexicon which is relatively small (500-1000 compared with 5000-10000). This not only increases recognition accuracies but also results in a practical real-time system, especially for implementation on devices with small form factors.
Figures 2C and 2D add error-correction to the embodiments shown in Figures 2A and 2B respectively. As shown in both examples, the result of the ASR engine is displayed along with the N-best choices (block 220). If the user inputs an additional letter (block 222), then the system can either use that additional letter to further reduce the active lexicon (block 224) and re-recognize, or to process the N-best list if the user's further input does not invalidate the N-best list. The choice between reducing SLs and processing NBest depends on the actual application under consideration. For instance, for an sms-dictation application handling about 25,000 words, there are very few words existing in the four letter combination SLs; hence it is preferred to process NBest after 3 letters for this application.
In Figure 3 A, a detailed description of the Voice-Control- Mode module 107 introduced in Figure 1 is described. Speech input is received as a speech utterance that includes both a control command and a "word" (block 301). The ASR engine detects the speech input and stores the uttered "word" for later recognition (block 303). If the control command is detected, recognition begins (block 305). The user begins inputting text using a manual text entry mechanism, such as a keypad (block 306). The manual text entry is used to reduce the active lexicon (block 307). With the active lexicon reduced, the ASR performs the recognition operations to identify the "word" (block 309).
Observe that two ASR systems are used and multi-pass recognition is performed as depicted in Figure 3A. Alternatively, parallel recognizers may be employed if the hardware permits resources to do so. Specifically it is shown in Figure 3 A that the first pass ASR is primarily looking for a control command (like "Predict" or "Complete" or any other control command) based on which it activates the module for lexicon reduction; those skilled in art will recognize that typically there may be other commands or grammars that the ASR system is processing (for instance for inserting symbols, or contacts, or sending message commands, or help commands or for simply rejecting background noise etc) and hence the requirement for having a control command; if Prediction of Text is the only problem being addressed then there is no need for a control command because the word itself may act as a control command. A second ASR system uses this reduced lexicon along with the utterance to be recognized and yields the desired predicted word. Notice that to relax user-constraints, Figure 3A assumes the user would say the control command and the word in a single utterance and the second ASR system uses the waveform/features corresponding to this utterance (assuming utterance detection is done and/or other forms of utterance alignment to control-command and word are done) for prediction. A specific example of this system for the word "MEETING" is shown in Figure 3B.
As illustrated in Figure 3B, the user utters the phrase "predict meeting" (block 313). The ASR engine identifies the control command "predict" in the utterance (block 315). Those skilled in art will recognize that <Junk> is a typical word-spotting grammar employed to detect just about any text. The ASR engine may then immediately begin attempting to recognize the word "meeting" while it awaits user manual input (block 317). As the user begins keying in letters for the word "meeting" (block 319), the active lexicon is continuously reduced to only those words that begin with the letters "me" (block 321). The ASR engine performs the recognition using the reduced active lexicon network to identify the word "meeting" (block 323). The ASR engine returns the result (block 325).
In Figure 3 C, a detailed description of the process underlying the system in Figure 3A/3B is described. In this example, the user speaks the control command plus some word to be recognized (block 327). The ASR engine detects the control command and stores the utterance to be recognized (block 329). Note that the speech input may include multiple control commands. If the output is in fact the word "predict", then the process ends (block 331). However, if the output is not the word "predict", then the ASR engine is activated using the active lexicon reduced based on the user's manual input (blocks 333 and 335). Using the reduced active lexicon network, the ASR engine performs recognition on the word from the original speech utterance (block 337). The ASR engine returns the results (block 339).
Observe that in order to facilitate a simple user-interface for the end-user, a single command consisting of the control-word and the text to be predicted is assumed. As an example, instead of having the user say "Predict" and then the word "Meeting", a single utterance of "Predict Meeting" may be adopted. Using standard ASR processes (typically used for Rejection and/or Word- Spotting) the control word is first extracted; this is because typically one may have other competing grammar paths like commands, help, alphabet, phrases etc along with the control-command grammar path. If the control word is the expected control word (Predict in this example) then the second ASR module is activated with the reduced lexicon (for simplicity this is not shown in detail; it's the same as obtained in Figure 3A) and the output of the Search is returned in the form of a best- scoring hypothesis and a list of alternate hypothesis; this list would include the text that the user intended to predict by speaking. Figure 4A shows an embodiment of the system in Figure 1 implemented using
Auto-Mode. This implementation is simpler than the Voice-Control-Mode illustrated in Figure 3. It simply reduces the lexicon at each instant that the user has provided new input (block 403). This could be done based on tracking the output of a screen (using standard software methodologies) or by tracking the events from the user (received in the form of speech/keypad-activation/other) (block 401). This implementation suffers some drawbacks compared to the more complex system illustrated in Figure 3. Those drawbacks are (a) redundant processing is performed which may not be practical on devices like cellular phones (considering practical issues like CPU delay, processing power, battery life etc.), (b) the redundant processing may interfere with keypad inputs, (c) the keypad inputs and background noise may result in noise in the user's speech, (d) if using speech to input letters of the spelling, the recognition of this and other base commands like Symbols etc may become slower, (e) if using speech to input letters of the spelling, the overall recognition accuracy may decrease. However, one advantage of this approach is that it could use a single pass ASR engine (block 405) especially for first pass recognition with increased recognition speed and further has a more intuitive user interface for the end application.
A specific example for this is illustrated in Figure 4B. The user begins typing the characters "ME" (block 409). The system activates the reduced lexicon that is associated with the combination of letters "ME" (block 411). When the user begins speaking the word "Meeting", the ASR engine begins comparing the utterance to the ME reduced lexicon (block 413). Because the number of possible options is drastically reduced in the active lexicon, the ASR engine can more quickly and accurately identify the proper word and return the result (block 415).
An alternative approach that uses a Manual-Control-Mode is shown in Figures 5A-5D. Here, the reduced lexicon module is initiated only on receiving a control signal just like in the system illustrated in Figure 3. However, instead of relying on a Voice- based control signal, a manual control signal method is adopted. Hence, a user may simply press a button (for instance the Volume button or the Microphone ON/Off button or Tap onto a keypad button and other variants like tap onto the screen of a PDA etc) and initiate the Lexicon reduction module. This system is simpler than the one with VCN; it uses only one ASR module. However, it may require the user to do an additional "manual step" especially in the Type-and- Speak mode. Referring first to Figure 5A, the user begins partial spelling input using the keypad (block 501). Either that particular input, or a special button, is used to manually indicate that text recognition is being requested (block 503) and the user provides speech input. Accordingly, the input provided by the user is used to reduce the active lexicon (block 505), and the ASR engine begins to perform the recognition of the speech input using the active reduced lexicon network (block 507). The results are returned (block 509).
Figure 5B illustrates a specific example. As shown, the user begins typing the characters "M" and "E" (block 511). The user then presses the control button to indicate that speech is being provided (block 513) and begins speaking the word "meeting". The Appropriate reduced lexicon is activated based on the user's keypad inputs, resulting in the lexicon associated with words beginning with the letters M and E being activated (block 515). The ASR engine then identifies the word "meeting" by comparing the speech utterance to the ME lexicon (block 517), and returns the results (block 519).
Figure 5C illustrates an example of the manual control mode implemented using speak-and-type. The process illustrated in Figure 5C is similar to the process illustrated in Figure 5 A, except that the user first presses the manual control and speaks (block 521) and then begins to type characters (block 523). The balance of the process occurs similar to that illustrated in Figure 5A.
Figure 5D illustrates a specific example. As shown in Figure 5D, the user initiates the process by keying the manual control signal, such as a button (block 530), and provides the spoken utterance "meeting". The user then begins entering text the characters "M" and "E" using the keypad (block 532). The system activates the lexicon associated with the characters "ME" (block 534), and the ASR engine begins its recognition process (block 536). The resulting word "meeting" is returned (block 538). In general, the choice of any of the three methods (referring to Figures 3, 4, 5) depends on user preferences, hardware limitations, application limitations etc.
The process to build the pre-compiled search networks is illustrated in Figures 6A and 6B. Figure 6 A illustrates the case where a lexicon is being created based on a single letter being known, while Figure 6B illustrates the case where a lexicon is being created based on a given combination of two (or more) characters. As shown in Figure 6A, the process begins by initializing a variable "i" to some initial value, such as the letter "A" (block 601). Words from the base system lexicon that begin with the letter represented by "i" are added to a text file having a name of i.TXT, where the letter "i" represents the currently selected letter value (e.g., "A" currently) (block 603). Using a suitable pronunciation model (well-known in speech recognition field), pronunciations are generated for each of the words identified in "i.txt" (block 605). The system then generates grammar for the words in "i.txt" and compiles the result as a "pre-compiled search network" named, in this instance, i.dat, where again the "i" represents the currently selected letter. At this point, the variable "i" is incremented to the next possible value, e.g., the next letter in the alphabet sequence, and the process repeats (block 609). The process runs again and continues to repeat until a different pre-compiled search network has been created for every possible value of "i". As shown in Figure 6B, a similar process is performed except that more search networks are created based on two-letter strings. Accordingly, the process illustrated in Figure 6B differs from the process in Figure 6A in that two variables "i" and "j" are used (block 611), and those variables are individually incremented (block 613) until the possible combinations of search networks have been generated. Observe that for the first set (Figure 6A), the most common words are used based on what is commonly referred to as n-gram statistics in language modeling. This is because if the system vocabulary is 26,000 words there is all possibility that each list will on an average be 1000 words. Many devices do not have the processing power to search an active list of 1000 words. Even if they do, the confusion between words reduces the recognition accuracy. Experiments conducted by the inventors have revealed that 200 words is a good limit for many practical applications.
For the second set (Figure 6B), combination of the 1st and 2nd characters are used to create the words. In this case, most of the combinations have words less than 200. If they are more than 200, once again n-gram counts may be used to select the top 200 words and the rest may be split into 3-character lists or other techniques may be incorporated. Obviously, the actual process may be run off-line (on a PC or other machine) and the final search-network files may be packaged into a single data- structure. Several extensions to the above are possible. For instance, based on the frequency of usage of words by the user (also referred to as dynamic statistical language modeling) the words from 3 -letter lists may be moved into 2-letter lists and subsequently to 1 -letter lists and finally to a list that does not require any letter input, meaning pure speech-to- text; and vice-versa. For instance if the word "consequence" was included in the con.dat search network because its unigram count for English language is low and a user begins using the word "consequence", then "consequence" may be moved to co.dat and further up to c.dat and so on and finally be the word in the main recognition pass. Similarly if "although" is word in a.dat and not being used then it could be moved to al.dat and alt.dat and so on.
Several other extensions are possible for selecting words. For instance a combination of longer and more frequent words may be grouped together and using the so-called confusion matrix (well-known in speech recognition) the top 200 words may be selected. Those skilled in speech recognition will appreciate that the disclosed embodiments, dubbed as "Predictive Speech-to-Text", may be generally studied under a new framework for multimodal speech recognition. For instance in traditional speech-to- text (commonly referred to as Dictation) systems the acoustic network is compiled on- the-fly as a user speaks. To limit computation, (a) a statistical language model is cached which essentially dictates the possible phoneme combinations within the acoustic network, (b) the maximum-likelihood probability is computed using a combination of acoustic scores (calculated using dynamic programming as in Viterbi Search) and the language model scores, and (c) only hypothesis falling within a so-called "Beam" are kept active in the dynamic acoustic network. One of several different modeling techniques including hidden markov modeling, artificial neural networks, hybrid networks, support vector machines etc are employed for acoustic modeling and search. This same methodology may be extended with the addition of multimodal inputs from a user. The multimodal inputs in the form of letters corresponding to the spelling of text may be viewed as an additional language model (in this case deterministic-ambiguous or deterministic-unambiguous) and the speech-to-text theoretical framework may be extended by incorporating this additional information of the spelling of the text.
A careful observation of the proposed invention further reveals that it is a universal framework for multimodal recognition which builds on top of existing well- known text prediction methodologies. So, if the speech waveform input to the proposed invention system is simply background noise (which would be the case if a user would simply type and not speak) then random noise will give rise to random prediction of text. In the absence of a language model, this could be theoretically viewed as standard text- prediction.
In Figures 7A-7C, details of methods for searching using pre-compiled searches are described. An example of recognizing the word "MEETING" is considered. In Figure 7A, given the initial letters forming the spelling of the word (block 701), the associated search network file is selected (block 703). This may be done using a hash- table-lookup or any one of several available programming techniques. Additionally, although this look-up should be done at run-time, the actual initialization of the ASR engine may be done at the application launch and/or when the device (for instance a mobile device) boots up. Notice that as more letters forming the word's spelling are provided by the user, the better the accuracy of the system. However, instead of storing search networks for 3 or more spelling-letters, N-Best processing may be performed in these instances (block 705). For example instead of storing MEE.DAT or MEET.DAT, the alternative choice list (referred to as N-Best) output by using ME.DAT is post- processed (block 707). This is to reduce memory requirements.
Some specific examples of the search dictionary and the search network are shown in Figures 7B and 7C. Figure 7B illustrates an example of a Search Dictionary for use in the process illustrated in Figure 7A. Figure 7C illustrates an example of a Search Word-Graph for the example Search Dictionary shown in Figure 7B. In practice this is replaced by the phoneme-graph based on the pronunciation of the words. These are ways the ASR engine uses to form search-networks. Those skilled in the art will recognize that several variants of these may be employed, for instance a grammar network may be reduced based on root-pronunciations and/or root-endings, the word's spelling may be incorporated within the grammar (for increasing accuracy on short words), dynamic grammars may be used with additional scoring penalties based on letters inputted etc.
The procedures in Figures 7A-7C may be by-passed if one were to build the search network during run-time (as shown in Figure 1). This may be achieved using standard ASR techniques.
In Figures 8A-8F, multiple recognition and processing and error-correction for the system illustrated in Figure 1 are shown for Words, Commands, and Phrases. Other extensions will also become apparent, such as for word-spotting, and for applications including mobile search, audio-mining, etc.
In Figure 8A, the user speaks the word "meeting" in combination with typing the letter "M" on a keypad (block 801). The ASR engine begins performing a search using a reduced lexicon network based on words that begin with the letter "M" (block 803), thus creating an N-best list of likely candidate results (block 805). In this example, the first candidate result in the word "Mating", which is displayed together with other choices (block 807).
The user keys in another letter, "E", which is added to the previous input string to form "ME" (block 809). The N-best list is processed to identify words that begin with the letters "ME" (block 811), and a new N-best list is created (block 813). The user's choices are updated to reflect a new best choice of "messing", together with other choices (block 815).
The user keys in yet another letter, "E" again, which is added to the existing string to form "MEE" (block 817). The current N-best list is processed to identify only words that begin with the string "MEE" (block 819), and a new N-best list is created (block 821). The user's current choices, including best guess of "Meet", is displayed (block 823).
The user keys in still more letters, "T" and "I", which is added to the existing string to form "MEETI" (block 825). The current N-best list is processed to identify only words that begin with the string "MEETI" (block 827). At this point, there may only be a single word on the N-best list, and accordingly the user's only choice of "Meeting" is displayed (block 829).
Figure 8B illustrates a similar example as illustrated in Figure 8A, except that in this example, the user's original utterance is stored by the ASR engine for further processing and correction of errors. In this way, instead of relying on NBest processing, the reduced lexicon networks are employed for successive iterations, till no more precompiled networks exist, at which point the system resprts to NBest processing as in Figure 8 A. Note that the system can learn over time and improve its accuracy. Figure 8C illustrates two examples of performing a "voice-dialing" operation using embodiments. In one example, the user speaks "John Smith" in a voice dial mode, and the ASR engine begins performing a search of the names that could match that utterance (block 833). The ASR engine builds an N-best list based on its search (block 835). Based on the N-best list, the system displays the most likely choice of "Jone Adams" together with other choices (block 837). The user begins to input, using the keypad, the letters of the desired name starting with the letter "J", which indicates that "Jone Adams" is not the correct selection (block 839). In this example, the ASR engine processes the N-best list to eliminate names that do not begin with the letter "J". As the user had not previously entered any text, the ASR engine did not have a reduced lexicon to search and the accuracy of the initial results may have been poor, especially if the user's contacts list is long. However, after the user begins entering text, the N-best list can be searched to identify other choices that begin with the letter "J". As shown in the second example, the user may also begin entering text manually
(block 845) while also speaking the name "John Smith". In this way, the base system lexicon can be reduced to only those names that begin with the letter "J" (block 847), thus improving the initial recognition accuracy and speed of the system. Although in this example, the user still must key two letters (block 849), in other examples the improved name recognition accuracy will reduce the number of incorrect recognitions.
Figure 8D illustrates an example of recognizing a spoken phrase. In this example, the user speaks the phrase "how are you" and also begins to key in the phrase (block 851) beginning with the letter "H". Based on the keyed input, the system activates a precompiled reduced lexicon for words or phrases that begin with the letter "H" (block 853). The ASR engine creates an N-best list (block 855) based on that lexicon, and displays the initial best guess (block 857) with other choices. The user keys in the next letter of the phrase "O" (block 859), and the ASR engine processes the N-best list to eliminate any entries that do not begin with the string "HO" (block 861). A new N-best list is created (block 863), and the new best guess and other choices are displayed (block 865). These operations repeat (blocks 867-873) until the user keys the letter "A" of the phrase (block 875), at which point the ASR engine identifies the accurate phrase (blocks 877-879).
Figure 8E illustrates another example that is similar to the example illustrated in Figure 8D, with the exception that the user's spoken utterance is stored for further processing and correction of errors (block 881). In this way, the system can improve its recognition accuracy and speed especially when handling large number of phrases.
Figure 8F illustrates yet another example similar to the example illustrated in Figure 8D, with the exception that instead of serially keying in the letters of the phrase to be recognized from first to last, this example performs recognition by attempting to identify a phrase when the user keys in only the first letter of each word of the phrase. In other words, the user speaks the phrase "How Are You Doing", and also begins keying the letters "H" (block 883), "A" (block 885), "Y" and "D" (block 887), which correspond to the first letters of each word in the phrase. In this way, the system first activates the reduced lexicon associated with only phrases that begin with the letter "H" (block 889), and then improve the list of choices by eliminating phrases that do not include words with the appropriate initial letters. This technique greatly improves the ability to quickly recognize whole phrases.
In Figures 9A-9D, a process is described that addresses new text addition. This can be especially useful when the system shown in Figure 1 is not able to recognize/predict text. The text may not be recognizable primarily because the text (example Word) is either not in the system's overall lexicon (this may occur frequently for proper names, short forms, unknown phrases etc) or for some reason the pronunciation of that text (as stored in the ASR system lexicon) is inaccurate. A method for creating a dynamic database for new words is shown in Figure 9A.
Specifically, a new word may be tracked when the user initiates a new-word command (using manual key or voice-command) or when user enters a space (the # key in some cellular devices) or any such input. One could additionally check against the system lexicon for pre-existence of the word or could check the current NBest list for existence of the word and/or one may simply treat it as a new word (block 901). Once the system records a new word, a database (for instance an ASCII/binary file) may be updated with this word along with its pronunciation (which may be extracted using any standard ASR system pronunciation-generator-module) (block 903).
A system may update the existing system lexicon or sub-set lexicon or their respective grammar networks (block 907); or create a separate data-structure for the new words (block 905). Recall that adding a new word to the existing lexicon could be achieved using standard ASR system programming interface calls. However, this may not be practically realizable given the memory and processing speed constraints of the devices. Hence, Figure 9A also describes another method based on creating a second data-structure. This may be done by storing all new user-added words into a single data- structure (for instance new- word, dat) and/or by storing them into multiple sub-set data- structures (similar to the sub-set lexicons created in Figure 1). The later may be done, for example, by associating a different file name as in ME_New.dat as opposed to ME. dat or by setting a flag in a single data structure. Having created an entry for this new-word, when the user tries to predict this same word next time (by Speaking) then the system is able to do so.
One process for addressing this is illustrated in Figure 9B. In this example, if the new word was added to a new data structure, then the ASR engine may search both the existing search networks in parallel with the new word search network (block 913). In contrast, if the new word was added to the existing data structures, then the ASR engine would simply search the same search networks as before (block 915).
Another embodiment is illustrated in Figure 9C which uses a hybrid approach of word and phoneme recognition. Observe that, along with the traditional ASR search (block 917), phoneme recognition is performed in parallel (or in subsequence) using standard phoneme-recognition techniques (block 919). The best word resulting from the former is also included in the phoneme recognition. Dynamic Programming techniques (standard in ASR systems) are then employed to simply do a phoneme-string comparison (block 921). The best matching hypothesis are then ordered in a new N-best which is subsequently passed to the user-interface (block 923).
As an example if the new word is "MENALICO" then the best scoring word by recognizing using ME.dat, and its pronunciation is first added to ME_NEW.dat; next dynamic-programming is used for scoring the phoneme string recognized when user said MENALICO against all the phoneme strings in ME_NEW.dat. The words associated with the best scoring candidates are then returned to user-interface.
Those skilled in the art will appreciate that the method described above, to add new words, may be simply used in place of pre-compiling sub-set lexicons corresponding to a large base lexicon. For example, in mobile devices that lack memory, one could envison having no base lexicon and as the users begin to enter text using the keypad or other modes, the sub-set networks corresponding to the words being used get dynamically created.
Figure 9D illustrates a process for searching using a statistical language model. As illustrated in this process, for each word in the application lexicon, an n-gram count is created based on frequency of word-usage (computed using external text corpus or based on frequency of usage of words by a user) (block 925). The n-gram count is stored in a suitable data structure for faster access during runtime and to minimize memory and processing requirements (block 927). In addition, the methods described above (e.g., figures 1-9D) may be used to search for text. However, recognition scores are computed using ASR language modeling techniques, combining acoustic scores and n-gram count (block 929).
Finally, several examples of real-world implementations are shown in Figures 10-15 and described here. Recall that in standard predictive text input systems, a user enters letters until the desired word is predicted and displayed by the system. Many variants of user-interface exist for correcting errors (left-arrow key, delete button, moving cursor to the location etc), displaying alternative choices (pop-up menu window, choice window at bottom, bubble windows etc). These embodiments may be implemented with a similar user-interface (illustrated in Figures 10-15), except that speech is additionally employed to enable the system to predict with fewer letters thereby reducing the number of key-presses.
Figure 10 illustrates two examples of entering text on a mobile phone 1000, such as an ordinary cellular telephone. The mobile phone 1000 is configured with an implementation of the predictive speech-to-text systems described at length above. In addition, the mobile phone 1000 is configured to accept text input using the ordinary "triple-tap" method, wherein a button is keyed a number of times equal to the position of the desired letter in a three-letter sequence. The mobile phone 1000 also includes a microphone 1002 for audible input. In this example, a user desires to input the phrase "call home". Accordingly, using the conventional triple-tap method (illustration on the left), the user would enter every letter of the text using the keypad 1004. In this example, the user would type the following button combination 222 ("C"), 2 ("A"), 555("L"), 555("L"), 44("H"), 666("O"), 6("M"), and 33("E"). The user may likely have to wait a brief pause between each letter for the mobile phone 1000 to recognize a letter. This method is very common, but requires a significant amount of time.
In contrast, the user could also speak the word "call" into the microphone 1002, and begin typing (either using triple-tap or not) the first letters of the word. The mobile phone 1000 then applies speech-recognition techniques to identify the spoken word "call", knowing that the first letter of the word is "C". Accordingly, accuracy is very high. The user would then speak the next word "home" and type the first letter(s) of that word. Alternatively, the user could speak the entire phrase "call home" and begin entering either the first letters of the first word, or the first letters of each word in the phrase.
Figure 11 illustrates another example in which the user desires to input the word "meeting". In the illustration on the left, the user could key in the letters "M" and "E" using the tripple-tap method, or some other predictive text input method, and then speak the work "meeting" using a push-to-talk control command, such as a special button on the phone 1000. In the example on the right, the user could speak the letters "MN EF" using voice-tap (which refers to an earlier invention by the inventors), and then speak the phrase "predict meeting", where the first word "predict" is a control command to indicate that the phone should attempt to predict the word "meeting".
Figure 12 illustrates another example where the user desires to enter the word "meeting". As with the first example in Figure 10, the user could simply triple-tap the entire word by entering the key combination 6-33-[pause]-33-8-444-66-4 to spell the word unambiguously. Alternatively, the user could triple-tap the letters "M" and "E" (key combination 6-33) and then speak the word "meeting".
Figure 13 illustrates another example where the user desires to identify a particular song to play, a Britney Spears song. The mobile phone 1000 may be in a user mode that is prompting the user to identify a song from a library of songs on the mobile phone 1000. Those songs could, in this example, be indexed by artist. In the example on the left, the user could triple-tap 22-777-444 (B-R-I), which may be sufficient to identify the only song in the library by an artist whose name begins with the letters B-R-I. In the example on the right, the user may speak the name "Britney Spears" and the song title "Oops I did it again", and type in the first letter of the target phrase (key combination 22). Using only that information, the mobile phone 1000 could identify the correct song. The examples illustrated in Figures 14A-14E illustrate the use of the above- described systems to send an SMS message to a recipient using an interface on the mobile phone. Figure 14A illustrates what the interface could look like when the software application is turned on or launched. At this point, the user could begin speaking into the "TO" window or type a mobile number or insert a contact name using the menu soft-key. As shown in Figure 14B, if the user speaks "Greg Simon", an N-best choice list is displayed. The user could next press the "CALL" button or speak "begin voicedial" to place a call to Greg Simon. Alternatively, the user would press the down-arrow-key or say "begin message" to go to a message window. The user could also select "Aaron Smothers" from the N-best list by simply selecting choice 2 using the right-arrow-key or by saying "Select Choice 2". Alternatively, user could have typed in "G" in the "To" window and said "Greg Simon"...other variations may be envisioned.
As shown in Figure 14C, the user speaks "what can i say" or presses the "menu" softkey and the "help" softkey to get a help window. One example of such a help window for hands free mode is displayed in Figure 14C. As shown in Figure 14E, the user types "a"; says "am"; types "d"; says "driving"; says "period". The resulting output from the system is displayed as "am driving." Figure 14-E is one example of a custom settings dialog that could be presented if the user enters a settings tab in menu. Figures 15A and 15B illustrate yet another example of text input using the predictive speech-to-text systems described above. To achieve the text input displayed in Figure 15 A, the user could perform the following steps:
1. SPEAKS : ASHWIN RAO
2. PRESSES: DOWN ARROW KEY TO GO TO MESSAGE WINDOW 3. TYPES: A
4. SPEAKS: ASHWIN
5. SPEAKS: PERIOD
6. TYPES: I
7. SPEAKS: SPACE 8. SPEAKS: AM DRIVING
9. TYPES: A
10. TYPES: TO [SPACE] THE
11. TYPES: AI
12. SPEAKS: AIRPORT 13. HITS BUTTON TO SEND MESSAGE
Alternatively, to achieve the text input displayed in Figure 15B, the user could speak the following phrases into an equipped mobile phone (or other device):
1. INSERT ASHWIN RAO
2. BEGIN MESSAGE 3. ABC PREDICT ASHWIN
4. INSERT PERIOD
5. IJK NEW-WORD
6. ABC PREDICT-THAT AM DRIVING TO 7. TYPES 84433 TO ENTER THE (note this step is typed, not spoken)
8. ABC PREDICT-THAT AIRPORT
9. SEND MESSAGE
Other user interface variations may be achieved based on the invention. For instance to achieve the text input displayed in Figure 15B, the user could speak the following phrases into an equipped mobile phone (or other device):
1. INSERT ASHWIN RAO
2. BEGIN MESSAGE
3. ASHWIN A 4. INSERT PERIOD
5. IJK NEW-WORD
6. AM DRIVING TO A M
7. TYPES 84433 TO ENTER THE (note this step is typed, not spoken)
8. A I R AIRPORT 9. SEND MESSAGE
This invention has broad applications. It may be used in any application that requires text entry on any hardware and/or software including personal computers, mobile devices, embedded system and other computing machines. Using this invention, users may input the partial spelling of a text and simply speak that text to input that text into any desired application. Some well-known applications include text messaging, music download and/or playback on devices, mobile or automobile navigation, mobile internet search, calendar entry, contact entry etc.
Those skilled in art will easily appreciate that a plurality of variants of the invention may be plausible. Further extensions of the system to include, word-spotting of phrases, statistical language modeling (unigram, bigram, n-gram etc, context models, topic models etc.), language translation, different application extensions may all be easily envisioned.
Certain of the components described above may be implemented using general computing devices or mobile computing devices. To avoid confusion, the following discussion provides an overview of one implementation of such a general computing device that may be used to embody one or more components of the system described above. Figure 16 is a functional block diagram of a sample mobile device 1601 that may be configured for use in certain implementations of the disclosed embodiments or other embodiments. The mobile device 1601 may be any handheld computing device and not just a cellular phone. For instance, the mobile device 1601 could also be a mobile messaging device, a personal digital assistant, a portable music player, a global positioning satellite (GPS) device, or the like. Although described here in the context of a handheld mobile phone, it should be appreciated that implementations of the invention could have equal applicability in other areas, such as conventional wired telephone systems and the like. In this example, the mobile device 1601 includes a processor unit 1604, a memory
1606, a storage medium 1613, an audio unit 1631, an input mechanism 1632, and a display 1630. The processor unit 1604 advantageously includes a microprocessor or a special-purpose processor such as a digital signal processor (DSP), but may in the alternative be any conventional form of processor, controller, microcontroller, state machine, or the like.
The processor unit 1604 is coupled to the memory 1606, which is advantageously implemented as RAM memory holding software instructions that are executed by the processor unit 1604. In this embodiment, the software instructions stored in the memory 1606 include a display manager 1611, a runtime environment or operating system 1610, and one or more other applications 1612. The memory 1606 may be on-board RAM, or the processor unit 1604 and the memory 1606 could collectively reside in an ASIC. In an alternate embodiment, the memory 1606 could be composed of firmware or flash memory.
The storage medium 1613 may be implemented as any nonvolatile memory, such as ROM memory, flash memory, or a magnetic disk drive, just to name a few. The storage medium 1613 could also be implemented as a combination of those or other technologies, such as a magnetic disk drive with cache (RAM) memory, or the like. In this particular embodiment, the storage medium 1613 is used to store data during periods when the mobile device 1601 is powered off or without power. The storage medium 1613 could be used to store contact information, images, call announcements such as ringtones, and the like.
The mobile device 1601 also includes a communications module 1621 that enables bi-directional communication between the mobile device 1601 and one or more other computing devices. The communications module 1621 may include components to enable RF or other wireless communications, such as a cellular telephone network, Bluetooth connection, wireless local area network, or perhaps a wireless wide area network. Alternatively, the communications module 1621 may include components to enable land line or hard wired network communications, such as an Ethernet connection, RJ-I l connection, universal serial bus connection, IEEE 1394 (Firewire) connection, or the like. These are intended as non-exhaustive lists and many other alternatives are possible.
The audio unit 1631 is a component of the mobile device 1601 that is configured to convert signals between analog and digital format. The audio unit 1631 is used by the mobile device 1601 to output sound using a speaker 1632 and to receive input signals from a microphone 1633. The speaker 1632 could also be used to announce incoming calls.
A display 1630 is used to output data or information in a graphical form. The display could be any form of display technology, such as LCD, LED, OLED, or the like. The input mechanism 1632 may be any keypad-style input mechanism. Alternatively, the input mechanism 1632 could be incorporated with the display 1630, such as the case with a touch-sensitive display device. Other alternatives too numerous to mention are also possible.

Claims

CLAIMSThe claimed invention is:
1. A method of multi-modal text recognition, comprising: (a) receiving a speech waveform corresponding to text to be recognized;
(b) receiving at least one letter corresponding to a portion of the text, the at least one letter being received from an unambiguous data source;
(c) dynamically reducing a base lexicon into a subset search lexicon network based on the at least one letter; (d) searching the search lexicon network for a best-matching text using speech recognition techniques;
(e) returning the best-matching text to a user interface for a determination whether the best-matching text is the text to be recognized; and
(f) reiterating steps (b) to (e) until the best-matching text is the text to be recognized.
2. The method recited in claim 1, wherein the text to be recognized is a single word.
3. The method recited in claim 1, wherein the text to be recognized is a phrase.
4. The method recited in claim 1, wherein the unambiguous data source comprises a mechanical input device.
5. The method recited in claim 4, wherein the mechanical input device comprises a keypad, a keyboard, a pen, a stylus, and/or a touch screen.
6. The method recited in claim 1, wherein the speech recognition techniques comprise a dual-pass technique.
7. The method recited in claim 1, wherein the speech recognition techniques comprise acoustic pattern matching techniques.
8. The method recited in claim 1, wherein dynamically reducing the active lexicon further comprises evaluating the active lexicon to eliminate entries that are inconsistent with the at least one letter.
9. The method recited in claim 1, wherein the step of receiving the speech waveform occurs prior to the step of receiving the at least one letter.
10. The method recited in claim 1, wherein the step of receiving the speech waveform occurs after the step of receiving the at least one letter.
11. A system for multi-modal text recognition, comprising: an unambiguous data source for receiving input corresponding to text to be recognized; a base lexicon including data that describes waveforms associated with a plurality of textual entries, each entry having a proper spelling, each proper spelling having an initial letter; a lexicon reducing module configured to create a search lexicon from the base lexicon, the search lexicon including entries from the base lexicon having initial letters that correspond to input received from the unambiguous data source; and a speech recognition module configured to receiving a speech waveform corresponding to text to be recognized, and to compare that speech waveform to the search lexicon to identify one or more entries in the search lexicon that correspond to the speech waveform.
PCT/US2007/085031 2006-11-17 2007-11-16 Predictive speech-to-text input WO2008064137A2 (en)

Applications Claiming Priority (6)

Application Number Priority Date Filing Date Title
US85958906P 2006-11-17 2006-11-17
US60/859,589 2006-11-17
US99956507P 2007-10-19 2007-10-19
US60/999,565 2007-10-19
US11/941,910 2007-11-16
US11/941,910 US7904298B2 (en) 2006-11-17 2007-11-16 Predictive speech-to-text input

Publications (2)

Publication Number Publication Date
WO2008064137A2 true WO2008064137A2 (en) 2008-05-29
WO2008064137A3 WO2008064137A3 (en) 2008-11-06

Family

ID=39430528

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2007/085031 WO2008064137A2 (en) 2006-11-17 2007-11-16 Predictive speech-to-text input

Country Status (1)

Country Link
WO (1) WO2008064137A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716454A (en) * 2012-10-08 2014-04-09 三星电子株式会社 Method and apparatus of performing a preset operation by using voice recognition

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5293452A (en) * 1991-07-01 1994-03-08 Texas Instruments Incorporated Voice log-in using spoken name input
US5956683A (en) * 1993-12-22 1999-09-21 Qualcomm Incorporated Distributed voice recognition system
US6223150B1 (en) * 1999-01-29 2001-04-24 Sony Corporation Method and apparatus for parsing in a spoken language translation system
US20040172258A1 (en) * 2002-12-10 2004-09-02 Dominach Richard F. Techniques for disambiguating speech input using multimodal interfaces

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5293452A (en) * 1991-07-01 1994-03-08 Texas Instruments Incorporated Voice log-in using spoken name input
US5956683A (en) * 1993-12-22 1999-09-21 Qualcomm Incorporated Distributed voice recognition system
US6223150B1 (en) * 1999-01-29 2001-04-24 Sony Corporation Method and apparatus for parsing in a spoken language translation system
US20040172258A1 (en) * 2002-12-10 2004-09-02 Dominach Richard F. Techniques for disambiguating speech input using multimodal interfaces

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103716454A (en) * 2012-10-08 2014-04-09 三星电子株式会社 Method and apparatus of performing a preset operation by using voice recognition
EP2717259A3 (en) * 2012-10-08 2014-04-30 Samsung Electronics Co., Ltd Method and apparatus for performing preset operation mode using voice recognition
US10825456B2 (en) 2012-10-08 2020-11-03 Samsung Electronics Co., Ltd Method and apparatus for performing preset operation mode using voice recognition

Also Published As

Publication number Publication date
WO2008064137A3 (en) 2008-11-06

Similar Documents

Publication Publication Date Title
US7904298B2 (en) Predictive speech-to-text input
US8355915B2 (en) Multimodal speech recognition system
US8571862B2 (en) Multimodal interface for input of text
US9830912B2 (en) Speak and touch auto correction interface
EP1941344B1 (en) Combined speech and alternate input modality to a mobile device
US9754586B2 (en) Methods and apparatus for use in speech recognition systems for identifying unknown words and for adding previously unknown words to vocabularies and grammars of speech recognition systems
KR101109265B1 (en) Method for entering text
EP2666159B1 (en) Speech recognition using device docking context
US9922640B2 (en) System and method for multimodal utterance detection
CN110797027B (en) Multi-recognizer speech recognition
CA2567958C (en) Multimodal disambiguation of speech recognition
US20080130699A1 (en) Content selection using speech recognition
KR100769029B1 (en) Method and system for voice recognition of names in multiple languages
US7970612B2 (en) Method and apparatus for automatically completing text input using speech recognition
US20140081641A1 (en) Multimodal disambiguation of speech recognition
US20050049870A1 (en) Open vocabulary speech recognition
EP1595245A1 (en) Method of producing alternate utterance hypotheses using auxiliary information on close competitors
WO2008064137A2 (en) Predictive speech-to-text input

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07864569

Country of ref document: EP

Kind code of ref document: A2

NENP Non-entry into the national phase in:

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07864569

Country of ref document: EP

Kind code of ref document: A2