#NEWLINE# def __init__( self , root , fileids , columntypes , chunk_types = None , root_label = 'S' , pos_in_tree = False , srl_includes_roleset = True , encoding = 'utf8' , tree_class = Tree , tagset = None ) : #NEWLINE# #INDENT# for columntype in columntypes : #NEWLINE# #INDENT# if ( columntype not in self . COLUMN_TYPES ) : #NEWLINE# #INDENT# raise ValueError ( ( 'Bad column type %r' % columntype ) ) #NEWLINE# #UNINDENT# #UNINDENT# if isinstance ( chunk_types , compat . string_types ) : #NEWLINE# #INDENT# chunk_types = [ chunk_types ] #NEWLINE# #UNINDENT# self . _chunk_types = chunk_types #NEWLINE# self . _colmap = dict ( ( ( c , i ) for ( i , c ) in enumerate ( columntypes ) ) ) #NEWLINE# self . _pos_in_tree = pos_in_tree #NEWLINE# self . _root_label = root_label #NEWLINE# self . _srl_includes_roleset = srl_includes_roleset #NEWLINE# self . _tree_class = tree_class #NEWLINE# CorpusReader . __init__ ( self , root , columntype , encoding ) #NEWLINE# self . _tagset = tagset