'A simple shallow parser using a Brill-based part-of-speech tagger.
The given lexicon is a dictionary of known words and their part-of-speech tag.
The given default tags are used for unknown words.
Unknown words that start with a capital letter are tagged NNP (except for German).
Unknown words that contain only digits and punctuation are tagged CD.
The given language can be used to discern between
Germanic and Romance languages for phrase chunking.'

def __init__(self, lexicon={}, default=(u'NN', u'NNP', u'CD'), language=None):

    self.lexicon = lexicon
    self.default = default
    self.language = language
