Update skipgram_word_embeddings.py

Redundant code line 159 and 161
This commit is contained in:
farizrahman4u 2015-09-25 11:14:53 +05:30
parent ca60201fe5
commit d5cd2687ed

@ -158,7 +158,7 @@ norm_weights = np_utils.normalize(weights)
word_index = tokenizer.word_index
reverse_word_index = dict([(v, k) for k, v in list(word_index.items())])
word_index = tokenizer.word_index
def embed_word(w):