def mock_data(n_items=1000, dim=1000, prob_nnz=0.5, lam=1.0):
 data = [mock_data_row(dim=dim, prob_nnz=prob_nnz, lam=lam) for _ in xrange(n_items)]
 return data

def mock_data ( n_items = 1000 , dim = 1000 , prob_nnz = 0.5 , lam = 1.0 ) : data = [ mock_data_row ( dim = dim , prob_nnz = prob_nnz , lam = lam ) for _ in xrange ( n_items ) ] return data
create a random gensim-style corpus .