ahmeshaf / coreference_and_annotations

A single repository to do both Coreference Resolution and Machine-assisted Coreference Annotations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Coreference Resolution and Annotations

A single repository to do both Coreference Resolution and Machine-assisted Coreference Annotations

Event and Entity Coreference Resolution

An experimental setup to run event and entity coreference resolution on LDC datasets.

Prerequisites

Datasets

Contact: shah7567@colorado.edu Annotations: Source:

Python requirements

pip install -r requirements.txt

Running the pipeline

python ./coreference/coref.py --ann path_to_annotation_folder --source path_to_source_folder -t tmp_folder -m evt
usage: coref.py [-h] [--ann ANN] [--source SOURCE] [--tmp_folder TMP_FOLDER] [--men_type MEN_TYPE]

Run and evaluate cross-document coreference resolution on LDC Annotations

optional arguments:
  -h, --help            show this help message and exit
  --ann ANN, -a ANN     Path to the LDC Annotation Directory
  --source SOURCE, -s SOURCE
                        Path to the LDC Source Directory
  --tmp_folder TMP_FOLDER, -t TMP_FOLDER
                        Path to a working directory
  --men_type MEN_TYPE, -m MEN_TYPE
                        Mention type for coreference. Either evt or ent

About

A single repository to do both Coreference Resolution and Machine-assisted Coreference Annotations


Languages

Language:Python 54.9%Language:Perl 45.1%