INSTALL - installation instructions


NAME

INSTALL - installation instructions


SYNOPSIS

    perl Makefile.PL
    make
    make test
    make install


DESCRIPTION

Dependencies

Two modules are required by WordNet::SenseRelate::AllWords:

    WordNet::QueryData
    WordNet::Similarity

Both modules are available from CPAN.

This module also requires that WordNet be installed. WordNet is a machine-readable dictionary and can be downloaded from http://cogsci.princeton.edu/~wn/.

Detailed Installation Instructions

Before installing this library, the dependencies listed above must first be resolved.

If you have superuser (root) access, you should be able to install WordNet::SenseRelate::AllWords by following these simple steps:

    perl Makefile.PL
    make
    make test  # optional, but recommended
    su         # or sudo, as the case may be
    make install

If you need to install this distribution in your local user account because you lack superuser privileges, then the recommended method on Unix-like systems (Linux, Solaris, Cygwin) is as follows:

    perl Makefile.PL PREFIX=~/senserelate LIB=~/lib
    make
    make test
    make install

This will install the executable scripts into ~/senserelate/bin, the man pages in ~/senserelate/man, and the libraries into ~/lib. You will need to set your PERL5LIB variable to point to the LIB directory.

In bash:

    export PERL5LIB=~/lib

In csh or tcsh:

    setenv PERL5LIB ~/lib

Add these lines to your .bashrc, .bash_profile, or .cshrc files as the case may be.