code: def get_feats(self, doc):
      """
      Parameters
      ----------
      doc, Spacy Docs
  
      Returns
      -------
      Counter noun chunk -> count
      """
      return Counter([str(c).lower() for c in doc.noun_chunks])
  
imports: from collections import Counter
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
label_desc: Use image node_id 1 for calling the FeatsFromSpacyDocOnlyNounChunks obj's underlying member method code with example usage: obj.get_feats(doc) and returns: Counter