Skip to content

Instantly share code, notes, and snippets.

karanparikh /
Created Oct 1, 2015
Script to analyze blog posts I wrote
from sys import argv
from os import listdir
from re import split
from collections import Counter
class Post(object):
def __init__(self, title, content):
self.title = title
self.content = map(lambda w: w.lower(), content)