mmif.vocabulary module

mmif.vocabulary.annotation_types module

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

Bases: mmif.vocabulary.base_types.AnnotationTypesBase

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

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

mmif.vocabulary.document_types module

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

Bases: mmif.vocabulary.base_types.DocumentTypesBase

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

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