Knock Knock Jokes
Here's an interesting development: A couple of have developed an artificial-intelligence program that can understand knock-knock jokes.
Knock-knock jokes, of course, frequently rely on a pun, as with: "Knock, Knock. Who is there? Wendy. Wendy who? Wendy last time you took a bath?" Humans intuitively understand when a pun is being made, because we're able to notice that a crucial word in the punchline is being misused semantically -- it's an incorrect meaning -- and is riding along purely because it sounds like the correct word. But computers have huge, huge problems with grasping semantics and homonyms.
So to create their knock-knock joke 'bot, the researchers programmed their AI with a big list of homonyms and their various meanings -- including, significantly, a lot of proper names (like "Wendy") because a lot of knock-knock jokes rely on proper names. Then whenever the AI reads a new knock-knock joke, it identifies the crucial "joke" word, then pings its database of homonyms to see if any of the words' rival meanings "fits" the joke. If it does, the bot flags the joke as "funny."
