UMLS::Similarity::ErrorHandler - Provides the error


UMLS-Similarity documentation  | view source Contained in the UMLS-Similarity distribution.

Index


NAME

Top

UMLS::Similarity::ErrorHandler - Provides the error handling of the configuration files for the measures in the UMLS-Similarity package.

DESCRIPTION

Top

This package provides the error handeling of the configuration files for the measures in the UMLS-Similarity package.

For more information please see the UMLS::Similarity.pm documentation.

SYNOPSIS

Top

  use UMLS::Interface;
  use UMLS::Similarity::ErrorHandler;

  my $umls = UMLS::Interface->new(); 
  die "Unable to create UMLS::Interface object.\n" if(!$umls);

  $errorhandler = UMLS::Similarity::ErrorHandler->new("lch", $umls);
  if(! defined $errorhandler) {
    print STDERR "The error handler did not get loaded properly.\n";
    exit;
  }
  else {
      print "This checks that the interface is set up for the measure. ";
      print "All looks good.\n\n";
  }

INSTALL

Top

To install the module, run the following magic commands:

  perl Makefile.PL
  make
  make test
  make install

This will install the module in the standard location. You will, most probably, require root privileges to install in standard system directories. To install in a non-standard directory, specify a prefix during the 'perl Makefile.PL' stage as:

  perl Makefile.PL PREFIX=/home/sid

It is possible to modify other parameters during installation. The details of these can be found in the ExtUtils::MakeMaker documentation. However, it is highly recommended not messing around with other parameters, unless you know what you're doing.

SEE ALSO

Top

http://tech.groups.yahoo.com/group/umls-similarity/

http://search.cpan.org/dist/UMLS-Similarity/

AUTHOR

Top

Bridget T McInnes <bthomson@cs.umn.edu> Ted Pedersen <tpederse@d.umn.edu>

COPYRIGHT

Top


UMLS-Similarity documentation  | view source Contained in the UMLS-Similarity distribution.