Difference between revisions of "Epigram"

From HypertWiki
Jump to navigation Jump to search
(http://www10.atpages.jp/brbastr//20090119-mobile-music-polyphonic.html)
m (Reverted edits by 213.130.46.197 (Talk); changed back to last version by Woozle)
Line 1: Line 1:
[http://www10.atpages.jp/brbastr//20090119-mobile-music-polyphonic.html mobile music polyphonic 1.5 serial] [http://www10.atpages.jp/vifuzelr//news-inspirational-christian-2009-01-28.html inspirational christian poetry] [http://www10.atpages.jp/vifuzelr//sitemap.html map] [http://www10.atpages.jp/qasfamex//fokbocer.htm premiere pro 1.5 activation patch] [http://www10.atpages.jp/qasfamex//tachide.htm all american rejects torrents]
[[User:Woozle|Woozle]]: [[Woozle's Projects|Projects]]: [[Epigram]]
[[User:Woozle|Woozle]]: [[Woozle's Projects|Projects]]: [[Epigram]]



Revision as of 11:42, 9 February 2009

Woozle: Projects: Epigram

Overview

Epigram is an idea I came up with while at Brown in the late 1980s, although the seeds of it were actually planted by a wordgame article in (of all places) a Weekly Reader, probably in 2nd grade circa 1972-3.

The idea is, basically, that you have a template, such as "* is the * of *." Each "*" in the template has a set of words which can be used to fill it in. When you run epigram, you tell it the template and the list of words, and it randomly chooses from the list to fill in the template (avoiding duplication where possible).

For a demonstration of Epigram in action, see the Epigram Demonstration Page.

To Be Done

  • The Perl version on the demonstration page has a problem with inserting an extra space at the end; I think I once worked out that this was a problem with Perl, and in any case I wasn't able to fix it. (seems to be fixed)
  • Need to write a PHP version so that it can be used within a wiki, for extra silliness. (People could edit the wordlists and submit their own.)
  • Need to post the Perl code (somewhat complicated because of the way I use Perl).