Semantic Role Labeling Postprocessing script which uses the ESO ontology to decide which of the FrameNet predicates and roles are correct.
-
Python (this module has been tested with version 2.7.5) and the following module:
-
OWL format of the ESO ontology (version 0.6)
This module can be used for two purposes: analysis of SRL data and for postprocessing.
- Analysis
- clone the repository from guthub: https://github.com/newsreader/vua-srl-postprocess.
- In states.py, modify the path variable to point to the root location of the files.
- Execute:
python states.py
- Postprocessing
The postprocessing module should be executed with passing the input and the output file in NAF format, as follows:
main.py -i <inputfile> -o <outputfile>
The module expects the ESO ontology (named "ESO.owl") and the KafNafParser to exist in the same directory.
- Filip Ilievski
- VU University Amsterdam
- [email protected]
Software distributed under Apache License Version 2.0, January 2004. See LICENSE file for more details.