word_ids | R Documentation |
This shortcut function returns the numeric indices of specific words in the model's vocabulary (corresponding to column indices in the topic-word matrix).
word_ids(m, words)
m |
a |
words |
character vector of words to find indices of |
numeric vector of indices into the vocabulary
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.