Unsupervised joke generation from big data [PDF], a paper by University of Edinburgh researchers Sasa Petrovic and David Matthews, describes an ingenious and successful method for teaching a computer to make up jokes like "I like my relationships like I like my source, open;" "I like my coffee like I like my war, cold;" and "I like my boys like I like my sectors, bad." The researchers wrote code that called on Google's n-gram database to find noun-attribute pairs, zero in on nouns with ambiguous meaning, and automatically generate jokes.
The problem in implementing such a model is in getting the necessary data. The word frequencies needed were gathered from Google's n-gram database, which was augmented by tagging words with their part of speech using Wordnet. This was then used to work out how often each noun occurred with the same attribute and the other statistics needed to apply the rules given above.
Next some human jokes, harvested from Twitter, were mixed in and a people were asked to rate the set as funny or not funny. Of the human jokes 33% were judged to be funny compared to the computer generated jokes of which 16% were funny. You could say that currently AI is half as funny as a human.
The joking doesn't stop there as the authors also couldn't resist naming their computation of the log likelihood of a joke as the LOcal Log-likelihood or LOL and when ranked according to LOL we get Rank OF Likelihood or ROLF. Hmmm.
AI Is Funny - A Generative Joke Model [Alex Armstrong/I Programmer]
Matthew Borgatti, purveyor of such Boing Boing favorites as the Guy Fawkes Bandanna, the War Boy Bandanna, and the Lockpick Earrings, offers you your choice of his wares at at 20% discount, with the coupon code “jackhammerjill.”
Boing Boing readers already know about MakieLab, the startup where my friends and I make 3D printed, customizable dolls called Makies.
Sgt Crispy writes, “XKCD creator Randall Munroe, has made a spiffy little hoverboard game. Looks to be small, however, when you realize that boundaries are made to be broken, A massive world opens up to be explored.”
Today and tomorrow only we are offering an additional 15% off the entire Boing Boing store (some exclusions may apply). Simply use coupon code: BLACKFRIDAY at checkout! Below are a few of our favorites from the store: First Generation Lytro 16GB Camera: The First Consumer Camera to Capture the Entire Light FieldAdobe Training Videos: Lifetime Subscription: 6,000+ Adobe […]
Today only in the Boing Boing Store we are offering an extra 15% off of the below VPN deals just use coupon code: VPN15 at checkout. proXPN VPN: Premium Lifetime Subscription Surf the web with ultimate peace of mind – both at home and on the road – over proXPN’s fully-encrypted, lightning-fast servers. Your lifetime premium subscription […]
These knitted gloves are here to save the day (and your hands) with an ultra-comfy, double-layer that will allow you to stay warm and use your phone. Now you can take photos on the fly, text, Tinder, and more without letting freezing temperatures get in your way. Plus they work with all touchscreens, so no […]