Monday, September 25, 2006

Random Text Generator

After a long struggle, my random text generator is now working. It takes in a large amount of text, like a novel, and spits out random text by analysing common word patterns. It can produce some interesting results, like: "Just then her head was in the process of crawling away." (Alice's Adventures in Wonderland.) A more detailed description of the logic behind it is here.

Anywho, I put a copy of it on my school's labserver. You can type in the URL of a text file below, and it will go generate random text from it. Make sure you use a text file, though. Using an HTML file gives some pretty odd results. Files must also be fairly long.

URL:

Some files are below. Alice's Adventures in Wonderland produces the best results.

  • http://cs.catlin.edu/~schwarzm/stories/alice.txt
  • http://cs.catlin.edu/~schwarzm/stories/huckfinn.txt
  • http://cs.catlin.edu/~schwarzm/stories/beowulf.txt
  • http://cs.catlin.edu/~schwarzm/stories/bush.txt (Some Bush speeches)
  • http://cs.catlin.edu/~schwarzm/stories/obama.txt (Some Obama speeches)

3 comments:

Anonymous said...

I am the sort of hombre who enjoys to seek bran-new things. Presently I'm fabricating my personalized photovoltaic panels. I'm making it all alone without the help of my men. I'm utilizing the net as the only way to acheive that. I encountered a really brilliant site that explains how to contruct solar panels and wind generators. The site explains all the steps needed for solar panel building.

I am not really sure about how correct the data given there is. If some experts over here who had xp with these things can have a see and give your feedback in the page it would be grand and I'd really appreciate it, cauze I really passion [URL=http://solar-panel-construction.com]solar panel construction[/URL].

Tnx for reading this. U people rock.

Anonymous said...

nice one, i just added up many different emo backgrounds at my blog
http://www.emo-backgrounds.info

Anonymous said...

Lovely! Very well-done! :)