Extensions to quanteda functions. You must have attached quanteda for these to work.
x | an object returned by |
---|---|
... | unused |
docnames(x)
returns the document names
ndoc(x)
returns the number of documents
ntoken(x, ...)
returns the number of tokens by document
ntype(x, ...)
returns the number of types (unique tokens) by document