powered by
Downloads GloVe or fastText word vectors
download_word_vectors(model = "glove-100", dest_dir = NULL, overwrite = FALSE)
Path to the downloaded vectors file
Model to download: "glove-50", "glove-100", "glove-200", "glove-300", "glove-twitter-25", "glove-twitter-50", "glove-twitter-100", "glove-twitter-200"
Destination directory (default: user cache)
Overwrite existing files
if (FALSE) { # Download 100-dimensional GloVe vectors (~130MB) path <- download_word_vectors("glove-100") # Use with Vectrix db <- Vectrix$new("docs", model = "glove", model_path = path) }
Run the code above in your browser using DataLab