These functions provide quanteda methods for readtext objects.
x | an object returned by |
---|---|
... | not used for these functions |
texts(x)
returns the texts from a readtext object
docnames(x)
returns the document names from a readtext object
docvars(x, field = NULL)
returns a data.frame of the document variables
from a readtext object
ndoc(x)
returns the number of documents from a readtext object