Puerile Tech

Scientists have trained a computer program, called DEviaNT, to identify good "That's what she said" jokes:

Automating this process means identifying sentences that contain potential euphemisms and follow a particular structure – a "hard natural language understanding problem", say the researchers. … 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".

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".