Main > Free Download Search >

Free wordnet similarity 1.04 software for linux

wordnet similarity 1.04

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 117
WordNet::Similarity 1.04

WordNet::Similarity 1.04


WordNet::Similarity is a collection of Perl modules for computing measures of semantic relatedness. more>>
WordNet::Similarity is a collection of Perl modules for computing measures of semantic relatedness.

SYNOPSIS

Basic Usage Example

use WordNet::QueryData;

use WordNet::Similarity::path;

my $wn = WordNet::QueryData->new;

my $measure = WordNet::Similarity::path->new ($wn);

my $value = $measure->getRelatedness("car#n#1", "bus#n#2");

my ($error, $errorString) = $measure->getError();

die $errorString if $error;

print "car (sense 1) bus (sense 2) = $valuen";

Using a configuration file to initialize the measure

use WordNet::Similarity::path;

my $sim = WordNet::Similarity::path->new($wn, "mypath.cfg");

my $value = $sim->getRelatedness("dog#n#1", "cat#n#1");

($error, $errorString) = $sim->getError();

die $errorString if $error;

print "dog (sense 1) cat (sense 1) = $valuen";

Printing traces

print "Trace String -> ".($sim->getTraceString())."n";

Introduction

We observe that humans find it extremely easy to say if two words are related and if one word is more related to a given word than another. For example, if we come across two words, car and bicycle, we know they are related as both are means of transport. Also, we easily observe that bicycle is more related to car than fork is. But is there some way to assign a quantitative value to this relatedness? Some ideas have been put forth by researchers to quantify the concept of relatedness of words, with encouraging results.

Eight of these different measures of relatedness have been implemented in this software package. A simple edge counting measure and a random measure have also been provided. These measures rely heavily on the vast store of knowledge available in the online electronic dictionary -- WordNet. So, we use a Perl interface for WordNet called WordNet::QueryData to make it easier for us to access WordNet. The modules in this package REQUIRE that the WordNet::QueryData module be installed on the system before these modules are installed.

<<less
Download (0.63MB)
Added: 2007-02-28 License: Perl Artistic License Price:
968 downloads
WordNet::Similarity::PathFinder 1.04

WordNet::Similarity::PathFinder 1.04


WordNet::Similarity::PathFinder is a Perl module to implement path finding methods for WordNet::Similarity measures. more>>
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.

<<less
Download (0.63MB)
Added: 2007-08-01 License: Perl Artistic License Price:
817 downloads
WordNet::Similarity::Visual 0.07

WordNet::Similarity::Visual 0.07


WordNet::Similarity::Visual is a Perl extension for providing visualization tools for WordNet::Similarity. more>>
WordNet::Similarity::Visual is a Perl extension for providing visualization tools for WordNet::Similarity.

SYNOPSIS

Basic Usage Example

use WordNet::Similarity::Visual;

$gui = WordNet::Similarity::Visual->new;

$gui->initialize;

This package provides a graphical extension for WordNet::Similarity. It provides a gui for WordNet::Similarity and visualization tools for the various edge counting measures like path, wup, lch and hso.

<<less
Download (0.019MB)
Added: 2007-04-07 License: Perl Artistic License Price:
560 downloads
WordNet::Similarity::vector_pairs 1.04

WordNet::Similarity::vector_pairs 1.04


WordNet::Similarity::vector_pairs is a Perl module for computing semantic relatedness of word senses. more>> <<less
Download (0.63MB)
Added: 2007-08-18 License: GPL (GNU General Public License) Price:
798 downloads
WordNet 3.0

WordNet 3.0


WordNet is a lexical database for the English language. more>>
WordNet project is a large lexical database of English, developed under the direction of George A. Miller. Nouns, verbs, adjectives and adverbs are grouped into sets of cognitive synonyms (synsets), each expressing a distinct concept. Synsets are interlinked by means of conceptual-semantic and lexical relations.
The resulting network of meaningfully related words and concepts can be navigated with the browser. WordNet is also freely and publicly available for download. WordNets structure makes it a useful tool for computational linguistics and natural language processing.
Enhancements:
- Major feature enhancements
<<less
Download (10.9MB)
Added: 2007-08-02 License: GPL (GNU General Public License) Price:
836 downloads
xmlformat 1.04

xmlformat 1.04


xmlformat is a configurable formatter (or pretty-printer) for XML documents. more>>
xmlformat is a configurable formatter (or "pretty-printer") for XML documents. xmlformat gives the user control over indentation, line-breaking, and text wrapping. These properties can be defined on a per-element basis.
Enhancements:
- Each token is now assigned an input line number, which is displayed in error messages.
- This provides better information to the user about the location of problems in input files.
- The token stack is now printed when an error occurs.
- This provides some idea of the context of the element that is malformed or has malformed content.
<<less
Download (0.15MB)
Added: 2006-08-17 License: BSD License Price:
1163 downloads
WebFS::FileCopy 1.04

