public class HTMLExport extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
HTMLExport(Dataset data,
Class tagset) |
HTMLExport(Document doc,
Class tagset,
Annotation.Source source) |
HTMLExport(Iterable<Document> docs,
Class tagset) |
HTMLExport(Iterable<Document> docs,
Class tagset,
Annotation.Source expected) |
HTMLExport(Iterable<Document> docs,
Class tagset,
Annotation.Source expected,
Annotation.Source predicted) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
annotateDocumentLabels(Document doc,
Class<Tag> tagset) |
protected String |
annotateDocumentLabels(Document doc,
Class<Tag> tagset,
Annotation.Source source) |
protected String |
annotateDocumentLabelsDiff(Document doc,
Class<Tag> target) |
protected String |
annotateDocumentLabelsDiff(Document doc,
Class<Tag> target,
Annotation.Source expected,
Annotation.Source predicted) |
protected void |
appendDocumentLabels(Document doc,
Class<Tag> target,
Annotation.Source expected,
Annotation.Source predicted) |
protected void |
appendHeader() |
String |
getHTML() |
void |
saveHTML(Resource path,
String name) |
public HTMLExport(Document doc, Class tagset, Annotation.Source source)
public HTMLExport(Iterable<Document> docs, Class tagset, Annotation.Source expected)
public HTMLExport(Iterable<Document> docs, Class tagset, Annotation.Source expected, Annotation.Source predicted)
public String getHTML()
protected void appendDocumentLabels(Document doc, Class<Tag> target, Annotation.Source expected, Annotation.Source predicted)
protected String annotateDocumentLabelsDiff(Document doc, Class<Tag> target)
protected String annotateDocumentLabelsDiff(Document doc, Class<Tag> target, Annotation.Source expected, Annotation.Source predicted)
protected String annotateDocumentLabels(Document doc, Class<Tag> tagset, Annotation.Source source)
protected void appendHeader()
Copyright © 2020. All rights reserved.