|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
DisplayStrategy | DisplayStrategy implementations are used as delegates to display information annotated on speech transcriptions in a NTranscriptionView. |
TranscriptionToTextDelegate | Implementations of this interface will derive the text representation for elements from the transcription layer. |
TransToAnnoMap | TransToAnnoMap implementations define the relations between transcription elements (e.g. |
Class Summary | |
---|---|
AbstractDisplayStrategy | This class provides a basic implementation of the DisplayStrategy interface. |
DefaultTransToAnnoMap | The default implementation of TransToAnnoMap depends on a straightforward parent-child relation between annotation elements and transcription text. |
NTranscriptionView | NTranscriptionView is a text pane used for customizable display of annotated speech transcripts, also providing flexible selection behaviour. |
OntologyColourDisplayStrategy | SLIGHTLY GENERIC A trick: given an ontology, an element is displayed in the colour determined by its first pointer to an element in that ontology. |
StringInsertDisplayStrategy | This DisplayStrategy implementation shows annotation elements in the transcription text by inserting text before the first and/or after the last NTextElement that is related to the annotation element. |
TextStyleDisplayStrategy | This DisplayStrategy implementation shows annotation elements in the transcription text by changing the style (font, color, etc) of the text. |
This package supports displaying transcriptions of observations, including any annotations that have been created on top of the transcriptions. The main elements of functionality in the package are:
NTranscriptionView
class can be parametrized to display these transcriptions in several ways, possibly
based on existing segmentations of the transcription.
DisplayStrategy
implementations.
NTranscriptionView
.
A table with a complete overview of the classes in this packages can be found below.
NTranscriptionView
|
Main class of this package. A descendant of JTextPane/NTextArea that can be parametrized to display speech transcriptions and annotations defined on these transcriptions. | |
Which transcription elements should be displayed? |
setTranscriptionLayer setSegmentationElementName setdisplaySegments |
|
How to display the speech elements? (text, attribute, or anything else) |
setTranscriptionDisplayDelegate Display of transscription elements default: use text content otherwise: use implementation of delegate (list delegate classes for this) |
|
DisplayStrategy
|
A delegate interface. Implementations of this interface are used to determine how a particular type of annotation element defined on the transcriptions should be displayed. | |
TextStyleDisplayStrategy
|
This display strategy visualizes annotation elements of a certain type by changing the text style (italic, bold, etc) of all speech text related to the annotation element. | |
StringInsertDisplayStrategy
|
This display strategy visualizes annotation elements of a certain type by inserting cusomizable text before and/or after the speech text related to that annotation element. |
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |