RSS

Automatic Joke Generation

01 Feb

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

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.

http://grok-code.com/12/how-to-write-original-jokes-or-have-a-computer-do-it-for-you/

http://lispm.dyndns.org/lisp/source/new-jokes.lisp

http://groups.google.co.jp/group/comp.lang.lisp/msg/68785e314149682c

http://dobbscodetalk.com/index.php?option=com_myblog&show=Jess-Johnsons-Joke-Generator-in-Lisp.html&Itemid=29

Advertisements
 
2 Comments

Posted by on February 1, 2010 in Linguistics, Lisp, Programlama

 

2 responses to “Automatic Joke Generation

  1. Slobodan Blazeski

    February 2, 2010 at 10:08

    Huh the machines are taking over the humor department too. Soon will be needed just to generate electricity.

     
  2. Emre Sevinc

    February 3, 2010 at 13:54

    I guess the machines are rather part of the tragedy 😉

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: