Document Classification Using Python Dictionaries