Loads vectors for a vocabulary from word2vec, with OOV words having random vectors generated for them.
Reads the vectors in words from the given word2vec path and augments with a bias feature if necessary.
Reads the vectors in words from the given word2vec path and augments with a bias feature if necessary. The returned map does not include entries for words that are not in the w2v file.
Loads vectors from one or more sources in word2vecPaths; these might be in word2vec format (should end in .bin) or C+W/Bansal format (should end in .txt).
Loads vectors from one or more sources in word2vecPaths; these might be in word2vec format (should end in .bin) or C+W/Bansal format (should end in .txt).
For each word, vectors are appended from each source. If at least one source is present, others are zeroes. Otherwise, it gets a random vector.