Description Usage Arguments Value See Also Examples
Computes the number of words in each document that are read
via read_docs
.
1 | calc_doc_lengths(docs)
|
docs |
a list of documents |
a list of document lengths
Other lda data preprocessing methods: read_docs
,
vectorize_docs
1 2 3 | documents <- read_docs('bop.ldac');
ds <- vectorize_docs(documents);
doc.N <- calc_doc_lengths(documents)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.