Make a table of where phrases appear in a corpus
Generate a n by p phrase count matrix, with n being number of documents and p being number of phrases: \tabularrrrrr 0 \tab 0 \tab 0 \tab 0 \tab 0 \cr 1 \tab 6 \tab 2 \tab 0 \tab 0 \cr 8 \tab 0 \tab 0 \tab 0 \tab 0 This is the phrase equivilent of a document-term matrix.
List of strings
A corpus object from tm package
a n X p matrix, n being number of documents, p being number of phrases.
1 2 3 4