code: def test_n_polysyllable_words(doc, words, min_n_syllables, n_exp):
      n_polysyllable_words = basics.n_polysyllable_words(
          doc, lang="en", min_n_syllables=min_n_syllables
      )
      n_polysyllable_words_by_words = basics.n_polysyllable_words(
          words, lang="en", min_n_syllables=min_n_syllables
      )
      assert n_polysyllable_words == n_exp
      assert n_polysyllable_words == n_polysyllable_words_by_words
  
file_path: textacy/tests/text_stats/test_basics.py
imports: import pytest
  from textacy import extract
  from textacy import make_spacy_doc
  from textacy.text_stats import basics
label_desc: Use image node_id 11 for calling a global function with example usage: test_n_polysyllable_words(doc, words, min_n_syllables, n_exp) without return types