NLP - Word Embeddings
Identify the error in this code snippet for loading embeddings:
embedding = {}
for line in open('embed.txt'):
word, vector = line.split()
embedding[word] = list(map(float, vector))