Annotation
>
Region
>
Interval
Definition
|
An annotation over an interval of two-dimensional primary data, either a text or a video or audio stream. An Interval may be defined by pointing directly into primary data (by using start and end offsets) or by linking to one or more other Annotations with the targets property. This annotation type is intended to be an abstract type and typically one of the sub types will be used.
|
URI
|
http://mmif.clams.ai/0.1.0/vocabulary/Interval
|
Metadata
Metadata from Region
Property
|
Type
|
Description
|
unit
|
String
|
The unit used to determine boundaries. For text regions this is typically *offsets* to indicate character offsets, for images this is could be *pixels*, and for audio or video streams *seconds*, *milliseconds*, *timestamps* or *frames*.
|
Metadata from Annotation
Property
|
Type
|
Description
|
medium
|
ID
|
The identifier of the medium that the annotation is over.
[Required]
|
Properties
Property
|
Type
|
Description
|
start
|
Integer
|
The starting offset in the primary data. What unit is used is determined by the *unit* metadata property.
|
end
|
Integer
|
The ending offset in the primary data. What unit is used is determined by the *unit* metadata property.
|
targets
|
List of IDs
|
IDs of a sequence of annotations covering the region of primary data referred to by this annotation. Used as an alternative to *start* and *end* to point to component annotations (for example a token sequence) rather than directly into primary data, or to link two or more annotations (for example in a coreference annotation).
|
Properties from Annotation
Property
|
Type
|
Description
|
id
|
ID
|
A unique identifier for the annotation. Uniqueness is relative to the view the annotation is in.
[Required]
|