code: def expand_noun(tok: Token) -> list[Token]:
      """Expand a noun token to include all associated conjunct and compound nouns."""
      tok_and_conjuncts = [tok] + list(tok.conjuncts)
      compounds = [
          child
          for tc in tok_and_conjuncts
          for child in tc.children
          # TODO: why doesn't compound import from spacy.symbols?
          if child.dep_ == "compound"
      ]
      return tok_and_conjuncts + compounds
  
file_path: textacy/src/textacy/extract/triples.py
imports: from __future__ import annotations
  import collections
  from operator import attrgetter
  from typing import Iterable, Mapping, Optional, Pattern
  from cytoolz import itertoolz
  from spacy.symbols import AUX, VERB, agent, attr, aux, auxpass, csubj, csubjpass, dobj, neg, nsubj, nsubjpass, obj, pobj, xcomp
  from spacy.tokens import Doc, Span, Token
  from ..None import constants, types, utils
  from .None import matches
label_desc: Use image node_id 4 for calling a global function with example usage: expand_noun(tok) and returns: unknown