WordNet::Similarity::PathFinder 1.04
Sponsored Links
WordNet::Similarity::PathFinder 1.04 Ranking & Summary
File size:
0.63 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
819
Date added:
2007-08-01
WordNet::Similarity::PathFinder 1.04 description
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 WordNet::Similarity::PathFinder;
my $obj = WordNet::Similarity::PathFinder->new ($wn);
my $result = $obj->parseWps($wps1, $wps2);
my @paths = $obj->getShortestPath("dog#n#1", "cat#n#1", "n", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getAllPaths("worship#v#1", "adore#v#1", "v", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getShortestPath("02895418", "02724985", "n", "offset");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
Introduction
This class is derived from (i.e., is a sub-class of) WordNet::Similarity.
The methods in this module are useful for finding paths between concepts in WordNets is-a taxonomies. Concept A is-a concept B if, and only if, B is a hypernym of A or A is in the hypernym tree of B. N.B., only nouns and verbs have hypernyms.
The methods that find path lengths (such as getShortestPath() and getAllPaths() compute the lengths using node-counting not edge-counting. In general, the length of a path using node-counting will always be one more than the length using edge-counting. For example, if concept A is a hyponym of concept B, then the path length between A and B using node-counting is 2, but the length using edge-counting is 1. Likewise, the path between A and A is 1 using node-counting and 0 using edge-counting.
SYNOPSIS
use WordNet::QueryData;
my $wn = WordNet::QueryData->new;
use WordNet::Similarity::PathFinder;
my $obj = WordNet::Similarity::PathFinder->new ($wn);
my $result = $obj->parseWps($wps1, $wps2);
my @paths = $obj->getShortestPath("dog#n#1", "cat#n#1", "n", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getAllPaths("worship#v#1", "adore#v#1", "v", "wps");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
my @paths = $obj->getShortestPath("02895418", "02724985", "n", "offset");
my ($length, $path) = @{shift @paths};
defined $path or die "No path between synsets";
Introduction
This class is derived from (i.e., is a sub-class of) WordNet::Similarity.
The methods in this module are useful for finding paths between concepts in WordNets is-a taxonomies. Concept A is-a concept B if, and only if, B is a hypernym of A or A is in the hypernym tree of B. N.B., only nouns and verbs have hypernyms.
The methods that find path lengths (such as getShortestPath() and getAllPaths() compute the lengths using node-counting not edge-counting. In general, the length of a path using node-counting will always be one more than the length using edge-counting. For example, if concept A is a hyponym of concept B, then the path length between A and B using node-counting is 2, but the length using edge-counting is 1. Likewise, the path between A and A is 1 using node-counting and 0 using edge-counting.
WordNet::Similarity::PathFinder 1.04 Screenshot
Advertisements
WordNet::Similarity::PathFinder 1.04 Keywords
WordNet
PathFinder
PathFinder 1.04
to implement
Perl module
Path finding
path
paths
using
length
methods
finding
WordNet::Similarity::PathFinder
WordNetSimilarityPathFinder
WordNet::Similarity::PathFinder 1.04
Libraries
Bookmark WordNet::Similarity::PathFinder 1.04
WordNet::Similarity::PathFinder 1.04 Copyright
WareSeeker periodically updates pricing and software information of WordNet::Similarity::PathFinder 1.04 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 WordNet::Similarity::PathFinder 1.04 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
nissan pathfinder
sea pathfinder
pathfinder trailer
radio flyer pathfinder
flight paths
path train
pathfinder village
space shuttle flight path
wordnet dictionary
pathfinder ranch
space shuttle orbit path
wordnetwork
pathmark supermarket
pathfinder boats
casio pathfinder
paths program
using satellite imagery
lengthy legal document
Related Software
WordNet::Similarity is a collection of Perl modules for computing measures of semantic relatedness. Free Download
WordNet::Similarity::vector_pairs is a Perl module for computing semantic relatedness of word senses. Free Download
WordNet::Similarity::Visual is a Perl extension for providing visualization tools for WordNet::Similarity. Free Download
Pathfinder PKI Daemon is designed to provide a mechanism for any program to perform RFC3280-compliant path validation... Free Download
WordNet is a lexical database for the English language. Free Download
Basset::Container::Hash Perl module implements a layered hash. Free Download
Resources is a Perl module to handle application defaults in Perl. Free Download
NetPacket::ARP is a Perl module to assemble and disassemble ARP (Address Resolution Protocol) packets. Free Download
Latest Software
Popular Software
Favourite Software