as.matrix.textmodel_wordvector: Extract word vectors
Description
Extract word vectors from a textmodel_wordvector
or textmodel_docvector
object.
Usage
# S3 method for textmodel_wordvector
as.matrix(x, ...)
Value
a matrix that contain the word vectors in rows
Arguments
- x
a textmodel_wordvector
or textmodel_docvector
object.
- ...
not used