Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am anadahalli on github.
  • I am anadahalli (https://keybase.io/anadahalli) on keybase.
  • I have a public key ASAJKx5XgYVinGp5lb0CQk1Ft70KXCqQZOAErcK5cJ7kLwo

To claim this, I am signing this object:

@anadahalli
anadahalli / analyze_gutenberg.py
Created October 19, 2017 18:39 — forked from sangheestyle/analyze_gutenberg.py
Analyzing books in gutenberg with LDA
import logging
import os
import zipfile
import multiprocessing
from subprocess import call
from gensim.corpora.textcorpus import TextCorpus
from gensim.corpora import Dictionary, MmCorpus
from gensim.models import TfidfModel
from gensim import utils