@Component public class CorefVisualizer extends WriterVisualizer
It is possible to use this visualization to view entire texts even if you do not have coreference annotations.
Mappings:
Implementation notes: This code relies heavily on HTML-tables and has some logic that is difficult to understand. A GWT-based rewrite would be a good alternative.
DEFAULT_VISUALIZER| Constructor and Description |
|---|
CorefVisualizer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getShortName()
Get the shorted name of the linguistic type of this plugin ("partitur", "tree", etc.)
|
boolean |
isUsingText()
Return if this visualizer is using the complete text.
|
void |
writeOutput(VisualizerInput input,
Writer w)
writes Output for the CorefVisualizer
|
writeOutputcreateComponent, getCharacterEncoding, getContentTypegetFilteredNodeAnnotationNames, isUsingRawText, setSegmentationLayer, setVisibleTokenAnnosVisiblepublic String getShortName()
ResourcePluginpublic boolean isUsingText()
AbstractVisualizerisUsingText in interface VisualizerPluginisUsingText in class AbstractVisualizerpublic void writeOutput(VisualizerInput input, Writer w)
writeOutput in class WriterVisualizerwriter - writer to write withCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.