Text::NSP::Measures::2D 1.01 review

Download
by rbytes.net on

Text::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams. SYNOPSIS

License: Perl Artistic License
File size: 936K
Developer: Text::NSP::Measures::2D Team
0 stars award from rbytes.net

Text::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams.

SYNOPSIS

Basic Usage
use Text::NSP::Measures::2D::MI::ll;

my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;

$ll_value = calculateStatistic( n11=>$n11,
n1p=>$n1p,
np1=>$np1,
npp=>$npp);

if( ($errorCode = getErrorCode()))
{
print STDERR $errorCode." - ".getErrorMessage()."n"";
}
else
{
print getStatisticName."value for bigram is ".$ll_value."n"";
}

This module is to be used as a foundation for building 2-dimensional measures of association. The methods in this module retrieve observed bigram frequency counts, marginal totals, and also compute expected values. They also provide error checks for these counts.

Requirements:
Perl

Text::NSP::Measures::2D 1.01 search tags