class_docstr: A dict-like proxy held by the Doc, to control access to span groups.
class_docstr_tok: ["A","dict-like","proxy","held","by","the","Doc",",","to","control","access","to","span","groups","."]
code: def __init__(
      self, doc: "Doc", items: Iterable[Tuple[str, SpanGroup]] = tuple()
  ) -> None:
      self.doc_ref = weakref.ref(doc)
      UserDict.__init__(self, items)
  
file_path: spaCy/spacy/tokens/_dict_proxies.py
imports: import warnings
  import weakref
  from collections import UserDict
  from typing import TYPE_CHECKING, Dict, Iterable, List, Optional, Tuple, Union
  import srsly
  from ..errors import Errors, Warnings
  from .span_group import SpanGroup
label_desc: Use image node_id 1 to create a new SpanGroups object from inherited base classes: UserDict with example: obj = SpanGroups(doc, items)