#NEWLINE# def __init__( self , train_set , feature_extractor = basic_extractor , format = None , **kwargs ) : #NEWLINE# #INDENT# super ( NLTKClassifier , self ) . __init__ ( train_set , feature_extractor , format , ** kwargs ) #NEWLINE# self . train_features = [ ( self . extract_features ( d ) , c ) for ( d , c ) in self . train_set ]