7 ms·
Show HN: Grumbles.js – Detects when your users swear out loud
- deleted 10y ago[deleted]
- Dwolk 10y agobecause that's not creepy.
- mrspeaker 10y agoHa ha, funny idea! After examining my own behaviour the other day I realised that if I ever owned a store that faced the street, I would totally put a microphone in the window to get customer feedback from after-hours window-shoppers: you can't solicit that kind of honesty!
- joeframbach 10y agoAt the grocery store the other day, my wife and I were deciding between a few items. The thought occurred to me that a microphone in the aisle would be huge for customer feedback! A few seconds later I realized that it would just be a feed of people yelling at their kids/spouses... not very helpful.
- wheaties 10y agoActually yu can and someone already built and sold a business around it to the tune of nearly $100M.
- chowes 10y agoTinfoil hat aside, I kinda like this. We work with a decent number of older, non technical people, and our product team would love to be a fly on the wall to hear where they're frustrated in the product. Obviously due to security concerns we could never implement something like this, but in a perfect world this would be a killer feature.
- vorotato 10y agoNeat idea but the piece of shit ;) couldn't detect me calling it one.
- kpthunder 10y agoWorked for me: http://imgur.com/a/43Ksu http://imgur.com/a/43Ksu
- nerdponx 10y agoDoes this mean that Chrome is always listening on my computer's internal microphone?
- d0vs 10y agoYou have to allow it first on a per-website basis
- gruez 10y agoWhich I'm betting nobody will do
- mod 10y agoA few folks in this thread already have.
- kpthunder 10y agoYou actually have to allow it per-website per-visit (not even per-session).
- Klathmon 10y agono, it's per domain. You only need to per-visit when it's an insecure localhost endpoint or something similar IIRC. (or if you have an extension which clears that setting every page load)
- jamshid 10y agoIt works but Chrome's Web Speech api seems slow. Test at https://www.google.com/intl/en/chrome/demos/speech.html https://www.google.com/intl/en/chrome/demos/speech.html. The Web Speech api doesn't work on mobile browsers, would be a lot cooler if it did.
- booleandilemma 10y agoYou are fined one credit for a violation of the Verbal Morality Statute.
- templaedhel 10y agoI 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%204.49.14%20PM.png https://cl.ly/3A1F0r3U1H1D/Screen%20Shot%202016-09-03%20at%2...
- besselheim 10y agoAgreed, 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.)
- kpthunder 10y agoMy 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."
- zschuessler 10y agoFun fact: this won't tell you which bad word. Google's implementation of the speech API returns asterisks for words it deems bad. See: https://github.com/knpwrs/grumbles.js/blob/master/src/grumbles.js https://github.com/knpwrs/grumbles.js/blob/master/src/grumbl... It's also interesting to see which words Google determines is bad, and which they mysteriously don't. The API does real time processing of sentence structure and will return "<three asterisks> on me" and "cum to the park" correctly, based on intent. (Sorry for the offensive speech!) For a side project I needed to find every single English word/phrase the API would filter. Stumbled upon that in amazement. (Side note: speaking a long list of bad words into a microphone very slowly was the most fun QA I've done)
- kpthunder 10y agoYeah, like I said in response to another comment: > 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."
- c22 10y agoI always found this hilarious, my phone won't let me swear in a text I am sending using voice to text but it will gladly boom "fuck" over my car's Bluetooth when someone sends me a text with swear words.
- Houshalter 10y agoSince the voice recognition isn't perfect it means there is a chance it could make false positives and write a bad word you didn't say. Then people complain to Google or sue them. Similarly google search won't auto suggest offensive words or certain libelous statements (e.g. "X is a criminal", even if they are, and even if its a common search phrase.)
- slededit 10y agoSue them for what? Hurt feelings?
- 10y ago
- diegorbaquero 10y agoAlthough the demo takes some time this is awesome! Thanks for sharing
- justinlardinois 10y agoIgnoring the unlikelihood of someone actually authorizing microphone permissions (because it's no fun if we take that into consideration), what are some good use cases for this library. Reminds me of those rumors that swearing at an automated phone system will usually cause it to direct you to a human operator. I've never given it a try myself to see if it's true.
- cyberferret 10y agoNifty idea - but I couldn't trigger it. Must be because it detected my sweet choir boy nature, and knew that my attempts at profanity was 'cute' rather than grumpy!
- gcr 10y agoI don't like the idea of streaming every visitor's audio to Google servers as they're viewing the site.
- sverige 10y agoWhat the fuck is this shit doing on HN? (Just kidding, for those who can't detect sarcasm. That's a killer idea - build an app that detects sarcasm in text, deploy on HN, have a happier community.)
- trothamel 10y agoIBM's Watson doesn't detect sarcasm, but it does detect anger in your post. https://tone-analyzer-demo.mybluemix.net/ https://tone-analyzer-demo.mybluemix.net/
- andrewclunn 10y agoGeeze Louis! What the heck? Gosh darn it! Is there a southern grandma setting?
- djrogers 10y agoOk, I know this is pedantic, but grumbling is not shouting swear words - in fact it's the opposite of shouting.
- EdSharkey 10y ago"Your browser does not support the SpeechRecognition API. :(" HURRAY! And, it never shall.
- jjallen 10y agoFYI, only single words worked: fu## and sh##. Didn't print out entire phrases, even when I simplified the swear words (stemmed them).
- taneq 10y agoWow, because I really want to have my computer listening in on everything I say and snitching (with context) to an unknown listener if I say a bad word. Cool tech. Uncool use.