gensim.similarities.WmdSimilarity.__init__

WmdSimilarity.__init__(corpus, w2v_model, num_best=None, normalize_w2v_and_replace=True, chunksize=256)[source]

corpus: List of lists of strings, as in gensim.models.word2vec. w2v_model: A trained word2vec model. num_best: Number of results to retrieve. normalize_w2v_and_replace: Whether or not to normalize the word2vec vectors to

length 1.