Computes the vector representation of each word in vocabulary (Java version).
a JavaRDD of words
Computes the vector representation of each word in vocabulary.
an RDD of sentences, each sentence is expressed as an iterable collection of words
Sets initial learning rate (default: 0.025).
Sets the maximum length (in words) of each sentence in the input data.
Sets minCount, the minimum number of times a token must appear to be included in the word2vec model's vocabulary (default: 5).
Sets number of iterations (default: 1), which should be smaller than or equal to number of partitions.
Sets number of partitions (default: 1).
Sets random seed (default: a random long integer).
Sets vector size (default: 100).
Sets the window of words (default: 5)