System and method for context detection of objectionable speech in video
AssigneeInternational Business Machines Corporation
InventorsIstvan Rechner, Attila Toth, Andras Balogh, Eszter Kotra
Life of this patent
Estimating the term…
Abstract
Embodiments provide a system and method for filtering speech in a video. Speech in video may contain objectionable words that need to be filtered. To ascertain whether a word or phrase is objectionable, the contextual information from surrounding words and the contextual information from detected objects and scenes in the video are used. Unwanted words may be filtered or collected and presented to the user.
Claims20
A computer implemented method in a data processing system comprising a processor and a memory comprising instructions, which are executed by the processor to cause the processor to implement speech filtration of a video, the method comprising:
- converting speech in a scene of the video to text, wherein the text comprises words;
- evaluating the text to determine candidate words to filter;
- for each identified candidate word:
- determining if there is a non-objectionable meaning to the identified candidate word;
- and
- if there are no non-objectionable meanings to the identified candidate word, then filtering the candidate word from the speech;
- for each candidate word having at least one non-objectionable meaning:
- identifying surrounding words in the scene;
- calculating a first context for the candidate word using semantic analysis of the surrounding words;
- receiving a list of objects in the scene;
- calculating a second context for the candidate word using semantic analysis of the list of objects;
- determining if the candidate word is objectionable based on the first and second contexts;
- and
- if the candidate word is objectionable, then filtering the candidate word from the speech.
A computer program product for speech filtration of a video, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to:
- convert speech in a scene of the video to text, wherein the text comprises words;
- evaluate the text to determine candidate words to filter;
- for each identified candidate word:
- determine if there is a non-objectionable meaning to the identified candidate word;
- and
- if there are no non-objectionable meanings to the identified candidate word, then filter the candidate word from the speech;
- for each candidate word having at least one non-objectionable meaning:
- identify surrounding words in the scene;
- calculate a first context for the candidate word using semantic analysis of the surrounding words;
- receive a list of objects in the scene;
- calculate a second context for the candidate word using semantic analysis of the list of objects;
- determine if the candidate word is objectionable based on the first and second contexts;
- and
- if the candidate word is objectionable, then filter the candidate word from the speech.
A system for providing speech filtration of a video, comprising a processor configured to:
- convert speech in a scene of the video to text, wherein the text comprises words;
- evaluate the text to determine candidate words to filter;
- for each identified candidate word:
- determine if there is a non-objectionable meaning to the identified candidate word;
- and
- if there are no non-objectionable meanings to the identified candidate word,
- then filter the candidate word from the speech;
- for each candidate word having at least one non-objectionable meaning:
- identify surrounding words in the scene;
- calculate a first context for the candidate word using semantic analysis of the surrounding words;
- receive a list of objects in the scene;
- calculate a second context for the candidate word using semantic analysis of the list of objects;
- determine if the candidate word is objectionable based on the first and second contexts;
- and
- if the candidate word is objectionable, then filter the candidate word from the speech.
Dependencies are inferred from the claim text.