I'll let the README file speak for itself:
This is a set of bash scripts for a sentence combinator, inspired by Ramon Llull's Ars Combinatoria.
Llull's combinator was three concentric wheels, each divided into multiple regions, which could be lined up in every different combination of regions, to aid the apologist in arguing through all the possibilities. This combinator, on the other hand, allows the user to 1) enter new sentences, as on slips of paper, dropped into a giant hopper, 2) select some number of sentences, as from that hopper; and allow the user to add a new sentence based on the sentences drawn, and 3) read the history of previous combinations.
To run the program, put all the files other than this README in your
path (for instance, in ~/bin) and then decide what directory you want to
put the sentences and history in (and a few other files used
internally). Then type
combinatoria <path to directory>
The program will create the directory if it doesn't exist.
As released, these scripts depend on you having installed:
I think the program isn't too hard to figure out, but one note: when you name sentences, use underscores ( _ ) rather than spaces, so for instance Test_this_out instead of Test this out
I'm not an accomplished programmer, and the program in question is perhaps... idiosyncratic. The "beautiful" way to look at it is that it's like an old machine. It gets the job done but it was put together by hand. If you want to look at the code, it's fairly simple and you can change it yourself, perhaps.
I made this originally to put on my SSH server, for other people to use there. I might do that, but I found it so useful in doing my own philosophy studies that I thought I would make the source available for other thinkers. It's useful in drawing together parts of a set of thoughts that wouldn't otherwise be drawn together. It doesn't have to be used for philosophical purposes, although that's how I use it most. It can be used for writing poetry as well, for instance.
This code is released CC0 (effectively public domain).
Download the scripts here (tar.gz).