A named list of dfm objects, where the first, dfm_0, is
the dfm from the original texts, and subsequent elements are the
sentence-resampled dfms.
Details
This code loops the creation of a dfm from a corpus, keeping a
constant set of features based on the original dfm. Resampling of the corpus
is done at the sentence level, within document.
# NOT RUN {txt <- c(textone = "This is a sentence. Another sentence. Yet another.",
texttwo = "Premiere phrase. Deuxieme phrase.")
bootstrap_dfm(txt, n = 3)
# }