I think the most interesting part of this for me is the fact it relies on the the SpeechRecognition api to return swear words redacted with asterisks.
See for example George Carlin's "Seven dirty words" as returned by the SpeechRecognition demo https://cl.ly/3A1F0r3U1H1D/Screen%20Shot%202016-09-03%20at%2...