Apple has been given the rights to work on a system that detects swear words in audio as someone listens to it.The patent includes details of how “unwanted audio may be removed during audio playback” and “may be replaced with alternate audio, such as non-explicit lyrics, a beep or silence”.
Source: Music could start being censored while you listen to it – BBC Newsbeat