code: def term_spans(doc_en):
      return list(textacy.extract.ngrams(doc_en, 2))
  
file_path: textacy/tests/extract/test_extract_utils.py
imports: import pytest
  import textacy
  from textacy.extract import utils
label_desc: Use image node_id 2 for calling a global function with example usage: term_spans(doc_en) and returns: list