Web-based responsive document annotation tool
activeannoservice / document.annotation / SpanTargetAnnotation
data class SpanTargetAnnotation : Annotation<SpanTarget>
All annotation values for a single AnnotationDefinition on a span target are represented by a SpanTargetAnnotation. For example, a document might have spans of positive and negative sentiment. All annotations regarding sentiment would be stored in a single SpanTargetAnnotation, holding a list of annotations of which each defines the spans concering the annotation as well as the actual value, in this case POSITIVE or NEGATIVE sentiment.
| Name | Summary |
|---|---|
| <init> | All annotation values for a single AnnotationDefinition on a span target are represented by a SpanTargetAnnotation. For example, a document might have spans of positive and negative sentiment. All annotations regarding sentiment would be stored in a single SpanTargetAnnotation, holding a list of annotations of which each defines the spans concering the annotation as well as the actual value, in this case POSITIVE or NEGATIVE sentiment.SpanTargetAnnotation(annotations: Set<SpanTargetSingleAnnotation>) |
| Name | Summary |
|---|---|
| annotations | val annotations: Set<SpanTargetSingleAnnotation> |