Implemented ContextFeatureGenerator