def __init__(self, fname='data/korean_word2vec', dim=300):
self.dim = dim
try:
# load saved model
print('Loading korean word2vec model')
self.model = word2vec.Word2Vec.load(fname)
except:
print(':: There is no word2vec model')
评论列表
文章目录