def _default_feature_extractor(words):
 return dict(((word, True) for word in words))

def _default_feature_extractor ( words ) : return dict ( ( ( word , True ) for word in words ) )
default feature extractor for the naivebayesanalyzer .