converted language feature extractor to use custom subclass of dict which performs feature union