Double entendres have been making us laugh since the days of Chaucer and Shakespeare, but up until now computers weren't in on the joke. ChloƩ Kiddon and Yuriy Brun, two computer scientists at the University of Washington, have developed a system for recognising a particular type of double entendre - the "that's what she said" joke, in which seemingly innocent sentences can be transformed into lewd utterances by appending just four short words.
The pair describe the "TWSS problem" as recognising when it is funny to follow a sentence with "that's what she said" - they give "Don't you think these buns are a little too big for this meat?" as one example. The equivalent in the UK is appending sentences with "as the actress said to the bishop" and is used in the same way.
Automating this process means identifying sentences that contain potential euphemisms and follow a particular structure - a "hard natural language understanding problem", say the researchers. Kiddon and Brun began by analysing two different bodies of text - one containing 1.5 million erotic sentences, and another with 57,000 from standard literature.
They then evaluated nouns, adjectives and verbs with a "lala" function to determine whether a sentence is a potential TWSS. Examples of nouns with a high lala function are "rod" and "meat", while raunchy adjectives are "hot" and "wet".
Their automated system, known as Double Entendre via Noun Transfer or DEviaNT, rates sentences for their TWSS potential by looking for particular elements such as nouns that can be interpreted in multiple ways. The researchers trained DEviaNT by gathering jokes fromtwssstories.com and non-TWSS text from sites such as wikiquote.org.
The system turned out to be around 70% accurate, but the pair say this is deceptively low because much of the training data did not consist of TWSS jokes, and with a more even data set it could achieve 99.5% precision.
The results will be presented at the Annual Meeting of the Association for Computational Linguistics in June. Future work could also see DEviaNT extended to identify other kinds of jokes, say the researchers, writing "The technique of metaphorical mapping may be generalised to identify other types of double entendres and other forms of humor".
That's what she said.
Link: http://www.newscientist.com/blogs/onepercent/2011/04/software-works-out-whether-tha.html
"That's What She Said," even if it became so overused it stopped being funny, is still my favorite joke of the past few years.
ReplyDeletehaha the video ... just hilarious
ReplyDeletegreat video, i love the office!
ReplyDeleteHahaha, really like The Office. Steve Carrell's the best
ReplyDeleteI love using the words double entendre and watching as people have no idea what it means.
ReplyDeleteSteve Carrell is awesome! Thanks for the vid, was lulz worthy ;>
ReplyDeleteI wish he wasn't leaving the show :(
ReplyDeleteI love these sort of jokes. Always makes you careful about what you're about to say...
ReplyDeletemeh
ReplyDeleteAhaha Insightful!
ReplyDeleteit was painful to watch that show sometimes
ReplyDeleteHow cool :D Being a scientist must be awesome sometimes. ^^
ReplyDeletei hate the office, little britin was funny though
ReplyDeleteI still love saying it
ReplyDeletelol nice, i love the office!
ReplyDeletehaha great office clip
ReplyDeletehah , nice blog ^^
ReplyDeleteI sorta hate them now.
ReplyDeleteThis might be the most substantial piece of literature I have ever read in my entire life.
ReplyDeleteStops being funny when everybody says it in my opinion
ReplyDeletenice blog :D, the funnyspider is a great name
ReplyDeleteHaha, Good one from Steve Carrel
ReplyDeleteOnly nerds would spend that much time delving into the american language, writing papers and programs, for "that's what she said"
ReplyDeleteLove it.
the office is legendary
ReplyDeletethat's what she said
ReplyDeleteAnd just when I thought that Star Trek nerds were the worst, a new challenger approaches! :P Critical analysis of double entendre!
ReplyDeleteWATT i gotta read this again
ReplyDeleteThat what she said...
ReplyDeleteProbably one of my most frequently used phrases :D
ReplyDeleteLmao thats what she said button like the staples button! "TWSS!"
ReplyDeleteit made me laugh thank you
ReplyDeletethats what she said! :D
ReplyDeletefollowed!
I gotta say, Will Ferrell was a good choice for the show to try and replace Steve with.
ReplyDeleteHaha I don't even like the office but I like that clip! Great post!
ReplyDeleteNice post man!
ReplyDeleteThats what she said.
ReplyDeleteMan, computers are remarkable, aren't they?
ReplyDeletelmao epic
ReplyDeleteClassic.
ReplyDelete