AnnotationSpace

class graf.AnnotationSpace(as_id)[source]

A collection of Annotations. Each AnnotationSpace has a name (C{Str}) and a type (C{URI}) and a set of annotations.

__init__(as_id)[source]

Constructor for C{AnnotationSpace}

Parameters:
  • name – C{str}
  • type – C{str}
remove(ann)[source]

Remove the given C{Annotation} object.

Parameters:a – Annotation
remove_where(label, fs=None)[source]

Remove the C{Annotation}s with the given label in the given C{FeatureStructure}

Parameters:
  • label – C{str}
  • fs – C{FeatureStructure}