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 29.540.844 Times

WordNet::Similarity::vector_pairs 1.04

  Date Added: February 12, 2010  |  Visits: 686


Report Broken Link
Printer Friendly Version

Product Homepage
Download (75 downloads)

WordNet::Similarity::vector_pairs is a Perl module for computing semantic relatedness of word senses using second order co-occurrence vectors of glosses of the word senses. SYNOPSIS use WordNet::Similarity::vector_pairs; use WordNet::QueryData; my $wn = WordNet::QueryData->new(); my $vector_pairs = WordNet::Similarity::vector_pairs->new($wn); my $value = $vector_pairs->getRelatedness("car#n#1", "bus#n#2"); ($error, $errorString) = $vector_pairs->getError(); die "$errorStringn" if($error); print "car (sense 1) <-> bus (sense 2) = $valuen"; Schütze (1998) creates what he calls context vectors (second order co-occurrence vectors) of pieces of text for the purpose of Word Sense Discrimination. This idea is adopted by Patwardhan and Pedersen to represent the word senses by second-order co-occurrence vectors of their dictionary (WordNet) definitions. The relatedness of two senses is then computed as the cosine of their representative gloss vectors. A concept is represented by its own gloss, as well as the glosses of the neighboring senses as specified in the vector-relation.dat file. Each gloss is converted into a second order vector by replacing the words in the gloss with co-occurrence vectors for those words. The overall measure of relatedness between two concepts is determined by taking the pairwise cosines between these expanded glosses. If vector-relation.dat consists of: example-example glos-glos hypo-hypo then three pairwise cosine measurements are made to determine the relatedness of concepts A and B. The examples found in the glosses of A and B are expanded and measured, then the glosses themselves are expanded and measured, and then the hyponyms of A and B are expanded and measured. Then, the values of these three pairwise measures are summed to create the overall relatedness score. $measure->initialize($file) Overrides the initialize method in the parent class ( This method essentially initializes the measure for use. Parameters: $file -- configuration file. Returns: none. $measure->traceOptions() This method is internally called to determine the extra options specified by this measure (apart from the default options specified in the WordNet::Similarity base class). Parameters: none. Returns: none. $vector_pairs->getRelatedness Computes the relatedness of two word senses using the Vector Algorithm. Parameters: two word senses in "word#pos#sense" format. Returns: Unless a problem occurs, the return value is the relatedness score, which is greater-than or equal-to 0. If an error occurs, then the error level is set to non-zero and an error string is created (see the description of getError())..

Requirements: No special requirements
Platforms: Linux
Keyword: Computing Semantic Relatedness Libraries Pairs Perl Module Programming Relatedness Semantic Relatedness Senses Vector Vectors Word Word Senses Wordnet Wordnetsimilarityvectorpairs
Users rating: 0/10

License: Freeware Size: 645.12 KB
More Reviews or Write Review

Libraries  -  Alien Perl module 0.91
Alien Perl module package contains external libraries wrapped up for your viewing pleasure! SYNOPSIS perldoc Alien; Alien is a package that exists just to hold together an idea, the idea of Alien:: packages, so there is no code here, just...
10.24 KB  
Libraries  -  OpenGeoDB Perl module 0.4
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius..
3.07 KB  
Libraries  -  Bio::MCPrimers 2.5
Bio::MCPrimers is a Perl module to create molecular cloning PCR primer pairs for a given gene so that the gene can be directionally inserted into a vector. Solver is generic, restriction enzymes and their order in the vector are specified in the...
174.08 KB  
Libraries  -  perlfaq3 5.8.8
perlfaq3 Perl module contains programming tools. How do I do (anything)? Have you looked at CPAN (see perlfaq2)? The chances are that someone has already written a module that can solve your problem. Have you read the appropriate manpages?...
12.2 MB  
Network & Internet  -  MyCMS perl module 1.0
MyCMS perl module provides the MN::CMS Perl module used by the MyCMS. MyCMS perl module contains Perl object classes to manage the data of MyCMS (such as articles, links, and images). MN::CMS is a perl module that allows you to manage an...
16.38 KB  
Libraries  -  WordNet::Similarity::PathFinder 1.04
WordNet::Similarity::PathFinder is a Perl module to implement path finding methods (by node counting) for WordNet::Similarity measures of semantic relatedness. SYNOPSIS use WordNet::QueryData; my $wn = WordNet::QueryData->new; use...
645.12 KB  
Libraries  -  Inline::C 0.44
Inline::C is a Perl module that can Write Perl Subroutines in C. Inline::C is a module that allows you to write Perl subroutines in C. Since version 0.30 the Inline module supports multiple programming languages and each language has its own...
92.16 KB  
Libraries  -  Audio::MFCC 0.0801
Audio::MFCC is a Perl module for computing mel-frequency cepstral coefficients. SYNOPSIS use Audio::MFCC; my $fe = Audio::MFCC->init(%params) $fe->start_utt; my @ceps = $fe->process_utt($rawdata, $nsamps); my $leftover = $fe->end_utt;...
91.14 KB  
Libraries  -  Text::NSP::Measures 1.03
Text::NSP::Measures is a Perl module for computing association scores of Ngrams. This module provides the basic framework for these measures. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::ll; my $npp = 60; my $n1p = 20; my $np1 =...
962.56 KB  
Libraries  -  Acme::EyeDrops 1.51
Acme::EyeDrops is a Perl module for visual programming in Perl. SYNOPSIS use Acme::EyeDrops qw(sightly); print sightly( { Shape => camel, SourceFile => } ); Acme::EyeDrops converts a Perl program into an equivalent one, but...
102.4 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
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  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB