Software automates "That What She Said" jokes. Yay.

This is the future — wherein the greatest minds of our generation use natural language processing to create a program that adds “That’s What She Said” as a punchline. Michael Scott would be proud:

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 “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”. 

[via]