The CSR format is a format for storing text analysis results, which is mainly developed for the AIDA (Active Interpretation of Disparate Alternatives) project.
This repository contains several toolkit for CSR analysis.
- csr defines the main format.
- csr2stuff
allows to convert CSR format to other formats.
- Brat annotation format (This is the format used by the
Brat (http://brat.nlplab.org) Annotation Tool). It allows one to view the
annotation in context.
python -m event.io.csr2stuff [csr_directory] [output_directory] [ontology in json_ld format]
- The ontology can be obtained here
- Brat annotation format (This is the format used by the
Brat (http://brat.nlplab.org) Annotation Tool). It allows one to view the
annotation in context.