def get_summary(sentence_ranking, sentence_number=3):
    """Return summary based on sentence ranking. Summary length can be changed by `sentence_number`."""
    sorted_scores = sorted(sentence_ranking.values(), reverse=True)
    summary_scores = sorted_scores[:sentence_number]

    return " ".join([str(sentence) for sentence, score in sentence_ranking.items() if score in summary_scores])