Created
December 21, 2020 16:42
-
-
Save HeenaR17/710d5b3ca5ffc39a0f4c97fc781c9752 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
keywords = [["winter"], ["man"], ["king"]] | |
for w in keywords: | |
word = w[0] | |
print("Word: "+word) | |
vector = word2vec.get_vector(word) | |
print("Vector length: {}".format(len(vector))) | |
print(vector) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment