in reply to Re: extract phrases of n-words length
in thread extract phrases of n-words length

In fact, it looks like one of the example programs might do almost exactly what you need:

http://search.cpan.org/~tpederse/Text-NSP-1.09/bin/count.pl

--
use JAPH;
print JAPH::asString();

  • Comment on Re^2: extract phrases of n-words length