O'Reilly logo
  • Kyaw Moe Aung thinks this is interesting:

With the transformation of the corpus completed, the next step is to create either a Document-Term Matrix (DTM) or Term-Document Matrix (TDM). What either of these matrices do is create a matrix of word counts for each individual document in the matrix. A DTM would have the documents as rows and the words as columns, while in a TDM, the reverse is true. The text mining can be performed on either matrix.

From

Cover of Mastering Machine Learning with R

Note

Differences of TDM and DTM.