Text::NSP::Measures::2DText::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams. | |
Download |
Text::NSP::Measures::2D Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Text::NSP::Measures::2D Team
- Publisher web site:
- http://search.cpan.org/~tpederse/Text-NSP-1.01/lib/Text/NSP/Measures/2D.pm
Text::NSP::Measures::2D Tags
Text::NSP::Measures::2D Description
Text::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams. Text::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams.SYNOPSISBasic 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 Related Software