http://www.perlmonks.org?node_id=974550


in reply to Re^2: Random phrases
in thread Random phrases

If you want to download and normalise the entire Gutenberg English language corpus, a good starting point might be http://www.monlp.com/2012/04/09/calculating-word-statistics-from-the-gutenberg-corpus/.

Translating the code into Perl from Slytherin is left as an exercise...

Update: linkified 'Slytherin'.