Main > Programming > Libraries >

Text::NSP::Measures::2D::CHI::tscore 1.03

Text::NSP::Measures::2D::CHI::tscore 1.03

Sponsored Links

Text::NSP::Measures::2D::CHI::tscore 1.03 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.93 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 957
Date added: 2007-03-12

Text::NSP::Measures::2D::CHI::tscore 1.03 description

Text::NSP::Measures::2D::CHI::tscore is a Perl module that implements T-score measure of association for bigrams.

SYNOPSIS

Basic Usage

use Text::NSP::Measures::2D::CHI::tscore;

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

$tscore_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 ".$tscore_value."n"";
}

Assume that the frequency count data associated with a bigram < word1 >< word2 > is stored in a 2x2 contingency table:

word2 ~word2
word1 n11 n12 | n1p
~word1 n21 n22 | n2p
--------------
np1 np2 npp

where n11 is the number of times < word1 >< word2 > occur together, and n12 is the number of times < word1 > occurs with some word other than word2, and n1p is the number of times in total that word1 occurs as the first word in a bigram.

The T-score is defined as a ratio of difference between the observed and the expected mean to the variance of the sample. Note that this is a variant of the standard t-test that was proposed for use in the identification of collocations in large samples of text.

Thus, the T-score is defined as follows:

m11 = n1p * np1 / npp

T-score = (n11 - m11)/sqrt(n11)

calculateStatistic() - method to calculate the tscore Coefficient

INPUT PARAMS : $count_values .. Reference of an hash containing the count values computed by the count.pl program.
RETURN VALUES : $tscore .. tscore value for this bigram.
getStatisticName() - Returns the name of this statistic
INPUT PARAMS : none
RETURN VALUES : $name .. Name of the measure.

Text::NSP::Measures::2D::CHI::tscore 1.03 Screenshot

Advertisements

Text::NSP::Measures::2D::CHI::tscore 1.03 Keywords

Bookmark Text::NSP::Measures::2D::CHI::tscore 1.03

Hyperlink code:
Link for forum:

Text::NSP::Measures::2D::CHI::tscore 1.03 Copyright

WareSeeker periodically updates pricing and software information of Text::NSP::Measures::2D::CHI::tscore 1.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Text::NSP::Measures::2D::CHI::tscore 1.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Text::NSP::Measures::2D::CHI::x2 is a Perl module that implements Pearsons chi squared measure of association for bigrams. Free Download
Text::NSP::Measures::2D::CHI::phi is a Perl module that implements Phi coefficient measure for bigrams. Free Download
Text::NSP::Measures::2D::MI is a Perl module that provides error checks for Loglieklihood. Free Download
Text::NSP::Measures::2D::MI::ps is a Perl module that implements Poisson-Stirling measure of association for bigrams. Free Download
Text::NSP::Measures is a Perl module for computing association scores of Ngrams. Free Download
Text::NSP::Measures::2D is a Perl module that provides basic framework for building measure of association for bigrams. Free Download
Text::NSP::Measures::2D::Dice::dice is a Perl module to compute Dice coefficient for bigrams. Free Download
Text::NSP::Measures::2D::MI::tmi is a Perl module that implements True Mutual Information. Free Download