Ted Pedersen


Text::NSP - the Ngram Statistics Package


The Ngram Statistic Package allows a user to count sequences of Ngrams in large corpora of text, and measure their association.


The module NSP.pm is a stub that doesn't have any real functionality. The real work is done by five programs:

count.pl statistic.pl rank.pl combig.pl kocos.pl

These are not modules, and are run from the command line. All have extensive command line help and documentation in /docs.

See docs/README.pod for an extensive description.


Ted Pedersen, <tpederse@d.umn.edu>


See docs/Todo.pod





Copyright (c) 2003 by Ted Pedersen

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.