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.4.2 as class variables.

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

mmif.vocabulary.document_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.4.2 as class variables.

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