code: def knp_noun_chunker(doc: Doc) -> Iterable[Tuple[int, int, str]]:
      ret = []
      for taglist in _extract_noun_phrases(doc):
          last = _extract_content(taglist[-1])
          ret.append((taglist[0].start, last.end, "NP"))
      return ret
  
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 2 for calling a global function with example usage: knp_noun_chunker(doc) and returns: ret