Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
undertherain committed Apr 24, 2018
1 parent 9c2b3cd commit b2ed762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vsmlib/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ def filter_by_vocab(self, words):
new_embds.matrix = np.array(lst_new_vectors, dtype=np.float32)
new_embds.vocabulary.metadata = {}
new_embds.vocabulary.metadata["cnt_words"] = i
new_embds.vocabulary.metadata["transform"] = "reudced by wordlist"
new_embds.vocabulary.metadata["transform"] = "reduced by wordlist"
new_embds.vocabulary.metadata["original"] = self.vocabulary.metadata
new_embds.metadata = self.metadata
new_embds.metadata["vocabulary"] = new_embds.vocabulary.metadata
Expand Down

0 comments on commit b2ed762

Please sign in to comment.