Description Usage Arguments Examples
Perform Latent Semantic Analysis or lda on a corpus.
1 2 3 4 5 6 7 |
corpus |
A corpus, as returned vy |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
init_textanalysis()
# build document
doc1 <- string_document("First document. Another sentence")
doc2 <- string_document("Some example written here.")
doc3 <- string_document("This is a string document")
doc4 <- string_document("Yet another document for the corpus.")
crps <- corpus(doc1, doc2, doc3, doc4)
lsa(crps)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.