Text this: Design of an emotion-based controller for dynamical systems