mmif.vocabulary module
Module contains Enum-like classes for CLAMS vocabulary.
- class mmif.vocabulary.ThingType(type_uri: str)[source]
Bases:
TypesBase
This class contains the topmost CLAMS thing type defined in the spec version 1.0.5 as a class variable.
- class mmif.vocabulary.ClamsTypesBase(type_uri, fuzzymode=True)[source]
Bases:
TypesBase
Base class for CLAMS vocabulary types. Main This class adds handling of MMIF specification versions in initializer and comparators.
- class mmif.vocabulary.AnnotationTypesBase(type_uri, fuzzymode=True)[source]
Bases:
ClamsTypesBase
Inherit from this class to build your own custom annotation vocabularies.
- class mmif.vocabulary.DocumentTypesBase(type_uri, fuzzymode=True)[source]
Bases:
ClamsTypesBase
Inherit from this class to build your own custom document vocabularies.
- class mmif.vocabulary.AnnotationTypes(type_uri, fuzzymode=True)[source]
Bases:
AnnotationTypesBase
This class contains the CLAMS annotation types defined in the spec version 1.0.5 as class variables.
- class mmif.vocabulary.DocumentTypes(type_uri, fuzzymode=True)[source]
Bases:
DocumentTypesBase
This class contains the CLAMS document types defined in the spec version 1.0.5 as class variables.