Created
April 18, 2020 20:29
-
-
Save luisfredgs/6055a6b6146fd341c2c2ec9be607d138 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
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