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

Alignment = http://mmif.clams.ai/vocabulary/Alignment/v1
Annotation = http://mmif.clams.ai/vocabulary/Annotation/v6
BoundingBox = http://mmif.clams.ai/vocabulary/BoundingBox/v5
Chapter = http://mmif.clams.ai/vocabulary/Chapter/v6
Interval = http://mmif.clams.ai/vocabulary/Interval/v5
NamedEntity = http://mmif.clams.ai/vocabulary/NamedEntity/v1
NounChunk = http://mmif.clams.ai/vocabulary/NounChunk/v1
Paragraph = http://mmif.clams.ai/vocabulary/Paragraph/v1
Polygon = http://mmif.clams.ai/vocabulary/Polygon/v5
Region = http://mmif.clams.ai/vocabulary/Region/v5
Relation = http://mmif.clams.ai/vocabulary/Relation/v5
Sentence = http://mmif.clams.ai/vocabulary/Sentence/v1
Span = http://mmif.clams.ai/vocabulary/Span/v5
TimeFrame = http://mmif.clams.ai/vocabulary/TimeFrame/v6
TimePoint = http://mmif.clams.ai/vocabulary/TimePoint/v5
Token = http://mmif.clams.ai/vocabulary/Token/v1
VerbChunk = http://mmif.clams.ai/vocabulary/VerbChunk/v1
VideoObject = http://mmif.clams.ai/vocabulary/VideoObject/v5

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

AudioDocument = http://mmif.clams.ai/vocabulary/AudioDocument/v1
Document = http://mmif.clams.ai/vocabulary/Document/v1
ImageDocument = http://mmif.clams.ai/vocabulary/ImageDocument/v1
TextDocument = http://mmif.clams.ai/vocabulary/TextDocument/v1
VideoDocument = http://mmif.clams.ai/vocabulary/VideoDocument/v1