Skip to content

Instantly share code, notes, and snippets.

@adaptives
adaptives / lexicon.py
Created October 4, 2011 11:54
LPTHW Exercise 49
class LexiconC(object):
def __init__(self):
#constants
# TODO: Can we make these as constants so they can be accessed from out side the class with just the class name ?
self.C_DIRECTION_WORDS = "direction"
self.C_VERBS = "verb"
self.C_STOP_WORDS = "stop"
self.C_NOUNS = "noun"
self.C_NUMBER = "number"