weights | R Documentation |
[experimental] Extract word vector weights
weights(x, mode = c("words", "values"))
x |
a |
mode |
specify the type of resulting object. |
a matrix
of word vector weights when mode = "value"
or of
words sorted in descending order by the weights when mode = "word"
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.