LexRank for ranking documents containing some keyword or keyphrase using cosine similarities of either naive, tfidf, or idf-modified-cosine. LexRank can be used on a singular document without searching keywords or keyphrases as well, provided the document is not too long (not more than ~1,000-1,500 lines).