Commit 093e5928 authored by Tomasz Walkowiak's avatar Tomasz Walkowiak

small modification

parent 4215795e
......@@ -43,9 +43,9 @@ class EmbedRankWorker(nlp_ws.NLPWorker):
file = open(outputFile, 'w')
file.write('[')
for idx in range(len(keywords)):
element_dict = {'keyword': keywords[idx], 'score': keywords[idx]}
element_dict = {'keyword': keywords[idx], 'score': scores[idx]}
file.write(str(element_dict)+', ')
file.write(']')
file.close()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment