Skip to content

Instantly share code, notes, and snippets.

@SemantiveCode
Last active April 29, 2021 20:11
Show Gist options
  • Select an option

  • Save SemantiveCode/4ac22bcce30b3fed58c4af7e1be83f38 to your computer and use it in GitHub Desktop.

Select an option

Save SemantiveCode/4ac22bcce30b3fed58c4af7e1be83f38 to your computer and use it in GitHub Desktop.
import nltk
import gensim
text = requests.get('http://rare-technologies.com/the_matrix_synopsis.txt').text
gensim_summary = gensim.summarization.summarize(text)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment