Non working implementation of feature spaces ported from unreleased chatbot