The invention relates generally to generating closed captions and more particularly to a system and method for automatically generating closed captions using speech recognition.
Closed captioning is the process by which an audio signal is translated into visible textual data. The visible textual data may then be made available for use by a hearing-impaired audience in place of the audio signal. A caption decoder embedded in televisions or video recorders generally separates the closed caption text from the audio signal and displays the closed caption text as part of the video signal.
Speech recognition is the process of analyzing an acoustic signal to produce a string of words. Speech recognition is generally used in hands-busy or eyes-busy situations such as when driving a car or when using small devices like personal digital assistants. Some common applications that use speech recognition include human-computer interactions, multi-modal interfaces, telephony, dictation, and multimedia indexing and retrieval. The speech recognition requirements for the above applications, in general, vary, and have differing quality requirements. For example, a dictation application may require near real-time processing and a low word error rate text transcription of the speech, whereas a multimedia indexing and retrieval application may require speaker independence and much larger vocabularies, but can accept higher word error rates.
In accordance with an embodiment of the present invention, a system for generating closed captions from an audio signal comprises an audio pre-processor configured to correct one or more predetermined undesirable attributes from an audio signal and to output one or more speech segments. The system also comprises a speech recognition module configured to generate from the one or more speech segments one or more text transcripts and a post processor configured to provide at least one pre-selected modification to the text transcripts. Further included is an encoder configured to broadcast modified text transcripts corresponding to the speech segments as closed captions.
In another embodiment, a method of generating closed captions from an audio signal comprises correcting one or more predetermined undesirable attributes from the audio signal and outputting one or more speech segments; generating from the one or more speech segments one or more text transcripts; providing at least one pre-selected modification to the text transcripts; and broadcasting modified text transcripts corresponding to the speech segments as closed captions.
These and other features, aspects, and advantages of the present invention will become better understood when the following detailed description is read with reference to the accompanying drawings in which like characters represent like parts throughout the drawings, wherein:
The context-based models 16 are configured to identify an appropriate context 17 associated with the text transcripts 22 generated by the speech recognition engine 12. In a particular embodiment, and as will be described in greater detail below, the context-based models 16 include one or more topic-specific databases to identify an appropriate context 17 associated with the text transcripts. In a particular embodiment, a voice identification engine 30 may be coupled to the context-based models 16 to identify an appropriate context of speech and facilitate selection of text for output as captioning. As used herein, the “context” refers to the speaker as well as the topic being discussed. Knowing who is speaking may help determine the set of possible topics (e.g., if the weather anchor is speaking, topics will be most likely limited to weather forecasts, storms, etc.). In addition to identifying speakers, the voice identification engine 30 may also be augmented with non-speech models to help identify sounds from the environment or setting (explosion, music, etc.). This information can also be utilized to help identify topics. For example, if an explosion sound is identified, then the topic may be associated with war or crime.
The voice identification engine 30 may further analyze the acoustic feature of each speech segment and identify the specific speaker associated with that segment by comparing the acoustic feature to one or more voice identification models 31 corresponding to a set of possible speakers and determining the closest match based upon the comparison. The voice identification models may be trained offline and loaded by the voice identification engine 30 for real-time speaker identification. For purposes of accuracy, a smoothing/filtering step may be performed before presenting the identified speakers to avoid instability (generally caused due to unrealistic high frequency of changing speakers) in the system.
The processing engine 14 processes the text transcripts 22 generated by the speech recognition engine 12. The processing engine 14 includes a natural language module 15 to analyze the text transcripts 22 from the speech recognition engine 12 for word error correction, named-entity extraction, and output formatting on the text transcripts 22. Word error correction involves use of a statistical model (employed with the language model) built off line using correct reference transcripts, and updates thereof, from prior broadcasts. A word error correction of the text transcripts may include determining a word error rate corresponding to the text transcripts. The word error rate is defined as a measure of the difference between the transcript generated by the speech recognizer and the correct reference transcript. In some embodiments, the word error rate is determined by calculating the minimum edit distance in words between the recognized and the correct strings. Named entity extraction processes the text transcripts 22 for names, companies, and places in the text transcripts 22. The names and entities extracted may be used to associate metadata with the text transcripts 22, which can subsequently be used during indexing and retrieval. Output formatting of the text transcripts 22 may include, but is not limited to, capitalization, punctuation, word replacements, insertions and deletions, and insertions of speaker names.
Referring to
In some embodiments, the context-based models 16 analyze the text transcripts 22 based on a topic specific word probability count in the text transcripts. As used herein, the “topic specific word probability count” refers to the likelihood of occurrence of specific words in a particular topic wherein higher probabilities are assigned to particular words associated with a topic than with other words. For example, as will be appreciated by those skilled in the art, words like “stock price” and “DOW industrials” are generally common in a report on the stock market but not as common during a report on the Asian tsunami of December 2004, where words like “casualties,” and “earthquake” are more likely to occur. Similarly, a report on the stock market may mention “Wall Street” or “Alan Greenspan” while a report on the Asian tsunami may mention “Indonesia” or “Southeast Asia”. The use of the context-based models 16 in conjunction with the topic-specific database 34 improves the accuracy of the speech recognition engine 12. In addition, the context-based models 16 and the topic-specific databases 34 enable the selection of more likely word candidates by the speech recognition engine 12 by assigning higher probabilities to words associated with a particular topic than other words.
Referring to
An encoder 44 broadcasts the text transcripts 22 corresponding to the speech segments as closed caption text 46. The encoder 44 accepts an input video signal, which may be analog or digital. The encoder 44 further receives the corrected and formatted transcripts 23 from the processing engine 14 and encodes the corrected and formatted transcripts 23 as closed captioning text 46. The encoding may be performed using a standard method such as, for example, using line 21 of a television signal. The encoded, output video signal may be subsequently sent to a television, which decodes the closed captioning text 46 via a closed caption decoder. Once decoded, the closed captioning text 46 may be overlaid and displayed on the television display.
Referring now to
The speech recognition module 104 may be similar to the speech recognition module 26, described above, and generates text transcripts from speech segments. In one optional embodiment, the speech recognition module 104 may utilize one or more speech recognition engines that may be speaker-dependent or speaker-independent. In this embodiment, the speech recognition module 104 utilizes a speaker-dependent speech recognition engine that communicates with a database 110 that includes various known models that the speech recognition module uses to identify particular words. Output from the speech recognition module 104 is recognized text 105.
In accordance with this embodiment, the audio pre-processor 106 functions to correct one or more undesirable attributes from the audio signal 101 and to provide speech segments that are, in turn, fed to the speech recognition module 104. For example, the pre-processor 106 may provide breath reduction and extension, zero level elimination, voice activity detection and crosstalk elimination. In one aspect, the audio pre-processor is configured to specifically identify breaths in the audio signal 101 and attenuate them so that the speech recognition engine can more easily detect speech. Also, where the duration of the breath is less than a time interval set by the speech recognition module for identifying individual words, the duration of the breath is extended to match that interval.
To provide zero level elimination, occurrences of zero-level energy with the audio signal 101 are replaced with a predetermined low level of background noise. This is to facilitate the identification of speech and non-speech boundaries by the speech recognition engine.
Voice activity detection (VAD) comprises detecting speech segments within the source audio input and filters out the non-speech segments. As a consequence of this, segments that do not contain speech (e.g., stationary background noise) are also identified. These non-speech segments may be treated like breath noise (attenuated or extended, as necessary). Note the VAD algorithms and breath-specific algorithms generally do not identify the same type of non-speech signal. One embodiment uses a VAD and a breath detection algorithm in parallel to identify non-speech segments of the input signal.
The closed captioning system may be configured to receive audio input from multiple audio sources (e.g., microphones or devices). The audio from each audio source is connected to an instance of the speech recognition engine. For example, on a studio set where several speakers are conversing, any given microphone will not only pick up the its own speaker, but will also pick up other speakers. Cross talk elimination is employed to remove all other speakers from each individual microphone line, thereby capturing speech from a sole individual. This is accomplished by employing multiple adaptive filters. More details of a suitable system and method of cross talk elimination for use in the practice of the present embodiment are available in U.S. Pat. No. 4,649,505, to Zinser Jr. et al, the contents of which are hereby incorporated herein by reference to the extent necessary to make and practice the present invention.
Optionally, the audio pre-processor 106 may include a speaker segmentation module 24 (
The post processor 108 functions to provide one or more modifications to the text transcripts generated by the speech recognition module 104. These modifications may comprise use of language models 114, similar to that employed with the language models 45 described above, which are provided for use by the post processor 108 in correcting the text transcripts as described above for context, word error correction, and/or vulgarity cleansing. In addition, the underlying language models, which are based on topics such as weather, traffic and general news, also may be used by the post processor 108 to help identify modifications to the text. The post processor may also provide for smoothing and interleaving of captions by sending text to the encoder in a timely manner while ensuring that the segments of text corresponding to each speaker are displayed in an order that closely matches or preserves the order actually spoken by the speakers. Captioned text 109 is output by the post processor 108.
A configuration manager 116 is provided which receives input system configuration 119 and communicates with the audio pre-processor 106, the post processor 108, a voice identification module 118 and training manager 120. The configuration manager 116 may function to perform dynamic system configuration to initialize the system components or modules prior to use. In this embodiment, the configuration manager 116 is also provided to assist the audio pre-processor, via the audio router 111, by initializing the mapping of audio lines to speech recognition engine instances and to provide the voice identification module 118 with the a set of statistical models or voice identification models 110 via training manager 120. Also, the configuration manager controls the start-up and shutdown of each component module it communicates with and may interface via an automation messaging interface (AMI) 117.
It will be appreciated that the voice identification module 118 may be similar to the voice identification engine 30 described above, and may access database or other shared storage 110 for voice identification models.
The training manager 120 is provided in an optional embodiment and functions similar to the training modules 42 described above via input from storage 121.
An encoder 122 is provided which functions similar to the encoder 44 described above.
In operation of the present embodiment, the audio signal 101 received from the audio board 102 is communicated to the audio pre-processor 106 where one or more predetermined undesirable attributes are removed from the audio signal 101 and one or more speech segments is output to the speech recognition module 104. Thereafter, one or more text transcripts are generated by the speech recognition module 104 from the one or more speech segments. Next, the post processor 108 provides at least one pre-selected modification to the text transcripts and finally, the modified text transcripts, corresponding to the speech segments, are broadcast as closed captions by the encoder 122. Prior to this process the configuration manager configures, initializes, and starts up each module of the system.
As illustrated in
As illustrated in
While the invention has been described in detail in connection with only a limited number of embodiments, it should be readily understood that the invention is not limited to such disclosed embodiments. Rather, the invention can be modified to incorporate any number of variations, alterations, substitutions or equivalent arrangements not heretofore described, but which are commensurate with the spirit and scope of the invention. Additionally, while various embodiments of the invention have been described, it is to be understood that aspects of the invention may include only some of the described embodiments. Accordingly, the invention is not to be seen as limited by the foregoing description, but is only limited by the scope of the appended claims.
This application is a continuation in part of U.S. patent application Ser. No. 11/287,556, filed Nov. 23, 2005, and entitled “System and Method for Generating Closed Captions.”
Number | Date | Country | |
---|---|---|---|
Parent | 11287556 | Nov 2005 | US |
Child | 11538936 | Oct 2006 | US |