Skip to content

Instantly share code, notes, and snippets.

@luisfredgs
Created April 18, 2020 20:29
Show Gist options
  • Save luisfredgs/6055a6b6146fd341c2c2ec9be607d138 to your computer and use it in GitHub Desktop.
Save luisfredgs/6055a6b6146fd341c2c2ec9be607d138 to your computer and use it in GitHub Desktop.
summary=[]
for sent,strength in sentence_rank.items():
if strength in top_sent:
summary.append(sent)
else:
continue
for i in summary:
print(i,end=" ")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment