Key and response:
- key: expected output
- response: system output
The folder dev_corpora contains six folders:
- factuality: factuality data
- ne: named entity data
- e: entity data
- coref_ne: named entity coreference
- coref_event: event coreference
- coref: named entity and event coreference
The scripts scoring NED, NERC and Factuality make use of numpy and pytest. They are tested on Python 2.7.
- Put your response files in one flat directory (dev corpus and test corpus will be provided in this repository)
- Make sure the files in the response directory have the same name as those in key directory (otherwise, they will be ignored)
- Response and key files need to be in the CONLL 2011 format
- A response file needs to be provided for each key file.
- Run the
score-XXX.py
orscore-XXX.sh
script from the command line. Run each script without commands to see information about how to run the script.
Reports are written to default stdout
and stderr
.
bash score_coref.sh coref_ne key response measurement
The development key folder can be found at: /dev_corpora/coref_ne
.
The measurement is always: blanc
.
bash score_coref.sh coref_event key response measurement
The development key folder can be found at: /dev_corpora/coref_event
.
The measurement is always: blanc
.
bash score_coref.sh coref key response measurement
The development key folder can be found at: /dev_corpora/coref
.
The measurement is always: blanc
.
python score_nerc.py key response
python score_ned.py key response
python score_factuality.py key response