This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
OlderNewer