mmif.vocabulary module
mmif.vocabulary.annotation_types module
- class mmif.vocabulary.annotation_types.AnnotationTypes(value)[source]
Bases:
AnnotationTypesBase
This enum contains the URIs for the MMIF annotation types defined in the spec version 0.3.1. Use this to quickly get the correct URIs for those types, or use the objects themselves in your code and they will serialize to the strings.
mmif.vocabulary.media_types module
- class mmif.vocabulary.document_types.DocumentTypes(value)[source]
Bases:
DocumentTypesBase
This enum contains the URIs for the MMIF document types defined in the spec version 0.3.1. Use this to quickly get the correct URIs for those types, or use the objects themselves in your code and they will serialize to the strings.