code: def test_filter(self, doc_en):
      result = list(
          extract.words(
              doc_en,
              filter_stops=True,
              filter_punct=True,
              filter_nums=True,
          )
      )
      assert not any(tok.is_stop for tok in result)
      assert not any(tok.is_punct for tok in result)
      assert not any(tok.like_num for tok in result)
  
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 2 for calling the TestWords obj's underlying member method code with example usage: obj.test_filter(doc_en) without return types