A simple program to generate text files based on a set of words (in words.txt). Note that it will not generate any grammatically accurate sentence. It only shuffles and repeats the given words.
With Rust installed, runs:
> cargo run
Then, you will see the output files in /out.
It generates the text files using the following process:
- Randomly select 25 words from
words.txtto form a word set. - Create an output directory
/out - Generate each output file in
/outby randomly selecting 1000 words from the word set (could be repeated).