Text this: A bayesian approach to intention-based response generation