Using the Alignment API with Wordnet

We explain how to use the API with wordnet. This is also useful when using OLA.

Getting the required software

Different pieces of software are necessary for this integration:

Alignment API
as well as the OWL API are necessary. Its lib directory contains the alignwn.jar file.
Wordnet
version 2.0 is used.
The Java WordNet Library (JWNL)
whose jar-file should be put in the same directory as alignwn.jar.
Apache common-loggings
commons-logging.jar should be put there as well.

Installing wordnet and configuring

First Wordnet must be compiled if this is not already done. This will depend on your distribution and will not be further detailed here.

Once installed, Wordnet usually has a "dict" directory whose path is $WNDIR.

Running

This usually can be obtained by:

$ setenv CWD `pwd`
$ java -jar lib/alignwn.jar -Dwndict=$WNDIR file://$CWD/examples/rdf/edu.umbc.ebiquity.publication.owl file://$CWD/examples/rdf/edu.mit.visus.bibtex.owl -i fr.inrialpes.exmo.align.ling.JWNLAlignment -o examples/rdf/JWNL.rdf

http://alignapi.gforge.inria.fr/alignwn.html

$Id: alignwn.html 469 2007-04-25 08:44:06Z euzenat $