|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransToAnnoMap
TransToAnnoMap implementations define the relations between transcription elements (e.g. words) in a corpus and annotation elements defined on the transcription (e.g. dialogue acts or named entities).
The single most important class in this package is the
NTranscriptionView
class.
It has been designed to display speech transcriptions from a corpus of interactions, display extra
information annotated on these transcriptions (e.g. dialogue acts or adjacency pairs)
and provide a variety of GUI interface methods for selecting transcriptions and/or
annotations.
In order to know where in the transcription text a certain annotation element should be displayed and which annotation elements are bound to e.g. a selected word in the transcription, the relation between annotation elements and transcription should be defined. This relation is not always straightforward. Often it is just a parent-child or ancestor-descendant relation, but sometimes the relation is through complex pointer structures.
TransToAnnoMap implementations define this relation. A DisplayStrategy
uses this implementation to determine which Transcription elements (and therefore NTextElements)
should be decorated because they represent the transcription elements for an annotation elements.
TransToAnnoMap.hgfdasdfg
Method Summary | |
---|---|
java.util.Set |
getAnnotationElementsForTransElement(NOMElement nme)
Given an NOMElement, return all potential annotation elements related to it. |
java.util.Set |
getTransElementsForAnnotationElement(NOMElement nme)
Given ANY annotation element defined on a transcription, either directly or indirectly, return the transcripotion elements to which the element pertains. |
Method Detail |
---|
java.util.Set getTransElementsForAnnotationElement(NOMElement nme)
The effect of this method is very dependent on the application and the structure of the corpus.
java.util.Set getAnnotationElementsForTransElement(NOMElement nme)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |