The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

ll3.pm

SYNOPSIS

Statistical library package to calculate the Loglikelihood ratio for trigrams. This package should be used with statistic.pl and rank.pl.

DESCRIPTION

The log-likelihood ratio measures the devitation between the observed data and what would be expected if <word1>, <word2>, and <word3> were independent. The higher the score, the less evidence there is in favor of concluding that the words are independent.

AUTHORS

Ted Pedersen <tpederse@d.umn.edu>

Satanjeev Banerjee <banerjee@cs.cmu.edu>

Amruta Purandare <pura0010@d.umn.edu>

Bridget Thomson McInnes <bthomson@d.umn.edu>

BUGS

This measure currently only defined for trigram data stored in 3x3x3 contingency table.

SEE ALSO

Mailing List: http://groups.yahoo.com/ngram

COPYRIGHT

Copyright 2000-2004 by Ted Pedersen and Satanjeev Banerjee and Amruta Purandare

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.