mmif.vocabulary module

mmif.vocabulary.annotation_types module

class mmif.vocabulary.annotation_types.AnnotationTypes(type_uri: str)[source]

Bases: AnnotationTypesBase

This class contains the CLAMS annotation types defined in the spec version 0.3.1 as class variables.

Alignment = http://mmif.clams.ai/0.3.1/vocabulary/Alignment[source]
Annotation = http://mmif.clams.ai/0.3.1/vocabulary/Annotation[source]
BoundingBox = http://mmif.clams.ai/0.3.1/vocabulary/BoundingBox[source]
Chapter = http://mmif.clams.ai/0.3.1/vocabulary/Chapter[source]
Interval = http://mmif.clams.ai/0.3.1/vocabulary/Interval[source]
Polygon = http://mmif.clams.ai/0.3.1/vocabulary/Polygon[source]
Region = http://mmif.clams.ai/0.3.1/vocabulary/Region[source]
Relation = http://mmif.clams.ai/0.3.1/vocabulary/Relation[source]
Span = http://mmif.clams.ai/0.3.1/vocabulary/Span[source]
TimeFrame = http://mmif.clams.ai/0.3.1/vocabulary/TimeFrame[source]
TimePoint = http://mmif.clams.ai/0.3.1/vocabulary/TimePoint[source]
VideoObject = http://mmif.clams.ai/0.3.1/vocabulary/VideoObject[source]
version: str[source]

mmif.vocabulary.media_types module

class mmif.vocabulary.document_types.DocumentTypes(type_uri: str)[source]

Bases: DocumentTypesBase

This class contains the CLAMS document types defined in the spec version 0.3.1 as class variables.

AudioDocument = http://mmif.clams.ai/0.3.1/vocabulary/AudioDocument[source]
Document = http://mmif.clams.ai/0.3.1/vocabulary/Document[source]
ImageDocument = http://mmif.clams.ai/0.3.1/vocabulary/ImageDocument[source]
TextDocument = http://mmif.clams.ai/0.3.1/vocabulary/TextDocument[source]
VideoDocument = http://mmif.clams.ai/0.3.1/vocabulary/VideoDocument[source]
version: str[source]