Created
October 20, 2015 11:45
-
-
Save peterk/b1f263f71ae6a0fce43e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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