
USAGE How to use the Ngram Statistics Package (Text-NSP)

Examples of how to use NSP.

These are some sample usages of NSP. While this is not intended to be an exhaustive treatment of the various features, it should give you some idea of some of the ways you can use NSP.
count.pl -help rank.pl -help statistic.pl -help
count.pl h.cnt h.txt
count.pl -frequency 5 -hist h-5.hist h-5.cnt h.txt
count.pl -stop stop.txt h-stop.cnt h.txt
count.pl -stop stop.txt -window 4 h-stop-w5.cnt h.txt
statistic.pl -score 6.00 -frequency 5 ll.pm holmes1.ll h.cnt
statistic.pl -score 0.90 leftFisher.pm h.fish h.cnt
statistic.pl -rank 10 dice.pm h.dice h.cnt
statistic.pl -format mi.pm -precision 4 h.report h.cnt
rank.pl -precision 3 mi ll h.mi-ll-rank h.cnt
rank.pl -precision 5 -rank 10 mi dice h.mi-dice-rank h.cnt
rank.pl -precision 5 -score 0.90 leftFisher dice h.fish-dice-rank h.cnt

Ted Pedersen, tpederse at d.umn.edu
Last update on 02/15/01 by TDP based on BSP v0.3. This is very old, and should be updated to include many more examples of both command line use of NSP as well as module use.


home page: http://www.d.umn.edu/~tpederse/nsp.html mailing list: http://groups.yahoo.com/group/ngram/

Copyright (C) 2000-2003 Ted Pedersen.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Note: a copy of the GNU Free Documentation License is available on the web at http://www.gnu.org/copyleft/fdl.html and is included in this distribution as FDL.txt.