code: def test_build_doc_term_matrix(tokenized_docs):
      result = representations.build_doc_term_matrix(tokenized_docs)
      assert isinstance(result, tuple) and len(result) == 2
      dtm, vocab_terms = result
      assert isinstance(dtm, sp.csr_matrix)
      assert isinstance(vocab_terms, dict)
  
imports: import pytest
  import scipy.sparse
  from textacy import extract, representations
label_desc: Use image node_id 3 for calling a global function with example usage: test_build_doc_term_matrix(tokenized_docs) without return types