text_plain_output_1.png
import pke

import re

import re
ml_ftxt = re.sub('\\n', ' ', ml_ftxt)
ml_ftxt = ml_ftxt.translate(str.maketrans(' ', ' ', '!"#$%&\'()*+-/:;<=>?@[\\]^_`{|}~'))
ml_ftxt = re.sub('[A-Za-z0-9]*@[A-Za-z]*\\.?[A-Za-z0-9]*', '', ml_ftxt)

extractor = pke.unsupervised.TextRank()
extractor.load_document(input=ml_ftxt)
extractor.candidate_selection()
extractor.candidate_weighting()
keyphrases2 = extractor.get_n_best(n=9)

TextRank = []
for i, j in keyphrases2:
    TextRank.append(i)

TextRank