Hacker News new | ask | show | jobs
by templaedhel 3577 days ago
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...

2 comments

Agreed, it's neat to see an anti-feature being subverted such that it becomes a feature.

(The anti-feature being the enforcement of American prudity onto what should be an indifferent API.)

My original idea was going to involve a dependency on one of the bad words lists available on npm, but then I saw the API censors said words and thought, "Oh, that's easy."