nilsreiter / CorefAnnotator

Annotation tool for coreference
Apache License 2.0
31 stars 6 forks source link

TEI export for multiple files #242

Closed pagelj closed 4 years ago

pagelj commented 5 years ago

It would be nice to have an export option into TEI for multiple files, without necessarily opening them

nilsreiter commented 4 years ago

This is now integrated as a command line tool. If CorefAnnotator-1.12.0-full.jar is the application file, it can be started using

java -cp CorefAnnotator-1.12.0-full.jar de.unistuttgart.ims.coref.annotator.tools.ExportMultipleFiles

The help screen shows command line options to specify:

Usage: ExportMultipleFiles options
    [--help -h] : Show help
    --input -i value... : Input file or directory.
    [--outputDirectory -o value] : Output directory. Defaults to current.
    [--outputFilename value] : Output filename origin. One of [input, documentId].
    [--outputFormat value] : Target format. One of [tei, conll2012, json].