code: def test_text_model_params():
      assert isinstance(
          text2mat(
              data,
              semantic={
                  "model": "LatentDirichletAllocation",
                  "params": {"learning_method": "batch"},
              },
              corpus=data,
          )[0],
          np.ndarray,
      )
  
file_path: hypertools/tests/test_text2mat.py
imports: import numpy
  from hypertools.tools import text2mat
  from sklearn.decomposition import LatentDirichletAllocation
label_desc: Use image node_id 7 for calling a global function with example usage: test_text_model_params() without return types