code: def _extract_content(tag: Span) -> Span:
      start = None
      end = None
      for token in tag:
          if _is_content(token):
              if start is None:
                  start = token.i
              end = token.i + 1
          else:
              break
      assert start is not None and end is not None
      return Span(tag.doc, start, end)
  
file_path: camphr/packages/camphr_knp/camphr_knp/noun_chunker.py
imports: from typing import Iterable, List, Optional, Tuple
  import spacy
  from spacy.tokens import Doc, Span, Token
  from .consts import KNP_USER_KEYS
label_desc: Use image node_id 10 for calling a global function with example usage: _extract_content(tag) and returns: Span