Learn R Programming

VectrixDB (version 1.1.2)

load_word_vectors: Load word vectors into memory

Description

Loads pre-trained word vectors from a file

Usage

load_word_vectors(path, max_words = NULL, normalize = TRUE)

Value

WordVectors object

Arguments

path

Path to word vectors file (GloVe .txt or word2vec .bin)

max_words

Maximum number of words to load (NULL for all)

normalize

Normalize vectors to unit length