We explain how to use the API with wordnet. This is also useful when using OLA.
Different pieces of software are necessary for this integration:
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$"/>
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