Skip to content

Instantly share code, notes, and snippets.

@peterk
Created October 20, 2015 11:45
Show Gist options
  • Save peterk/b1f263f71ae6a0fce43e to your computer and use it in GitHub Desktop.
Save peterk/b1f263f71ae6a0fce43e to your computer and use it in GitHub Desktop.
import sys
from os import listdir
from os.path import isfile, join
import os
import re
import gensim, logging
model = gensim.models.Word2Vec.load("gensim2.model")
model.most_similar(positive=['skola', 'vuxen'], negative=['elev'])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment