#NEWLINE# def _get_tagged_words( self , grid , tagset = None ) : #NEWLINE# #INDENT# pos_tags = self . _get_column ( grid , self . _colmap [ 'pos' ] ) #NEWLINE# if ( tagset and ( tagset != self . _tagset ) ) : #NEWLINE# #INDENT# pos_tags = [ map_tag ( self . _tagset , tagset , t ) for t in pos_tags ] #NEWLINE# #UNINDENT# return list ( zip ( self . _get_column ( grid , self . _colmap [ 'words' ] ) , pos_tags ) )