This repository contains the releases of the Open Dutch WordNet. The releases are in XML format following the WordNet-LMF format:
Wordnet‐LMF: A Standard Representation for Multilingual Wordnets. LMF Lexical Markup Framework, 51-66.
The Referentie Bestand Nederlands inforamtion is captured in the LMF part as lexical units and the wordnet structure (synsets and synset relations) is capture in the Wordnet part. The releases can be downloaded from resources odwn:
Releases:
- Version 1.4: odwn_orbn_gwg-LMF_1.4.xml.gz (includes additional synset relations)
- Version 1.3: odwn_orbn_gwg-LMF_1.3.xml.gz (includes manual annotations)
- Version 1.2: odwn_orbn_gwg-LMF_1.2.xml.gz (automatic translation of English synsets)
- Version 1.1: odwn_orbn_gwg-LMF_1.1.xml.gz (automatic mapping)
- Version 0: odwn_orbn_gwg-LMF.xml.gz (export of public datat from Cornetto database and linking to WordNet3.0)
When using the data please cite:
Postma, M., Van Miltenburg, E., Segers, R., Schoen, A., & Vossen, P. (2016, January).
Open dutch wordnet. In Proceedings of the 8th Global WordNet Conference (GWC) (pp. 302-310).
This repo also provides a python module to work with the Open Dutch WordNet XML. Please first check the Issues to see if your question has already been answered. It was created using python 3.4. The most recent version (1.3) of the resource can be found here. Three pdf files in this repository document the resource:
- odwn_documentation.pdf: technical report of the creation of version 1.0
- gwc2016_odwn13.pdf: paper accepted at the Global WordNet Conference 2016
- slides_gwc2016_odwn13.pdf: slides from presentating odwn at the Global WordNet Conference 2016
If you make use of the resource and/or this repository, please cite the following reference:
@InProceedings{Postma:Miltenburg:Segers:Schoen:Vossen:2016, author = "Marten Postma and Emiel van Miltenburg and Roxane Segers and Anneleen Schoen and Piek Vossen", title = "Open {Dutch} {WordNet}", booktitle = "Proceedings of the Eight Global Wordnet Conference", year = 2016, address = "Bucharest, Romania", }
##USAGE AND INSTALL git clone this repository.
The python module 'lxml' is needed. Hopefully, 'pip install lxml' will do the trick. If you prefer using a virtual environment, everything should be installed by calling 'bash install.sh' in the module directory. Don't forget to source your virtual environment each time you use the module.
Epydoc was used to document the code (http://epydoc.sourceforge.net/). The documentation can be found here. The general idea of the module is that it consists of a lot of classes which are inherited by the main class 'Wn_grid_parser'.
python
>>> from OpenDutchWordnet import Wn_grid_parser
#please check the attribute LICENSE before using this module
>>> print(Wn_grid_parser.LICENSE)
#the attribute 'odwn' stores the path to the most recent version
>>>print(Wn_grid_parser.odwn)
#example of how to use module
>>> instance = Wn_grid_parser(Wn_grid_parser.odwn)
>>> le_el = instance.les_find_le("havenplaats-n-1")
>>> le_el.get_id()
'havenplaats-n-1'
>>> le_el.get_lemma()
'havenplaats'
>>> le_el.get_pos()
'noun'
>>> le_el.get_sense_id()
'o_n-109910434'
>>> le_el.get_provenance()
'cdb2.2_Auto'
>>> le_el.get_synset_id()
'eng-30-08633957-n'
>>> synset_el = instance.synsets_find_synset('eng-30-00324560-v')
>>> synset_el.get_id()
'eng-30-00324560-v'
>>> synset_el.get_ili()
'i23355'
>>> relation_el = synset_el.get_relations("has_hyperonym")[0]
>>> relation_el.get_provenance()
'pwn'
>>> relation_el.get_reltype()
'has_hyperonym'
>>> relation_el.get_target()
'eng-30-00322847-v'
- Piek Vossen (piek.vossen@vu.nl)