Posts Tagged ‘jokes’

How to Write Original Jokes (Or Have A Computer Do It For You)

Saturday, March 1st, 2008

This is a Common Lisp code walkthrough for generating original jokes. You seed the generator with the knowledge about different objects, and it uses that vocabulary to generate unique jokes. All of the jokes are of the form: “What do you get when you cross X with Y?” This code was originally written for my CS288: An AI Approach to Natural Language Processing class at UC Berkeley in 2004. (more…)