Python, NLP, Numpy, Scikit Learn.
import BaseEstimator, TransformerMixin from time import time class SciKitTransformer(BaseEstimator, TransformerMixin): def fit(self, X=None, y=None): return self def transform(self, X=None): return self Basic Example Based upon earlier articles, the NLTK PlaintextCorpusReader will be reused. Here