| download_word_vectors | R Documentation |
Downloads GloVe or fastText word vectors
download_word_vectors(model = "glove-100", dest_dir = NULL, overwrite = FALSE)
model |
Model to download: "glove-50", "glove-100", "glove-200", "glove-300", "glove-twitter-25", "glove-twitter-50", "glove-twitter-100", "glove-twitter-200" |
dest_dir |
Destination directory (default: user cache) |
overwrite |
Overwrite existing files |
Path to the downloaded vectors file
## Not run:
# Download 100-dimensional GloVe vectors (~130MB)
path <- download_word_vectors("glove-100")
# Use with Vectrix
db <- Vectrix$new("docs", model = "glove", model_path = path)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.