ft_word_vectors {fastTextR} | R Documentation |
Get Word Vectors
Description
Obtain word vectors from a previously trained model.
Usage
ft_word_vectors(model, words)
Arguments
model |
an object inheriting from |
words |
a character vector giving the words. |
Value
a matrix containing the word vectors.
Examples
## Not run:
ft_word_vectors(model, c("word", "vector"))
## End(Not run)
[Package fastTextR version 2.1.0 Index]