From: mvm@caesun6.epg.harris.com (Matt Mahoney)
Subject: Gibberish
Date: Wed, 11 Nov 1992 18:51:45 GMT
Reply-To: mvm@epg.harris.com (Matt Mahoney)
Organization: Engineering Productivity Group, Harris Corp., Melbourne, FL

I once wrote a program to print an endless stream of halfway-readable
gibberish.  I no longer have source code (so don't ask), but I did
save some output (below).  The algorithm is:

1.  Start with a large sample of text.  (I used /usr/games/lib/fortunes.dat).

2.  Pick a word at random.  I defined punctuation characters as words.

3.  Move forward to the next word and print it.

4.  Find another (possibly the same) random occurance of the word 
just printed.

5.  Go to 3.

Here is some sample output.  Enjoy...

nasally- statements in the sun god Ra! Look in and the fairy fields of.
COMMENT Oh my friend to change a fruitcake is a proposed bill and send signals
here? They say not to eat crab with UNIX be a sick computers don't succeed.--
Dean The crowds fell to do But a screen, which means the complete than being
eaten" and animals turned on the MX missile to the ball again. Washington Post
Pretend to avoid cliches like this is perfect, and also simplifies modifying
the only makes a sentence with micrometric precisions from the streets, new
today. More rapid than to your article, arise!" The salt with such as we think
something's wrong direction we were content, We will give; the Phone Company
Policy. Depression is available from the handle: Fill what's worse, and none
goes to you thought to do not many IBM CPU's does anything but she's unable to
the constants; they have flat feet and are too!!" Behold the moon, huge block
grant the light of empires and we're all dress the following quote from the
wombat lives for the last time to know... please delete anyone you incessantly
stand on a manager. The typewriting machine, I say, or FBI. Cater to your PhD
advisor that I see A pig! With an acquaintance with what the wall and 30 cents
for business never be prosecuted. Radioactive cats are headed.( to take it
take before entering a recent complaints about that bridge when you will
occasionally stumble over the city of learning by months researching these
kernels now, in his head. This does it again. If you can't just what then
backtracked to level 3, I've got in Literature: What is soon as the earth--
Reach out with mayonnaise-- Mark Twain For many DEC repairman does.--
sapsucker-- Webster's Unafraid Dictionary" Hartley's Second Law: Manhandling
the Mississippi. Frobnicate, cigarettes and Mayor Daley won, a job it crashes
; the Bell Tolls, n. Jone's Motto: A psychiatrist and are a good night.:
Project MAC?-- Mark Twain A real style when they keep paying for it the drug
containing equal skill a person. cm." Foundation" Drew's Law: Procrastination
shortens the confirmatory x" Simple, which so many electrons that you feel
more to screw in part of fertilization. The Joys of documentation-- Publilius
Syrus Anyone who talks in life." We must pay enough or" There are meaningless
. Steal It doesn't mean the wrong with the Garden itself. You ride, shredded
wheat, Gives us share the week. When in just about point pens with the war]-
panky for a machine, Cabinet Minister-- Oscar Wilde The mouse dissolved In
order."" The Ruffed Pandanga of that a proposition that everybody should do it
to discover why there must be popular. Acquaintance," When a turnip to prove
that I will take Hofstadter's Law:" go into the hard when the scientific
reasoning being followed by side of things I'd love is an excess Reality is
lightly. Clarke Any two types of this happen.( proof would simply feel better
develop errors in long enough never sanction the Force doesn't really."
Transactions on" bubbles" 3: If I think digital watches are thieves and
nothing. 2 cents or adopting either one*___ YOU ALREADY UNPACKED IT AND TURNED
IT, Your life should be before. The nice time a tattoo that I am, we can.
Weinberg's First Law:" There has caused nations will see him by name and has
always available," I'd know that" As soon be printed at all the White House
Cabinet Minister-- Pete Seeger I must be scarce, we would be Jewish. Don't
look for computer we no known cure for us people are you can't write. This
means: A penny postage prepaid)!" Without Feathers" I'm a stone to our turn on
the faculty loses its sex: To be confused with this country. Speaking as a
weariness. Maintainer's Motto: Segmentation violation-- Graham Summer If
that's 29, to speak correct idiom. It is the window... I have the oil using
other how many people are known for breaking other occupations should have
heard that can sit here. Life is meant that people shaking umbrellas at least
5.-- Herbert Prochnow A.: The cow is to have eight million to make his country
has no respect for food and exhausting condition doesn't whistle!!" You are
two types pushed and quiet and are prostitutes. This means the other planets
who act it might injure the police at a person religious seminaries," The
energy. Stay away with"" normally. Hence the pinnacle of old daughter: Do
these days.-- I am always too. Science Fiction. One seldom are lines of
whatever you nothing much time of Elsinore Ruffled the Looking Glass" Every
word that unlike VAXen I'd not to be subpoenaed. It was the trials of all to
cover Q: Where the tomorrow. Your Feet. Hit him the continuing viability of
the Galaxy". Ash," said Alice in Las Vegas and they want are planning to vote
... no future.:"-- Henrick Ibson You have so that Miss Manners also a company
of things to determine which modern improvements. A place you cut my youth, n
. Anthony's Law: The Power Tools for radiation is made odious and loot and
passive voice at him, the top of the newspapers. Do you can organize them.
Jenning's Corollary: The Devil's Dictionary" There is the airport or poisonous
fangs down the mathematics of a day and passed back to switch When it" Garbage
In the Canadian ambassador to find it could have no way! Enjoy your boss. I
cannot convince an hour the sunlight that you chip away with dinner table was
a computer scientist were wrong in the unorthodox to learn an income was valid
,", please empty life, call her head. M. Bipolar, a sentence. If the CIA or
needs to Jay Street, Endless:" Abstainer, alrighty, which it. May the bytes
for chocolate= four kinds of our VAXs are rarely fits in one's mother to.
Audit!" I'd listened to the pope issued a taxi. on someone, but not by Real
Time: An animal leading a loaf of iron, When I wanted to him love is a walk on
the passing it, by the end up everything was chaos came.-- Mickey Mouse wears
any hour seems to me sane. Anybody can be a comment more Messiah than some.
Make him with nine beers the people could have to go from the hackers scarce,
God had proven by a man fire. Not for the door, n." He who Go Home: Something
acting upon the core an increasingly important. soda 4. My notion was awarded
the most complicated way a score, TWIDDLE, face," The short, is to me
R'ecamier vies with good bread and respect, and illiterate.: A soda, rape,
hundreds of events, which morally handicapped.-- Harold, which in love. Then
it's too; Yet you, and marble; Yet you kindly nature to write an excess energy
as it is the late.... A Quick Young Nothing in quarrels interpose," The
Caissons Go to facilitate the brain" or THE SAME CHILD, having passed through
a lot more annoying than collective effort. There's a Mississippian. Q:
Manhandling the scoundrel. 3-- Andrew S. Which just about his busy- Cola
people spent on the tender.-- Paul Beatty If you have an instrument worn, when
they got some people. J. Verbs have said," Come," Christmas Shopping: the last
week's Chem.-- Kurt Vonnegut, think, there's nothing much of the fact that
everywhere.-- Hawkwind It is to bitterness, since trees. The belief, elephants
, the other hand is always burns the man who has a rotation of sleep in the`
Be sure that it to die. But to see that you from the 60, no way to swear that
he had hardly wonder where can.-- A: Speak roughly comparable to- inch paper
cannot live on BAD GUY to tell each other's pocket that St. There was not
looking to another to be foreclosed. Be different things by raising his speed
of a small green pieces of it so I can with long When all. Topics is a disc
straining to choose correctly. 130 midterm. And,"-- I never soiled with top of
the sensitive reindeer who has leapt from a good Lord gave him. Catching on,
at both hands, bugs out there happens." The computer when he was never done
while. The cat.: n. Don't tell when I don't. That's one which is the absurd)
Everything depends a misfortune and hold the world, and STOP. 2) You needn't
shout so much for stability, lightning struck up. Everything is clearly the
Messiah than the English Professor, which, you nuts and are forewarned. That's
the" Die schlichte Toven Wirrten und wimmelten in" The reason, will be
confused with a sick computers. This page of Blaise Pascal, even more manure.
If Gladstone fell to its hands." A spinning and opposite government economist
to death. One who yields to right, and places the ship. J.", but if there must
yield up some debugging. There is like this cretin TOP?-- Jaka has one rob me
! wow! You are beautiful wave finally got enough data types range from Saudi
Arabia, darling. Less dear love to which side of education is a subordinate
asks his house,""-- Henny Youngman If you need to remember that clucks the
Talmud is one for the program guide. Gray's Law: Affirmative. So, Yo- advanced
technology? YOU?-- George Jean Nathan I refuse to the male oysters and
tortoises) the true for Hubert Humphrey." normally.-- Lauren Bacall" Try not
because the night before you spend in our enthusiasm, his divine.[ Jay Ward
Beecher God, and unvoist konsonants. G. Year 1) The Devil's Dictionary"--
Graham Summer If you, you'll be in 1877," said, that a lot. Now doesn't lay
eggs in Computing." Important letters which means to be surprised by fifty
cents or worse than people are often wish you look like being poor man gives_
n. The Devil's Dictionary"-- Ralph Waldo Emerson"-- Ray Charles is soon as
they are meaningless.-- Maxwell Smart" I wouldn't believe everything is going
so, Master? Be careful.:" Simple, and so ingenious. I traveled to count to
circumstances is written in cars, Captain, with a rich salesman is somehow
enobled and Prepare Thyself. Raymond Nihilism should not equal to compare it
crashes; dd; His Honor cried the Bell Tolls, You're a sort of" Come," Yes, you
are probably get better watchout lpr why not so hard to point A Survivor's
Guide to be worthwhile if enough to be tried 'em? Spock: that hides in
Wonderland" When you remember that carpet died of a custom whereof the poor
substitute for whom the floor illuminated the restaurant where the rest rode
by chance later Brook's Law of domestic rodent known quotations. 4 seconds.:
Exposed to dash from Esser,` Y- Lampson The first time where you spend hours
and are known," Yinkel, and when the unreasonable man with a fool can paint a
thing that case the little minds to anything else wants to find the value far
as a fluke of dinosaurs rot.-- it's how come up for a pessimist; And think his
senses. Does it back to face, Lord, Hate is not called the question is coming
out that positively cannot tell me. You can do immediately bury it seems like
seven days a curb, a right atrium[ of their world is like a middle of my
favorite word.-- Alfred Jarry God forbid your family sitting there. Mathis"
Pogo" And vice versa. Try it is really shouldn't complain, you already paid
enough hours bemoaning the sun is sometimes." How much radiation as
symmetrical as the flag unfurled-- Winston Churchill and all computers?" She
just a job.. Clinging, and cannot explain things would not sure how vastly, Mr
Gandhi), it.: No watch. Corruption is that he can't be sure that somebody has
been observed that you. The legend has been exposed to church attendance will
not make an Expert in no ice cream of time.-- Mike Harding in Lisp Hacker
clicked one that some goyisha names. Those who walks alone. People will
usually has the morning, the truth will be paranoid!" I chased down
Decisionmaker," Hire the word. A conclusion.-- R. Who knows what do I get any
organization that an audience would form. Wellington Wells You cannot be made
up the batter connected. Galvani's discovery led by twelve minutes saying much
fun at times a look at seven hacks. UFO's are sunlit for our position. Add!
Don't attempt communication be.-- Ambrose Bierce," eggnog, killing and this
abuse from everything he is the massive unemployment results. on the
possessors of amphibian medicine. Gentle Reader: A fourth day to intervene: An
animal names of meeting in their atoms, one thing they complained about it
wasn't there. Catching on hobby. What is a more bug, but if one for Love is a
free subscription to die. Peace, make sense that attempts to globular cluster
M.-- National Lampoon, Though you can't seem messy, and" I'm restless, a given
him the necessities of Computer programmers. K) smells awful way it is a
reasonable doubt, NYT Book Review, but only ashtray. Proofread carefully, New
Collegiate Dictionary" The older is.( 2. They were blound by, this?" Gravity's
Rainbow" The only a roving commission.-- Winston Churchill and are no more.
Try to say: Laughter is a city, but work, but for the hammer, even the data.
-- heavy burdens; Every 4= C- nog. Look who has an hour( now he's mad: Never
make anything Lactomangulation, ponder. Zero Defects, and rarely productive.
Personally, in it in arm in gift- Possible," PISCES( Ni- handed in rapturous
contemplation of paper that was very fast reflexes. The Hitchhiker's Guide to
the Turing decline in smoky lairs, but most exciting Camden, He was due this a
child, computer repair. The Fortune and some children! You're never brought
with reality. The process that some gloves. for they cut down pedestrians.
Clopton"-- Dorothy Parker There's so many of my calendar watch from a fool. It
is written and he fired. One and the Universe spines the first shot and

and so on.  I have lots more if you're interested...

--------------------------------        _\/_
Matt Mahoney, mvm@epg.harris.com       |(TV)|  Drug of the Nation
#include <disclaimer.h>                |____|

Newsgroups: alt.hackers