@Component public class TigerTreeVisualizer extends AbstractImageVisualizer
Mappings:
The annotation names to be displayed in non terminal nodes can be set e.g. using
node_key:cat for an annotation called cat (the default), and similarly the edge labels
using edge_key:func for an edge label called func (the default). Instructions are
separated using semicolons.
With the mapping terminal_name and terminal_ns you can select span nodes with the
corresponding annotations as terminal elements instead of the default tokens.
| Modifier and Type | Class and Description |
|---|---|
class |
TigerTreeVisualizer.DefaultStyler |
| Modifier and Type | Field and Description |
|---|---|
static String |
TERMINAL_NAME_KEY |
static String |
TERMINAL_NS_KEY |
DEFAULT_VISUALIZER| Constructor and Description |
|---|
TigerTreeVisualizer() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
String |
getShortName()
Get the shorted name of the linguistic type of this visualizer ("partitur", "tree", etc.)
|
void |
writeOutput(VisualizerInput input,
OutputStream outstream) |
createComponentgetFilteredNodeAnnotationNames, isUsingRawText, isUsingText, setSegmentationLayer, setVisibleTokenAnnosVisiblepublic static final String TERMINAL_NAME_KEY
public static final String TERMINAL_NS_KEY
public TigerTreeVisualizer()
throws FontFormatException,
IOException
FontFormatExceptionIOExceptionpublic String getContentType()
getContentType in class AbstractImageVisualizerpublic String getShortName()
VisualizerPluginpublic void writeOutput(VisualizerInput input, OutputStream outstream)
writeOutput in class AbstractImageVisualizerCopyright © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.