code: def test_callable_args(self, doc_en):
      results = list(
          extract.terms(
              doc_en,
              ngs=lambda doc: extract.ngrams(doc, n=2),
              ents=extract.entities,
              ncs=extract.noun_chunks,
          )
      )
      assert results
      assert all(isinstance(result, Span) for result in results)
  
imports: import collections
  import pytest
  from spacy.tokens import Span, Token
  from textacy import extract
  from textacy.extract import basics
label_desc: Use image node_id 3 for calling the TestTerms obj's underlying member method code with example usage: obj.test_callable_args(doc_en) without return types