Find synonyms of the vector representation of a word
Find synonyms of the vector representation of a word
vector representation of a word
number of synonyms to find
array of (word, cosineSimilarity)
Find synonyms of a word
Find synonyms of a word
a word
number of synonyms to find
array of (word, cosineSimilarity)
Current version of model save/load format.
Current version of model save/load format.
Returns a map of words to their vector representations.
Returns a map of words to their vector representations.
Save this model to the given path.
Save this model to the given path.
This saves:
The model may be loaded using Loader.load.
Spark context used to save model data.
Path specifying the directory in which to save this model. If the directory already exists, this method throws an exception.
Transforms a word to its vector representation
Transforms a word to its vector representation
a word
vector representation of word
Word2Vec model