code: def _install_extensions():
      K = KNP_USER_KEYS
      Token.set_extension(K.morph.element, default=None, force=True)
      for k in ["bunsetsu", "tag"]:
          Token.set_extension(
              getattr(K.morph, k), getter=token_to_knp_span(k)
          )
      for k in ["bunsetsu", "morph", "tag"]:
          for feature in ["element", "list_"]:
              key = getattr(getattr(K, k), feature)
              Span.set_extension(key, default=None, force=True)
      for k in ["bunsetsu", "morph", "tag"]:
          for feature in ["spans", "list_"]:
              key = getattr(getattr(K, k), feature)
              Doc.set_extension(
                  key,
                  getter=get_all_knp_features_from_sents(k, feature),
                  force=True,
              )
      for k in [BUNSETSU, TAG]:
          Span.set_extension(
              getattr(KNP_USER_KEYS, k).spans, getter=get_knp_span(k)
          )
          Span.set_extension(
              getattr(KNP_USER_KEYS, k).parent, getter=get_knp_parent(k)
          )
          Span.set_extension(
              getattr(KNP_USER_KEYS, k).children,
              getter=get_knp_children(k),
          )
  
imports: import functools
  import re
  from typing import Any, Callable, Dict, Iterable, Iterator, List, Optional, Tuple
  import spacy
  from spacy.language import Language
  from spacy.tokens import Doc, Span, Token
  from spacy.util import filter_spans
  from toolz import curry
  from typing_extensions import Literal
  from camphr.consts import JUMAN_LINES
  from camphr.utils import get_juman_command
  from .consts import KNP_USER_KEYS
  from .noun_chunker import knp_noun_chunker
label_desc: Use image node_id 13 for calling a global function with example usage: _install_extensions() without return types