Description Usage Arguments Value Examples
Runs an R implementation of the top2vec model as described here: https://arxiv.org/abs/2008.09470. The R implementation is very similar to the original Python implementation which can be found here: https://github.com/ddangelov/Top2Vec
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
x |
A 'data.frame' object with columns 'doc_id' and 'text' storing document ids and texts as character vectors |
dim |
Integer value defining the length of embedding vectors |
An object of class ...
1 | topic_words <- top2vecr(x)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.