'Keyword extraction wrapper'

def nlp(self):

    self.throw_if_not_downloaded_verbose()
    self.throw_if_not_parsed_verbose()
    text_keyws = list(nlp.keywords(self.text).keys())
    title_keyws = list(nlp.keywords(self.title).keys())
    keyws = list(set((title_keyws + text_keyws)))
    self.set_keywords(keyws)
    max_sents = self.config.MAX_SUMMARY_SENT
    summary_sents = nlp.summarize(title=self.title, text=self.text, max_sents=max_sents)
    summary = '\n'.join(summary_sents)
    self.set_summary(summary)
