code: def get_non_date_numerics(nlp_doc):
      return list(
          map(
              lambda tok: tok.text,
              filter(
                  lambda tok: tok.label_
                  in [
                      "TIME",
                      "PERCENT",
                      "MONEY",
                      "QUANTITY",
                      "ORDINAL",
                      "CARDINAL",
                  ],
                  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 5 for calling a global function with example usage: get_non_date_numerics(nlp_doc) and returns: list