def textrank(text, summarize_by=SENTENCE, ratio=0.2, words=None):
    if (summarize_by == SENTENCE):
        return summarize(text, ratio, words)
    else:
        return keywords(text, ratio, words)
def textrank(text, summarize_by=SENTENCE, ratio=0.2, words=None):
    if (summarize_by == SENTENCE):
        return summarize(text, ratio, words)
    else:
        return keywords(text, ratio, words)