**Text::NSP::Measures::4D::MI::ll - Perl module that implements Loglikelihood measure of association for 4-grams.**

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

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::MI::ll - Perl module that implements Loglikelihood measure of association for bigrams.**

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

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::odds - Perl module to compute the Odds ratio for bigrams.**

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 ...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::Dice - Perl module that provides the framework to implement the Dice and Jaccard coefficients.**

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 ...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::MI::pmi - Perl module that implements Pointwise Mutual Information.**

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 ...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::3D::MI::tmi - Perl implementation for True Mutual Information for trigrams.**

True Mutual Information (tmi) is defined as the weighted average of the pointwise mutual informations for all the observed and expected value pairs. tmi = [n111/nppp * log(n111/m111) + n112/nppp * log(n112/m112) + n121/nppp * log(n121/m121) + n122/np...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::CHI::x2 - Perl module that implements Pearson's chi squared measure of association for bigrams.**

Pearson's Chi-squred test measures the devitation between the observed data and what would be expected if <word1> and <word2> were independent. The higher the score, the less evidence there is in favor of concluding that the words are independent. As...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::3D::MI::pmi - Perl module that implements Pointwise Mutual Information for trigrams.**

The expected values for the internal cells are calculated by taking the product of their associated marginals and dividing by the sample size, for example: n1pp * np1p * npp1 m111= -------------------- nppp * nppp Pointwise Mutual Information (pmi) i...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::MI::tmi - Perl module that implements True Mutual Information.**

**Text::NSP::Measures::2D::Fisher - Perl module that provides methods to compute the Fishers exact tests.**

**Text::NSP::Measures::2D::CHI::phi - Perl module that implements Phi coefficient measure for bigrams.**

This function computes the the square of the traditional formulation of the Phi Coefficient. 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 n2...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::Fisher2 - Perl module that provides methods to compute the Fishers exact tests.**

This module provides a framework for the naive implementation of the fishers exact tests. That is the implementation does not have any optimizations for performance. This will compute the factorials for the hypergeometric probabilities using direct m...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::Dice::dice - Perl module to compute Dice coefficient for bigrams.**

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

**Text::NSP::Measures::2D::Fisher::left - Perl module implementation of the left sided Fisher's exact test.**

**Text::NSP::Measures::2D::Fisher2::left - Perl module implementation of the left sided Fisher's exact test (Deprecated).**

This module provides a naive implementation of the fishers left sided exact tests. That is the implementation does not have any optimizations for performance. This will compute the factorials and the hypergeometric measures using direct multiplicatio...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::Dice::jaccard - Perl module that implements the jaccard coefficient.**

**Text::NSP::Measures::2D::Fisher::right - Perl module implementation of the right sided Fisher's exact test.**

**Text::NSP::Measures::2D::Fisher2::right - Perl module implementation of the right sided Fisher's exact test (Deprecated).**

This module provides a naive implementation of the fishers right sided exact tests. That is the implementation does not have any optimizations for performance. This will compute the factorials and the hypergeometric measures using direct multiplicati...

TPEDERSE/Text-NSP-1.31 - 04 Oct 2015 16:42:20 UTC**Text::NSP::Measures::2D::Fisher::twotailed - Perl module implementation of the two-sided Fisher's exact test.**