Package random_text
contains a class capable of generating
random text based on a given input text file. The class Generator
provides
a very simple interface for using this functionality.
No dependencies.
You can add your own text files in the project folder if you want to
use them as a basis for generating random text. Remember that only plain
text files work - not Word documents, HTML pages etc. There is an example
text file alice.txt
provided with the project. You can find
lots more text files anywhere on the web; there's some nice ones at
http://www.textfiles.com/ for instance.
You can experiment with the class Generator
using Python interpreter
or by creating a main method.
The project as given is not executable as an application; however, things will change if you create a user interface for it...