#NEWLINE# def tagged_sents( self , fileids = None , categories = None , textids = None ) : #NEWLINE# #INDENT# ( fileids , textids ) = self . _resolve ( fileids , categories , textids ) #NEWLINE# if ( fileids is None ) : #NEWLINE# #INDENT# fileids = self . _fileids #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if isinstance ( fileids , compat . string_types ) : #NEWLINE# #INDENT# fileids = [ fileids ] #NEWLINE# #UNINDENT# #UNINDENT# if textids : #NEWLINE# #INDENT# return concat ( [ TEICorpusView ( self . abspath ( fileid ) , True , True , False , headLen = self . headLen , textids = textids [ fileid ] ) for fileid in fileids ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# return concat ( [ TEICorpusView ( self . abspath ( fileid ) , True , True , False , headLen = self . headLen ) for fileid in fileids ] )