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


in reply to Re: Junk NOT words
in thread Junk NOT words

Further to Molt's suggestion of using Markov Chains, there is a module on CPAN which provides their functionality in the form of Algorithm::MarkovChain.
HTH

_________
broquaint