Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.391.292 Times

Text::NSP::Measures::3D::MI::pmi 1.03

  Date Added: November 25, 2010  |  Visits: 692

Text::NSP::Measures::3D::MI::pmi

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 downloads)



Text::NSP::Measures::3D::MI::pmi is a Perl module that implements Pointwise Mutual Information for trigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::3D::MI::pmi; $pmi_value = calculateStatistic( n111=>10, n1pp=>40, np1p=>45, npp1=>42, n11p=>20, n1p1=>23, np11=>21, nppp=>100); if( ($errorCode = getErrorCode())) { print STDERR $erroCode." - ".getErrorMessage()."n"; } else { print getStatisticName."value for bigram is ".$pmi_value."n"; } 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 Pointwise Mutual Information (pmi) is defined as the log of the devitation between the observed frequency of a trigram (n111) and the probability of that trigram if it were independent (m111). PMI = log (n111/m111) Methods initializeStatistic() -Initialization of the pmi_exp parameter if required INPUT PARAMS : none RETURN VALUES : none calculateStatistic() - This method calculates the pmi value INPUT PARAMS : $count_values .. Reference of a hash containing the count values computed by the count.pl program. RETURN VALUES : $pmi .. PMI value for this trigram. getStatisticName() - Returns the name of this statistic INPUT PARAMS : none RETURN VALUES : $name .. Name of the measure..

Requirements: No special requirements
Platforms: Linux
Keyword: Information Input Input Params Mutual Mutual Information Nsp Perl Module Pmi Pointwise Pointwise Mutual Information Return Return Values Value Values
Users rating: 0/10

License: Freeware Size: 952.32 KB
USER REVIEWS
More Reviews or Write Review


TEXT::NSP::MEASURES::3D::MI::PMI RELATED
Libraries  -  Text::NSP::Measures::2D::MI::tmi 1.03
Text::NSP::Measures::2D::MI::tmi is a Perl module that implements True Mutual Information. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::tmi; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $tmi_value =...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::MI::pmi 1.03
Text::NSP::Measures::2D::MI::pmi is a Perl module that implements Pointwise Mutual Information. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::pmi; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $pmi_value =...
952.32 KB  
Libraries  -  Paper::Specs 0.07
Paper::Specs is a Perl module with size and layout information for paper stock, forms, and labels. SYNOPSIS use Paper::Specs units => "cm"; my $form = Paper::Specs->find( brand => "Avery", code => "1234"); use Paper::Specs units => "cm",...
17.41 KB  
Libraries  -  Debian::Package::HTML 0.1
Debian::Package::HTML is a Perl module that generates a webpage information (and Linda/Lintian checks) about a Debian binary or source package using HTML::Template SYNOPSIS use strict; use Debian::Package::HTML; my $package =...
5.12 KB  
Libraries  -  Text::NSP::Measures::3D::MI 1.03
Text::NSP::Measures::3D::MI is a Perl module that provides error checks and framework to implement Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson Stirling Measure for trigrams. SYNOPSIS Basic Usage use...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::MI 1.03
Text::NSP::Measures::2D::MI is a Perl module that provides error checks for Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson-Stirling Measure. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::ll; my...
952.32 KB  
Libraries  -  Finance::Quote 1.12
Finance::Quote is a Perl module to get stock and mutual fund quotes from various exchanges. SYNOPSIS use Finance::Quote; $q = Finance::Quote->new; $q->timeout(60); $conversion_rate = $q->currency("AUD","USD"); $q->set_currency("EUR"); #...
92.16 KB  
Libraries  -  Text::NSP::Measures::2D::CHI::tscore 1.03
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;...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::Dice::dice 1.03
Text::NSP::Measures::2D::Dice::dice is a Perl module to compute Dice coefficient for bigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Dice::dice; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $dice_value =...
952.32 KB  
Libraries  -  Text::NSP::Measures::2D::Dice::jaccard 1.03
Text::NSP::Measures::2D::Dice::jaccard is a Perl module that implements the jaccard coefficient. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::Dice::jaccard; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $jaccard_value =...
962.56 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB