code: def get_all_named_entities(nlp_doc):
      return list(map(lambda tok: tok.text, nlp_doc.ents))
  
file_path: responsible-ai-toolbox/nlp_feature_extractors/nlp_feature_extractors/attribute_extractors.py
imports: import pkg_resources
  from negspacy.negation import Negex
  from raiutils.dataset import fetch_dataset
label_desc: Use image node_id 6 for calling a global function with example usage: get_all_named_entities(nlp_doc) and returns: list