Scientists develop software for recognizing double entendre joke.
Chloe Kiddon and Yuriy Brun developed the system, which turns seemingly innocent sentences 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.
"Automating this process means identifying sentences that contain potential euphemisms and follow a particular structure - a "hard natural language understanding problem," New Scientist quoted the researchers as saying.
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 "sexiness" function to determine whether a sentence is a potential TWSS. Examples of nouns with a high sexiness 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 from twssstories.com and non-TWSS text from sites such as wikiquote.org.
The system turned out to be around 70 percent 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 percent precision.
The results will be presented at the Annual Meeting of the Association for Computational Linguistics in June. (ANI)
Copyright 2011 Asian News International (ANI) - All Rights Reserved.
Provided by Syndigate.info an Albawaba.com company