Text this: Classification-and-Ranking Architecture Based on Intentions for Response Generation Systems