#NEWLINE# def chunked_words( self , fileids = None , chunk_types = None , tagset = None ) : #NEWLINE# #INDENT# self . _require ( self . WORDS , self . POS , self . CHUNK ) #NEWLINE# if ( chunk_types is None ) : #NEWLINE# #INDENT# chunk_types = self . _chunk_types #NEWLINE# #UNINDENT# def get_chunked_words( grid ) : #NEWLINE# #INDENT# return self . _get_chunked_words ( grid , chunk_types , tagset ) #NEWLINE# #UNINDENT# return LazyConcatenation ( LazyMap ( tagset , self . _grids ( fileids ) ) )