as.matrix.textmodel_wordvector | R Documentation |
Extract word vectors from a textmodel_wordvector
or textmodel_docvector
object.
## S3 method for class 'textmodel_wordvector'
as.matrix(x, normalize = TRUE, ...)
x |
a |
normalize |
if |
... |
not used. |
a matrix that contain the word vectors in rows.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.