mmif.vocabulary module

mmif.vocabulary.annotation_types module

class mmif.vocabulary.annotation_types.AnnotationTypes(type_uri, fuzzymode=True)[source]

Bases: AnnotationTypesBase

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

Alignment = http://mmif.clams.ai/vocabulary/Alignment/v1[source]
Annotation = http://mmif.clams.ai/vocabulary/Annotation/v3[source]
BoundingBox = http://mmif.clams.ai/vocabulary/BoundingBox/v2[source]
Chapter = http://mmif.clams.ai/vocabulary/Chapter/v3[source]
Interval = http://mmif.clams.ai/vocabulary/Interval/v2[source]
Polygon = http://mmif.clams.ai/vocabulary/Polygon/v2[source]
Region = http://mmif.clams.ai/vocabulary/Region/v2[source]
Relation = http://mmif.clams.ai/vocabulary/Relation/v2[source]
Span = http://mmif.clams.ai/vocabulary/Span/v2[source]
TimeFrame = http://mmif.clams.ai/vocabulary/TimeFrame/v3[source]
TimePoint = http://mmif.clams.ai/vocabulary/TimePoint/v2[source]
VideoObject = http://mmif.clams.ai/vocabulary/VideoObject/v2[source]
prop_aliases = {'BoundingBox': {'label': {'boxType', 'label'}}, 'TimeFrame': {'label': {'frameType', 'label'}}}[source]
typevers = {'Alignment': 'v1', 'Annotation': 'v3', 'BoundingBox': 'v2', 'Chapter': 'v3', 'Interval': 'v2', 'Polygon': 'v2', 'Region': 'v2', 'Relation': 'v2', 'Span': 'v2', 'TimeFrame': 'v3', 'TimePoint': 'v2', 'VideoObject': 'v2'}[source]
version: str[source]

mmif.vocabulary.document_types module

class mmif.vocabulary.document_types.DocumentTypes(type_uri, fuzzymode=True)[source]

Bases: DocumentTypesBase

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

AudioDocument = http://mmif.clams.ai/vocabulary/AudioDocument/v1[source]
Document = http://mmif.clams.ai/vocabulary/Document/v1[source]
ImageDocument = http://mmif.clams.ai/vocabulary/ImageDocument/v1[source]
TextDocument = http://mmif.clams.ai/vocabulary/TextDocument/v1[source]
VideoDocument = http://mmif.clams.ai/vocabulary/VideoDocument/v1[source]
typevers = {'AudioDocument': 'v1', 'Document': 'v1', 'ImageDocument': 'v1', 'TextDocument': 'v1', 'VideoDocument': 'v1'}[source]
version: str[source]