Hello to all.
I am trying to run WordNet Similarity so that I can use the data from
the measures to interface with an existing implementation in PHP
(don't even no where I am going to start yet with that) but for the
moment I would like to get the basics running.
Running windows XP
have installed wordnet and perl
relevant files have been unzipped to C:\Program Files\WordNet\2.1
so within directory I have folders for
Text-Similarity-0.07
WordNet-QueryData-1.45
WordNet-Similarity-1.04
have run the make files in order of
Text-Similarity-0.07
WordNet-QueryData-1.45
WordNet-Similarity-1.04
When I run the makefile for WordNet-Similarity-1.04
I get an Warning: Text-Similarity-0.02 not found
I ignore this and choose the query option at the prompt
Would you like to generate and install default data files?
I subsequently get the error:
You will be asked before each data file is installed.
Checking WordNet::QueryData ... Not able to open /usr/local/
WordNet-2.1/dict/nou
n.exc or /usr/local/WordNet-2.1/dict\noun.exc: No such file or
directory at C:/P
erl/lib/WordNet/QueryData.pm line 317, <STDIN> line 1.
The WordNet::Similarity module installer determines the location of
WordNet from the WNHOME environment variable. If the WNHOME
environment variable has not been set, either set it, or specify the
location of your WordNet installation using the WNHOME option.
I have read a number of FAQs and basically tried a number of
solutions.
Set the environment variable in windows and WNHOME in the similarity
makefile and QueryData.pm file.. to no avail.
I have also copied the QueryData.pm to C:\Perl\lib\WordNet something I
was never told to do anywhere in the Ted Pedersen page
http://search.cpan.org/dist/WordNet-Similarity/
I have also copied Similarity directories from Text and WordNet to C:
\Perl\bin\Text and C:\Perl\bin\WordNet
so I am a little bit lost and would appreciate some help.