You are on page 1of 2

works out the proportion of characters within the text according to a chosen order.

For example, an order of 2 means the program looks at pairs of letters, an order of
3 means triplets of letters and so on. The software can regurgitate random text
that is controlled by the proportion of characters. The results can be quite
surprising.
0 order produces random text based on the proportion of letters within the input
text, 2nd order produces gibberish - 6th order and above can often be meaninglessly
readable.
Generating Random Text gives more information.
Use the sample text below, or else you can replace it by typing over or pasting in
your own block of text.
Now is the winter of our discontent
Made glorious summer by this sun of York;
And all the clouds that lour'd upon our house
In the deep bosom of the ocean buried.
Now are our brows bound with victorious wreaths;
Our bruised arms hung up for monuments;
Our stern alarums changed to merry meetings,
Our dreadful marches to delightful measures.
Grim-visaged war hath smooth'd his wrinkled front;
And now, instead of mounting barded steeds
To fright the souls of fearful adversaries,
He capers nimbly in a lady's chamber
To the lascivious pleasing of a lute.
But I, that am not shaped for sportive tricks,
Nor made to court an amorous looking-glass;
I, that am rudely stamp'd, and want love's majesty
To strut before a wanton ambling nymph;
I, that am curtail'd of this fair proportion,

500
No of chars
(less than 3500)

5
Order
(2 - 20)
Show frequency table

Be patient. There is a fair bit of processing to be done.


(The technique is to scan through the content of a block of text and create a
frequency table of what letters come after others. For example after the letter "q"
there will always be a "u", but after an "e" there can be a range of letters - 12
"r", 14 "e", 5 "l" and so on. The frequency table can cover different orders. 2nd
order text is where 2 consecutive letters are matched, 3rd order is 3 consecutive
letters, 4th order is 4 letters and so on. We then generate text which is randomly
produced but has the same distribution of letter groups as the input text. The
result depends greatly on the source text and on the order. Technically, this
process is based on Markov chains.)

Try these texts:


In the first place we have granted to God, and by this our present charter
confirmed for us and our heirs forever that the English Church shall be free, and
shall have her rights entire, and her liberties inviolate; and we will that it be
thus observed; which is apparent from this that the freedom of elections, which is
reckoned most important and very essential to the English Church, we, of our pure
and unconstrained will, did grant, and did by our charter confirm and did obtain
the ratification of the same from our lord, Pope Innocent III, before the quarrel
arose between us and our barons: and this we will observe, and our will is that it
be observed in good faith by our heirs forever. We have also granted to all freemen
of our kingdom, for us and our heirs forever, all the underwritten liberties, to be
had and held by them and their heirs, of us and our heirs forever.

Fog everywhere. Fog up the river, where it flows among green aits and meadows; fog
down the river, where it rolls deified among the tiers of shipping and the
waterside pollutions of a great (and dirty) city. Fog on the Essex marshes, fog on
the Kentish heights. Fog creeping into the cabooses of collier-brigs; fog lying out
on the yards and hovering in the rigging of great ships; fog drooping on the
gunwales of barges and small boats. Fog in the eyes and throats of ancient
Greenwich pensioners, wheezing by the firesides of their wards; fog in the stem and
bowl of the afternoon pipe of the wrathful skipper, down in his close cabin; fog
cruelly pinching the toes and fingers of his shivering little apprentice boy on
deck. Chance people on the bridges peeping over the parapets into a nether sky of
fog, with fog all round them, as if they were up in a balloon and hanging in the
misty clouds.

yes and those handsome Moors all in white and turbans like kings asking you to sit
down in their little bit of a shop and Ronda with the old windows of the posadas 2
glancing eyes a lattice hid for her lover to kiss the iron and the wineshops half
open at night and the castanets and the night we missed the boat at Algeciras the
watchman going about

You might also like