class_docstr: Node in an intent-slot tree, representing either an intent or a slot.
  
  Attributes:
      label (str): Label of the node.
      span (Span): Span of the node.
      children (:obj:`set` of :obj:`Node`): Children of the node.
code: def __init__(
      self,
      label: str,
      span: Span,
      children: Optional[AbstractSet["Node"]] = None,
      text: str = None,
  ) -> None:
      object.__setattr__(self, "label", label)
      object.__setattr__(self, "span", span)
      object.__setattr__(
          self, "children", children if children is not None else set()
      )
      object.__setattr__(self, "text", text)
  
imports: from typing import AbstractSet, Any, NamedTuple, Optional
label_desc: Use image node_id 1 to create a new Node object  with example: obj = Node(label, span, children, text)