code: def test_ngrams_2_3(doc_long_en):
      result = kt.sgrank(doc_long_en, ngrams=(2, 3))
      assert len(result) > 0
      assert all(2 <= len(term.split()) <= 3 for term, _ in result)
  
file_path: textacy/tests/extract/keyterms/test_sgrank.py
imports: import pytest
  import textacy
  from textacy.extract import keyterms
label_desc: Use image node_id 4 for calling a global function with example usage: test_ngrams_2_3(doc_long_en) without return types