The most challenging tasks in natural language processing are natural language understanding and natural language generation. This article focuses on the latter, giving an example of how you might teach your conversational application to respond properly to its users. Of course, you will not find here a universal solution that covers all possible cases and can be implemented with just…