Awesome
GermEval2017
Use this script to check the format of your submission file and determine the performance w.r.t a gold labels file (e.g. on a held out portion of the training data to gauge your system's performance).
How to use the script?
The executable jar can be used to evaluate all subtasks (relevance, sentiment, category and OTE) and both tsv and xml submissions. Run the executable jar using " java -jar EvaluationScript.jar relevance GOLDLABEL.xml YOUR_PREDICTION.xml " if you want to evaluate xmls. and " java -jar EvaluationScript.jar relevance GOLDLABEL.tsv YOUR_PREDICTION.tsv " Instead of of "relevance" type sentiment, category or OTE to evaluate these attributes.
How to compile?
Although the script is built in java and therefore platform independent, you may want to build your own executable jar from the sources. This can be done with maven ("mvn clean install"). If you want to change java compatibility of the jar, alter the version specified in the maven compiler plugin to your preferred java version. The sources have been tested for java 7 and 8 (we use 7 in the current version).
License
This work is licensed under Attribution-NonCommercial 2.0 Generic license (CC BY-NC 2.0) (https://creativecommons.org/licenses/by-nc/2.0/)
You are free to:
-
Share — copy and redistribute the material in any medium or format
-
Adapt — remix, transform, and build upon the material
Under the following terms:
-
Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
-
NonCommercial — You may not use the material for commercial purposes.