Text this: Dynamic bayesian networks in Classification-and-Ranking Architecture of Response Generation