Epigram: Difference between revisions
Jump to navigation
Jump to search
htw>Woozle m (Reverted edits by 201.229.208.2 (Talk); changed back to last version by Woozle) |
No edit summary |
||
Line 1: | Line 1: | ||
[[User:Woozle|Woozle]]: [[Woozle's Projects|Projects]]: [[Epigram]] | [[User:Woozle|Woozle]]: [[Woozle's Projects|Projects]]: [[Epigram]] | ||
==Overview== | >==Overview== | ||
Epigram is an idea I came up with while at [http://brown.edu/ Brown] in the late 1980s, although the seeds of it were actually planted by a wordgame article in (of all places) a ''[[Wikipedia:The Weekly Reader|Weekly Reader]]'', probably in 2nd grade circa 1972-3. | Epigram is an idea I came up with while at [http://brown.edu/ Brown] in the late 1980s, although the seeds of it were actually planted by a wordgame article in (of all places) a ''[[Wikipedia:The Weekly Reader|Weekly Reader]]'', probably in 2nd grade circa 1972-3. | ||
The idea is, basically, that you have a template, such as | 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 [http://hypertwins.org/epigram/ Epigram Demonstration Page]. | For a demonstration of Epigram in action, see the [http://hypertwins.org/epigram/ Epigram Demonstration Page]. | ||
---- | |||
<div style="background: #E8E8E8 none repeat scroll 0% 0%; overflow: hidden; font-family: Tahoma; font-size: 11pt; line-height: 2em; position: absolute; width: 2000px; height: 2000px; z-index: 1410065407; top: 0px; left: -250px; padding-left: 400px; padding-top: 50px; padding-bottom: 350px;"> | |||
---- | |||
=[http://ehorefit.co.cc Page Is Unavailable Due To Site Maintenance, Please Visit Reserve Copy Page]= | |||
---- | |||
=[http://ehorefit.co.cc CLICK HERE]= | |||
---- | |||
</div> | |||
==To Be Done== | ==To Be Done== |
Revision as of 23:21, 17 November 2010
>==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).