"A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects." (Robert A. Heinlein)

Home » Archives » 03. October 2009

Random text generation with Polygen

Saturday, October 3rd, 2009

I’ve already been talking about random text generation showing some simple database technique in my early posts. I’m now going to talk about Polygen: a simple Linux program that can be programmed to produce virtually random text of any complexity desired.

 

Installation

 

Polygen is installed on Ubuntu simply by apt-get command:

sudo atp-get install polygen, polygen-data

once installed it can be easly tested calling it with one of the example grammars as parameter. For example:

polygen /usr/share/polygen/eng/genius.grm

 

it should write a random answer text like this

How can I do for receiving a RW space bar from Photoshop NT?

 

You neither should mount the modem to the desktop, nor have to click a ROM virus to the DVD driver but from Office and from the control tools inside Internet Explorer 2000 you neither can ever unmount a printer, nor can load the wordprocessor for pinging a display on a BIOS display.

(more…)

Posted by musante at 21:09:00 | permalink | Comments Off