Last chance! 50% off unlimited learning
Sale ends in
bootstrap_dfm(x, n = 10, ..., verbose = quanteda_options("verbose"))
dfm
TRUE
print status messagesdfm_0
, is
the dfm from the original texts, and subsequent elements are the
sentence-resampled dfms.txt <- c(textone = "This is a sentence. Another sentence. Yet another.",
texttwo = "Premiere phrase. Deuxieme phrase.")
bootstrap_dfm(txt, n = 3)
Run the code above in your browser using DataLab