http://qs1969.pair.com?node_id=911922


in reply to N-gram comparison

Have you searched CPAN? Ngram or Trigram

Alternatively, write it yourself. It's not hard.