WebFS::FileCopy 1.04


WebFS::FileCopy is a Perl module to get, put, move, copy, and delete files located by URIs. more>>
WebFS::FileCopy is a Perl module to get, put, move, copy, and delete files located by URIs.

SYNOPSIS

use WebFS::FileCopy;

my @res = get_urls(ftp://www.perl.com, http://www.netscape.com);
print $res[0]->content if $res[0]->is_success;

# Get content from pages requiring basic authentication.
my $req = LWP::Request->new(GET => http://www.dummy.com/);
$req->authorization_basic(my_username, my_password);
@res = get_urls($req);

put_urls(put this text, ftp://ftp/incoming/new, file:/tmp/NEW);
move_url(file:/tmp/NEW, ftp://ftp/incoming/NEW.1);
delete_urls(ftp://ftp/incoming/NEW.1, file:/tmp/NEW);

copy_url(http://www.perl.com/index.html, ftp://ftp.host/outgoing/SIG);

copy_urls([file:/tmp/file1, http://www.perl.com/index.html],
[file:/tmp/DIR1/, file:/tmp/DIR2, ftp://ftp/incoming/]);

my @list1 = list_url(file:/tmp);
my @list2 = list_url(ftp://ftp/outgoing/);

This package provides some simple routines to read, move, copy, and delete files as references by string URLs, URI objects or URIs embedded in HTTP::Reqeust or LWP::Request objects. All subroutines in this package that expect a URI will accept a string, a URI object, or a HTTP::Reqeust or LWP::Request with an embedded URI. If passed a HTTP::Request or LWP::Request, then the method of the object is ignored and the proper method will be used to either GET or PUT the requested UIR.

The distinction between files and directories in a URI is tested by looking for a trailing / in the path. If a trailing / exists, then the URI is considered to point to a directory, otherwise it is a file.

All of the following subroutines are exported to the users namespace automatically. If you do not want this, then require this package instead of useing it.

<<less
Download (0.022MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
Mailing List 1.04

Mailing List 1.04


Mailing List is a Web-based, full-featured mailing list and newsletter system. more>>
Mailing List project is a Web-based, full-featured mailing list and newsletter system. Users can subscribe and unsubscribe themselves.
Email confirmation is used for new subscriptions. The list of subscribers to a list can be imported and exported.
Installation:
- copy all files to your web host
- use phpmyadmin or your mysql interface to run site.sql against your database.
- open site.xml and edit the database section with your database details.
- go to index.php and login with username of admin with a password of test.
Setup the site.xml file with your database settings as follows.
< database type="mysql" >
< server >database server address< /server >
< login >database login< /login >
< password >database password< /password >
< default >mysql database name< /default >
< /database >
Add this to your ".htaccess" file to prevent viewing of the xml config file.
< Files ~ ".xml" >
Order allow,deny
Deny from all
Satisfy All
< /Files >
Enhancements:
- A problem with the SQL setup file which caused the setup to fail on some systems was fixed.
<<less
Download (0.18MB)
Added: 2006-07-27 License: GPL (GNU General Public License) Price:
1186 downloads
CLSimilarImages 0.4.1

CLSimilarImages 0.4.1


CLSimilarImages is a command-line utility for finding visually similar images which may not be identical. more>>
CLSimilarImages is a command-line utility for finding visually similar images which may not be identical. It reads filenames from standard input, and outputs customisable results to standard output.

It can write similarity data to files for rapid future comparisons, with timestamps for quick updates. The project can compare one collection of images with itself, or two collections with each other. It works well in scripts or with pipes.

<<less
Download (0.13MB)
Added: 2007-03-24 License: GPL (GNU General Public License) Price:
945 downloads
Religion 1.04

Religion 1.04


Religion is a Perl module that can generate tracebacks and create and install die() and warn() handlers. more>>
Religion is a Perl module that can generate tracebacks and create and install die() and warn() handlers.

This is a second go at a module to simplify installing die() and warn() handlers, and to make such handlers easier to write and control.

For most people, this just means that if use use Religion; then youll get noticably better error reporting from warn() and die(). This is especially useful if you are using eval().

Religion provides four classes, WarnHandler, DieHandler, WarnPreHandler, and DiePreHandler, that when you construct them return closures that can be stored in variables that in turn get invoked by $SIG{__DIE__} and $SIG{__WARN__}. Note that if Religion is in use, you should not modify $SIG{__DIE__} or $SIG{__WARN__}, unless you are careful about invoking chaining to the old handler.

Religion also provides a TraceBack function, which is used by a DieHandler after you die() to give a better handle on the current scope of your situation, and provide information about where you were, which might influence where you want to go next, either returning back to where you were, or going on to the very last. [Sorry - Ed.]

See below for usage and examples.

USAGE

DieHandler SUB

Invoke like this:

$Die::Handler = new DieHandler sub {
#...
};

where #... contains your handler code. Your handler will receive the following arguments:

$message, $full_message, $level, $eval,
$iline, $ifile, $oline, $ofile, $oscope

$message is the message provided to die(). Note that the default addition of " at FILE line LINE.n" will have been stripped off if it was present. If you want to add such a message back on, feel free to do so with $iline and $ifile.

$full_message) is the message with a scope message added on if there was no newline at the end of $message. Currently, this is not the original message that die() tacked on, but something along the lines of " at line 3 of the eval at line 4 of Foo.pln".

$eval is non-zero if the die() was invoked inside an eval.

The rest of the arguments are explained in the source for Religion::TraceBack. Yes, I need to document these, but not just now, for they are a pain to explain.
Whenever you install a DieHandler, it will automatically store the current value of $Die::Handler so it can chain to it. If you want to install a handler only temporarily, use local().

If your handler returns data using return or by falling off the end, then the items returns will be used to fill back in the argument list, and the next handler in the chain, if any, will be invoked. Dont fall off the end if you dont want to change the error message.

If your handler exits using last, then no further handlers will be invoked, and the program will die immediatly.

If your handler exits using next, then the next handler in the chain will be invoked directly, without giving you a chance to change its arguments as you could if you used return.

If your handler invokes die(), then die() will proceed as if no handlers were installed. If you are inside an eval, then it will exit to the scope enclosing the eval, otherwise it will exit the program.

WarnHandler SUB

Invoke like this:

$Warn::Handler = new WarnHandler sub {
#...
};

For the rest of its explanation, see DieHandler, and subsitute warn() for die(). Note that once the last DieHandler completes (or last is invoked) then execution will return to the code that invoked warn().

DiePreHandler SUB

Invoke like this:

$Die::PreHandler = new DiePreHandler sub {
#...
};

This works identically to $Die::Handler, except that it forms a separate chain that is invoked before the DieHandler chain. Since you can use last to abort all the handlers and die immediately, or change the messages or scope details, this can be useful for modifying data that all future handlers will see, or to dispose of some messages from further handling.

This is even more useful in $Warn::PreHandler, since you can just throw away warnings that you know arent needed.

WarnPreHandler SUB

Invoke like this:

$Warn::PreHandler = new WarnPreHandler sub {
#...
};

This works identically to $Warn::Handler, except that it forms a separate chain that is invoked before the WarnHandler chain. Since you can use last to abort all the handlers and return to the program, or change the messages or scope details, this can be useful for modifying data that all future handlers will see, or to dispose of some messages.

This is very useful, since you can just throw away warnings that you know arent needed.

<<less
Download (0.005MB)
Added: 2007-05-24 License: Perl Artistic License Price:
883 downloads
WordNet::SenseRelate::AllWords 0.06

WordNet::SenseRelate::AllWords 0.06


WordNet::SenseRelate::AllWords is a Perl module to perform Word Sense Disambiguation. more>>
WordNet::SenseRelate::AllWords is a Perl module to perform Word Sense Disambiguation.

SYNOPSIS

use WordNet::SenseRelate::AllWords;
use WordNet::QueryData;
my $qd = WordNet::QueryData->new;
my $wsd = WordNet::SenseRelate::AllWords->new (wordnet => $qd,
measure => WordNet::Similarity::lesk);
my @results = $wsd->disambiguate ();

WordNet::SenseRelate::AllWords implements an algorithm for Word Sense Disambiguation that uses measures of semantic relatedness. The algorithm is an extension of an algorithm described by Pedersen, Banerjee, and Patwardhan[1]. This implementation is similar to the original SenseRelate package but disambiguates every word in the given context rather than just single word.

<<less
Download (0.035MB)
Added: 2007-04-07 License: Perl Artistic License Price:
934 downloads
Resources 1.04

Resources 1.04


Resources is a Perl module to handle application defaults in Perl. more>>
Resources is a Perl module to handle application defaults in Perl.

SYNOPSIS

use Resources;

$res = new Resources;
$res = new Resources "resfile";

Resources are a way to specify information of interest to program or packages.
Applications use resource files to specify and document the values of quantities or attributes of interest.

Resources can be loaded from or saved to resource files. Methods are provided to search, modify and create resources.

Packages use resources to hardwire in their code the default values for their attributes, along with documentation for the attibutes themselves.

Packages inherit resources when subclassed, and the resource names are updated dynamically to reflect a class hierarchy.

<<less
Download (0.018MB)
Added: 2007-05-10 License: Perl Artistic License Price:
899 downloads
Net::DNS::ZoneFile 1.04

Net::DNS::ZoneFile 1.04


Net::DNS::ZoneFile is a Perl extension to convert a zone file to a collection of RRs. more>>
Net::DNS::ZoneFile is a Perl extension to convert a zone file to a collection of RRs.

SYNOPSIS

use Net::DNS::ZoneFile;

my $rrset = Net::DNS::ZoneFile->read($filename[, $root]);

print $_->string . "n" for @$rrset;

my $rrset = Net::DNS::ZoneFile->readfh($fh[, $root]);

# OR

my $rrset = Net::DNS::ZoneFile->parse($ref_to_myzonefiletext[, $root]);

This module parses a zone file and returns a reference to an array of Net::DNS::RR objects containing each of the RRs given in the zone in the case that the whole zone file was succesfully parsed. Otherwise, undef is returned.

The zone file can be specified as a filename, using the ->read() method, or as a file handle, using the ->readfh() method. If you already have a scalar with the contents of your zone file, the most efficient way to parse it is by passing a reference to it to the ->parse() method.
The optional $root parameter, tells the module where to anchor $INCLUDE statements found in the zone data. It defaults to the current directory.

In case of error, undef will be returned.

The primitives $ORIGIN and $GENERATE are understood automatically.

Note that the text passed to ->parse() by reference, is copied inside the function to avoid modifying the original text. If this is not an issue, you can use ->_parse() instead, which will happily spare the performance penalty AND modify the input text.

<<less
Download (0.008MB)
Added: 2006-08-24 License: Perl Artistic License Price:
1157 downloads
TEKlib 1.04

TEKlib 1.04


TEKlib is a games operating system and cross-development SDK for games. more>>
TEKlib is a games operating system and cross-development SDK for games.

TEKlib is an open-source library and operating system effort under the terms of the free MIT software license. This project has a many of facets; it is a

virtual operating system that runs hosted on platforms such as Linux, Windows, BSD and MorphOS,
freestanding operating system on architectures such as the Playstation 2, where it runs on a thin layer of ROM calls,
middleware providing a constistent interface across all hosting environments,
component library in that it is not strictly limited to OS services,
development platform that comes with a cross-platform build system and documentation tools.

TEKlib was started around the year 1999 out of frustration from the ended lifecycle of the AmigaOS and the lack of a worthy successor for its most basic principle, excellence by simplicity. Today, TEKlib is a virtual operating system, distributed over a set of portable libraries. You can use it as your sole environment on the Playstation 2 (provided that you are hardcore enough); most people however will use it as a development platform under Linux or Windows.

By picking from its facilities, it can serve as

a games operating system and cross-development SDK for games and everything multimedia,
a hosting environment for libraries that depend on non-trivial features like plugins and threads, striving for portability and durability,
a virtual OS target as a backend for applications that would have to be ported to many individual hosts,
a toolkit to provide an extensible virtual filesystem,
an ubiquitous component architecture that allows plugins and their host to compile from the same source on all platforms,
a small and powerful replacement for standard C libraries in embedded applications.

TEKlib is both an architecture and component library. In short, it can be embedded into any kind of library and application, and conversely, any kind of library and application can be based on TEKlib.
<<less
Download (1.0MB)
Added: 2006-07-27 License: MIT/X Consortium License Price:
1184 downloads
Convert::Recode 1.04

Convert::Recode 1.04


Convert::Recode is a Perl module to make mapping functions between character sets. more>>
Convert::Recode is a Perl module to make mapping functions between character sets.

SYNOPSIS

use Convert::Recode qw(ebcdic_to_ascii);

while () {
print ebcdic_to_ascii($_);
}

The Convert::Recode module can provide mapping functions between character sets on demand. It depends on GNU recode to provide the raw mapping data, i.e. GNU recode must be installed first. The name of the mapping function is constructed by taking the names of the two charsets and joining them with the string "_to_". For example, if you want to convert between the "mac" and the "latin1" charsets, just import the mac_to_latin1() function.

If you prefix the function name with "strict_", any characters that cannot be mapped are removed during transformation. For instance, the strict_mac_to_latin1() function converts a string to latin1 and removes all mac characters that do not have a corresponding latin1 character.

Running the command recode -l should give you the list of available character sets.

<<less
Download (0.003MB)
Added: 2006-08-12 License: Perl Artistic License Price:
1168 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5