These functions provide quanteda methods for readtext objects.

Arguments

x

an object returned by spacy_parse, or (for spacy_parse) a corpus object

...

not used for these functions

Details

texts(x) returns the texts from a readtext object

docnames(x) returns the document names from a readtext object

ndoc(x) returns the number of documents from a readtext object