Trends in Natural Language Generation: an Artificial Intelligence Perspective