These functions provide quanteda methods for readtext objects.
an object returned by spacy_parse, or (for
spacy_parse) a corpus object
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