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. The file_properties.xml provided with jwnl must be put in the current directory with the "dictionary_path" parameter set to the path of this dict directory:

<param name="dictionary_path" value="$dict$"/>

Running

This usually can be obtained by:

$ setenv CWD `pwd`
$ java -jar lib/procalign.jar file://localhost$CWD/rdf/edu.umbc.ebiquity.publication.owl file://localhost$CWD/rdf/edu.mit.visus.bibtex.owl -i fr.inrialpes.exmo.align.ling.JWNLAlignmentTest -o aligns/JWNL.owl

http://co4.inrialpes.fr/align/alignwn.html

$Id: alignwn.html,v 1.1 2005/05/26 14:49:44 euzenat Exp $