AnnotationSpace

class graf.AnnotationSpace(as_id)

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

__init__(as_id)

Constructor for C{AnnotationSpace}

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

Remove the given C{Annotation} object.

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

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

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