WordnetInterface Installation Instructions
For WordnetInterface 2.0.1 (Linguistic Watermark 2.0)
- If you have not yet done so, download and install WordNet.
- Download the
LinguisticWatermark package and the Wordnet Interface
- Copy all the content of this zip file, which are:
inside your working directory
- In the WordnetInterface folder, you will find file_properties.xml; you must modify this file to:
- specify the path to the "dict" directory of your Wordnet installation (e.g. d:\Linguistic_Resources\WordNet\2.0\dict),
this can be done by editing the value attribute of the xml tag, as in the following example:
- specify the version of wordnet you are using (1.6, 1.7.X, 2.0 only. 2.1 not supported yet, sorry :-) ).
- the dictionary reader; under the property dictionary_element_factory, select:
- net.didion.jwnl.princeton.data.PrincetonWN17FileDictionaryElementFactory if working with wordnet 2.0 or 1.7
- net.didion.jwnl.princeton.data.PrincetonWN16FileDictionaryElementFactory if working with wordnet 1.6
- In file_properties.xml you must specify the path to the "dict" directory of your Wordnet installation (e.g. d:\Linguistic_Resources\WordNet\2.0\dict);
this can be done by editing the value attribute of the xml tag:
- Set the LinguisticInterfaceJar property of Ontoling plugin.properties file to:
(you can find a precompiled copy of this file in the WordnetInterface folder, so you just need to move it to Ontoling root directory: it.uniroma2.info.ai-nlp.ontoling )
The Linguistic Watermark graphic configuration utility can be used for
properly setting the WordNet Interface according to the version of WordNet available in
your computer and on its position in your hard drive. Anyway, the instructions
below refer to the xml Linguistic Watermark configuration file.
Below are represented the interface and a instances sections of the
Linguistic Watermark configuration file (see Linguistic Watermark
User Manual for details):
the interface section for WordNet needs no particular configuration (there is
no property associated to the declaration of the WordNet Interface), while, in
the instances sections
where is file_properties.xml"
a single property (jwnl_properties) is necessary, pointing to the property
file which is used by the JWNL to access a specific WordNet vocabulary.
This way, it is possible to prepare different properties files and access the
proper one depending on the version of WordNet which is needed at the time.
THIRD PARTY LIBRARIES INCLUDED IN THE WORDNET-INTERFACE RELEASE:
the WordnetInterface release includes the following third party libraries:
has been developed by the Apache Software Foundation (http://www.apache.org/)
JWNL (Java Wordnet Library) which was architected by John Didion,
and the majority of the code written by him.
He can be contacted at firstname.lastname@example.org.