#NEWLINE# def __init__( self , words = [ ] , tags = [ ] , chunks = [ ] , roles = [ ] , taxa = [ ] , optional = False , multiple = False , first = False , taxonomy = TAXONOMY , exclude = None , custom = None ) : #NEWLINE# #INDENT# ' A range of words, tags and taxonomy terms that matches certain words in a sentence.        \n            For example: \n            Constraint.fromstring("with|of") matches either "with" or "of".\n            Constraint.fromstring("(JJ)") optionally matches an adjective.\n            Constraint.fromstring("NP|SBJ") matches subject noun phrases.\n            Constraint.fromstring("QUANTITY|QUALITY") matches quantity-type and quality-type taxa.\n        ' #NEWLINE# self . index = 0 #NEWLINE# self . words = list ( words ) #NEWLINE# self . tags = list ( tags ) #NEWLINE# self . chunks = list ( chunks ) #NEWLINE# self . roles = list ( roles ) #NEWLINE# self . taxa = list ( taxa ) #NEWLINE# self . taxonomy = taxonomy #NEWLINE# self . optional = optional #NEWLINE# self . multiple = multiple #NEWLINE# self . first = first #NEWLINE# self . exclude = words #NEWLINE# self . custom = custom