weights: [experimental] Extract word vector weights
Description
[experimental] Extract word vector weights
Usage
weights(x, mode = c("words", "values"))Value
a matrix of word vector weights when mode = "value" or of
words sorted in descending order by the weights when mode = "word".
Arguments
- x
a textmodel_wordvector object.
- mode
specify the type of resulting object.