Xiaorong

I haven't used the two WordNet Perl modules very much, but I do know that
both require a bit of work to install. The following are some of my notes
from last year when I installed the modules (Some things may have changed
since then. WordNet 2.1 is out now for Windows, but not yet for Linux/Unix.
My notes pertain to a Linux install):

You need to install the Wordnet 2.0 program first (which is written in C, I
believe, before installing either of the Perl modules. It's available from
http://www.cogsci.princeton.edu/~wn/) 

Be sure to read the INSTALL file, which asks you to edit the Makefile
program as follows:

Choose Linux as the op system, and tell the installer to put the program in 
        /usr/local/WordNet-2.0

Then you simply type:

        make BinWorld 

To do the complete install.

When installing Lingua::Wordnet, be *sure* to read the README -- it's vital!
Among other things, you have to run a program called convertdb.pl to convert
all your Wordnet-2.0 databases so Lingua::Wordnet can work with them (It
creates a lot of Perl hashes). You also have to change part of Wordnet.PM so
it can find your newly created Perl databases. I changed line 17 to say:

$DICTDIR = '/usr/lib/Lingua-Wordnet0.73/lingua-wordnet/';

so that the program could find the Perl databases. Then I was able to run
the test file tree.pl in the scripts subdirectory of Lingua-Wordnet0.73.
When running this test file, note that you have to enter a word ("car") and
then a part of speech. This has to be of the form "n", not "noun", e.g.

There's a nice article in the Perl Journal about WordNet at
http://www.brians.org/Projects/Technology/Papers/Wordnet/

Other papers on Wordnet are at:
http://www.cogsci.princeton.edu/~wn/papers.shtml
 
-- Chris Morgan


-----Original Message-----
From: xiaorong xiang [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 16, 2005 2:49 PM
To: perl4lib@perl.org
Subject: WordNet perl modules

Hi!

This is Xiaorong working in the University of Notre Dame Library. There are
two perl modules for WordNet:

1. WordNet-QueryData-1.37 written by Dan Brian 2. Lingua-Wordnet written
byJason Rennie

Does any one have any experimence on these two modules? Which one do you
think is better?

Thanks for your advices.

Xiaorong

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



-----Original Message-----
From: xiaorong xiang [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 16, 2005 2:49 PM
To: perl4lib@perl.org
Subject: WordNet perl modules

Hi!

This is Xiaorong working in the University of Notre Dame Library. There are
two perl modules for WordNet:

1. WordNet-QueryData-1.37 written by Dan Brian 2. Lingua-Wordnet written
byJason Rennie

Does any one have any experimence on these two modules? Which one do you
think is better?

Thanks for your advices.

Xiaorong

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-----Original Message-----
From: xiaorong xiang [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 16, 2005 2:49 PM
To: perl4lib@perl.org
Subject: WordNet perl modules

Hi!

This is Xiaorong working in the University of Notre Dame Library. There are
two perl modules for WordNet:

1. WordNet-QueryData-1.37 written by Dan Brian 2. Lingua-Wordnet written
byJason Rennie

Does any one have any experimence on these two modules? Which one do you
think is better?

Thanks for your advices.

Xiaorong

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


-----Original Message-----
From: xiaorong xiang [mailto:[EMAIL PROTECTED] 
Sent: Monday, May 16, 2005 2:49 PM
To: perl4lib@perl.org
Subject: WordNet perl modules

Hi!

This is Xiaorong working in the University of Notre Dame Library. There are
two perl modules for WordNet:

1. WordNet-QueryData-1.37 written by Dan Brian 2. Lingua-Wordnet written
byJason Rennie

Does any one have any experimence on these two modules? Which one do you
think is better?

Thanks for your advices.

Xiaorong

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/



Reply via email to