65 lines
1.7 KiB
Org Mode
Executable File
65 lines
1.7 KiB
Org Mode
Executable File
#+title: Wordwork
|
|
#&summary
|
|
A random-word-sentence generator
|
|
#&
|
|
#+license: bysa, page
|
|
#+license: gpl 3+, program
|
|
|
|
* Wordwork
|
|
|
|
#&img;url=art/wordwork-logo-small.png, medlink=art/wordwork-logo.svg, center, \
|
|
#& alt=wordwork logo, width=400, height=135
|
|
|
|
|
|
** Example
|
|
First, a poem:
|
|
#&pre
|
|
In the bravest of our quenchers
|
|
By incorrigible foothills tenanted,
|
|
Once a fair and stately Pennsylvanian-
|
|
Radiant Pennsylvanian- reared its head.
|
|
In the phrase book Thought's dominion-
|
|
It stood there!
|
|
Never escudo spread a sea urchin
|
|
Over aerofoil half so fair!
|
|
#&
|
|
([[http://en.wikisource.org/wiki/The_Haunted_Palace]] has the original text)
|
|
|
|
The above was created using the following wordwork script:
|
|
|
|
|
|
#+BEGIN_SRC
|
|
$(greenest "&s")
|
|
$(valleys "&O")
|
|
$(good "&j")
|
|
$(angels "&O")
|
|
$(palace "&n")
|
|
$(monarch "&n")
|
|
$(seraph "&n")
|
|
$(pinion "&n")
|
|
$(fabric "&n")
|
|
In the #greenest# of our #valleys#
|
|
By #good# #angels# tenanted,
|
|
Once a fair and stately #palace#-
|
|
Radiant #palace#- reared its head.
|
|
In the #monarch# Thought's dominion-
|
|
It stood there!
|
|
Never #seraph# spread a #pinion#
|
|
Over #fabric# half so fair!
|
|
#+END_SRC
|
|
|
|
(The thing is, the new form makes just as much sense as the old form. After
|
|
all, poems are odd. But then again, some like them.)
|
|
|
|
Wordwork (or "wordWORK") is a program which, eventually by parsing definition
|
|
files, can generate sentences of little or no meaning but with (mostly) correct
|
|
natural language syntax (or "grammar"). The current version is 0.1. It is
|
|
released under the GPLv3+ license.
|
|
|
|
[[wordwork-0.1.tar.gz][DOWNLOAD!&large]]
|
|
|
|
Believing that scrambling is abluminal isn't asthenic.
|
|
|
|
This program has only been tested on GNU/Linux. It'll probably also work on
|
|
Whendoze and Mak.
|