Skip to content

Commit

Permalink
Print phrases in paraphraser.py
Browse files Browse the repository at this point in the history
  • Loading branch information
kyeah committed May 12, 2015
1 parent 639e525 commit 7fc96d9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions paraphraser.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,9 @@ def rank_phrases():
else:
phrases = find_paraphrases_in_series(phrases, dicts)
paraphrases[phrase] = phrases

for key in paraphrases:
print "Phrase:", key
for phrase in paraphrases[key]:
print phrase
print ""

0 comments on commit 7fc96d9

Please sign in to comment.