public class AnnotationDiffExporter extends Object
Modifier and Type | Field and Description |
---|---|
protected Map<gate.util.AnnotationDiffer,List<gate.util.AnnotationDiffer.Pairing>> |
differs
Annotation Diff objects and the respective diff calculation results
|
protected gate.Document |
document
The document on which the annotation diff is performed
|
Constructor and Description |
---|
AnnotationDiffExporter(Map<gate.util.AnnotationDiffer,List<gate.util.AnnotationDiffer.Pairing>> differs,
gate.Document document,
String keySetName,
String respSetName)
Constructor
|
protected gate.Document document
public AnnotationDiffExporter(Map<gate.util.AnnotationDiffer,List<gate.util.AnnotationDiffer.Pairing>> differs, gate.Document document, String keySetName, String respSetName)
differs
- a map containing instance of AnnotationDiffer
objects (one for one annotation type) and a list of
AnnotationDiffer.Pairing objects - each referring to an
annotation in the document of that typedocument
- document on which the annotation diff is performed.keySetName
- name of the key annotation setrespSetName
- name of the response annotaiton setpublic void export(File destinationFile) throws IOException
destinationFile
- IOException