code: def test_feats_from_spacy_doc_only_chunks(self):
      doc = whitespace_nlp_with_fake_chunks(
          "This is a fake noun chunk generating sentence."
      )
      term_freq = FeatsFromSpacyDocOnlyNounChunks().get_feats(doc)
      self.assertEqual(term_freq, Counter({"this is": 1, "is a": 1}))
  
imports: import re
  from collections import Counter
  from unittest import TestCase
  from scattertext import whitespace_nlp
  from scattertext.WhitespaceNLP import Tok, Doc, _regex_parse_sentence, whitespace_nlp_with_sentences
  from scattertext.features.FeatsFromSpacyDoc import FeatsFromSpacyDoc
  from scattertext.features.FeatsFromSpacyDocOnlyNounChunks import FeatsFromSpacyDocOnlyNounChunks
label_desc: Use image node_id 4 for calling the TestFeatsFromSpacyDoc obj's underlying member method code with example usage: obj.test_feats_from_spacy_doc_only_chunks() without return types