tmi.pm
Statistical library module to calculate the true mutual information value. This module should be used with statistic.pl and rank.pl.
We call this true mutual information to distinguish it from pointwise mutual information (pmi).
Note that the true mutual information value is distinct from pointwise mutual information (pmi.pm). True mutual information is equivalent to the log-likelihood ratio (ll.pm). They only differ by a scaling factor.
Ted Pedersen <tpederse@d.umn.edu>
Satanjeev Banerjee <banerjee@cs.cmu.edu>
Amruta Purandare <pura0010@d.umn.edu>
Bridget McInnes <bthomson@d.umn.edu>
This measure currently only defined for bigram data stored in 2x2 contingency table.
Home Page : http://www.d.umn.edu/~tpederse/nsp.html
Mailing List: http://groups.yahoo.com/ngram
Copyright 2000-2004 by Ted Pedersen and Satanjeev Banerjee and Amruta Purandare and Bridget McInnes
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.
To install Text::NSP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::NSP
CPAN shell
perl -MCPAN -e shell install Text::NSP
For more information on module installation, please visit the detailed CPAN module installation guide.