This repository contains the source code for the paper "Fine-grained quotation detection and attribution in German news articles" by Fynn Petersen-Frey & Chris Biemann published at KONVENS 2024. Implementation based on Seq2seqCoref.
mamba env create -f env.yml --solver=libmamba
mamba activate seq2seq-quotations
Available at https://github.com/uhh-lt/german-news-quotation-attribution-2024
- Download and untar a model (see Pre-trained models)
- Place plain-text files to process in a folder
- Create an empty directory for temporary files
- Create an empty directory for final output
- Activate the correct python environment (see setup)
- Execute below command:
python predict.py <input-dir> <temp-processing-dir> <model-dir> <output-dir>